LPRINT
From QB64 Wiki
The LPRINT statement sends string text or numerical values to a parallel port(LPT1) printer in Qbasic or a USB printer in QB64.
- LPRINT [text$] [{;|,}]
Description:
- expressionList is one or more expressions separated by a semi-colon (;) or comma (,).
- Syntax is the same as PRINT, but cannot use a port number.
- Program does not have to OPEN the LPT1: parallel port. In fact that is NOT recommended!
- Assumes a 80 character wide page unless a WIDTH LPRINT statement is used.
- LPRINT USING can print formatted data to a page, similar to PRINT USING.
- COLORed text and images can be printed using _PRINTIMAGE which stretches them to fit the default printer's paper size.
- LPRINT will only print to the DEFAULT USB or LPT printer that works in Windows.
- WIDTH LPRINT is currently NOT supported in QB64!
- Keyword Not Supported in Linux or MAC versions
See also:
- LPRINT USING, _PRINTIMAGE (prints color images)
- PRINT, PRINT USING