Futurebasic/Language/Reference/on lprint

From Wikibooks, open books for an open world
< Futurebasic | Language | Reference
Jump to: navigation, search

Contents

[edit] ON LPRINT

[edit] Statement

(+) Appearance (+) Standard Console

[edit] Syntax

ON LPRINT {FN userFunction|GOSUB{lineNumber|"stmtLabel"}}

[edit] Description

This statement designates a particular function or subroutine as an idler routine to be called by the printer driver during printing. The actual number of times that this function is called depends on the driver and the hardware.

You may use the ON LPRINT vector to rotate through a series of cursors, check for a Command-Period key press, or update the status of a print job.

Note:
If you use the ON LPRINT FN userFunction syntax, then userFunction must refer to a function which was defined or prototyped at an earlier location in the source code.

[edit] See Also

HANDLEEVENTS; MENU function

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export