LPRINT [@(col,row)|%(h,v)] [itemList]
This statement sends a line of text to the printer. The
%(h,v) options specify where on the page the line should be printed (see the
LPRINT statement is equivalent to the following group of lines:
ROUTE _toPrinter PRINT [@(col,row)|%(h,v)] [itemList] ROUTE _toScreen
LPRINT is inefficient if you are printing many lines to a page, because it reroutes the output each time
LPRINT is executed. In such cases, it's better to execute a sequence of
ROUTE _toPrinter statement and followed by a single
ROUTE _toScreen statement.
FB Lite behavior: When you use the "FB Lite" runtime, the text-position parameters
[@(col,row)|%(h,v)] are ignored.
Note: You should execute
CLEAR LPRINT or
CLOSE LPRINT in order to cause the printed page to be put out, after you have finished printing to it.
PRINT; CLEAR LPRINT; CLOSE LPRINT; ROUTE