Futurebasic/Language/Reference/on lprint

ON LPRINT

edit

Statement

edit
(+) Appearance (+) Standard Console

Syntax

edit

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

Description

edit

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.

See Also

edit

HANDLEEVENTS; MENU function