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 print statement); if you don't specify one of these, the line is printed at the current pen position of the printing grafPort (this is usually just under the previously-printed line).
lprint statement is equivalent to the following group of lines:
print [@(col,row)|%(h,v)] [itemList]
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
print statements, with the entire sequence preceded by a single
route _toPrinter statement and followed by a single
route _toScreen statement.
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