LPRINT <String>

LPRINT Outputs text to the printer at the current printer coordinates. The output of LPRINT is affected by current printer font,  the foreground and background colours which can be set through the PRINTER INK command.


If the y-coordinate lies beyond the bottom of the page then a new page in the printed document will be forced.


LPRINT is the PRINTER equivalent of the PRINT command, however it is not legal syntax to pass multiple variable parameters to the LPRINT command as it is with the print command.


Note LPRINT is called LPRINT for familiarity reasons with older version of basic. The L in LPRINT is the L in LPT printer port, which are now becoming rarer.