Jump to content

Futurebasic/Language/Reference/clear lprint

From Wikibooks, open books for an open world

CLEAR LPRINT

CLEAR LPRINT

[edit | edit source]

Statement

[edit | edit source]

✔ Appearance ✔ Standard ✔ Console

Syntax

[edit | edit source]

CLEAR LPRINT

Revised

[edit | edit source]

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 | edit source]

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 | edit source]

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

See Also

[edit | edit source]

Page Statement
Close LPrint
DEF LPrint
DEF page
ROUTE_toScreen
ROUTE_toPrinter