Futurebasic/Language/Reference/clear lprint

CLEAR LPRINT

CLEAR LPRINT

edit

Statement

edit

✔ Appearance ✔ Standard ✔ Console

Syntax

edit

CLEAR LPRINT

Revised

edit

November, 2006 (FB 4, Revision 4)

Description

If output has been routed to the printer, CLEAR LPRINT forces the Printing Manager to print the current page, without closing the print job. The other ways to print the current page are to execute CLOSE LPRINT or to exit the program, both of which also cause the print job to be closed.

Notes

edit

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 the equivalent to cutting off a limb while you are sitting on it. The following fragment shows how this might be done.

ROUTE _toScreen
CLEAR LPRINT
ROUTE
_toPrinter

Example

edit

NEEDS IMG!!! <img src="res/cd.gif" alt="" height="19" width="20" border="0"> CD Example: Printer.BAS

See Also

edit

Page Statement
Close LPrint
DEF LPrint
DEF page
ROUTE_toScreen
ROUTE_toPrinter