< Futurebasic < Language < Reference

CLEAR LPRINT

CLEAR LPRINT

Statement

✔ Appearance ✔ Standard ✔ Console

Syntax

CLEAR LPRINT

Revised

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

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

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

See Also

Page Statement
Close LPrint
DEF LPrint
DEF page
ROUTE_toScreen
ROUTE_toPrinter

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.