FutureBasic Logo

<<    Index    >> FutureBasic 5

close lprint   statement



Syntax:
close lprint

Description:
After output has been routed to the printer, close lprint informs the Print Manager that the print job is complete. The current page is printed and the print job closed. You should execute a route _toScreen statement immediately before or after calling close lprint.

Note:
Before using clear lprint or close lprint, you must route printing to the screen. Closing the printer while output is pointing to the printed page is equivelant to cutting off a limb while you are sitting on it. The following fragment shows how this might be done.

route _toScreen
close lprint


See Also:
clear lprint; def lprint; route _toPrinter; ROUTE_toScreen