Superbase.Printer.FormPrintClose
Superbase.Printer.FormPrintClose now has new option: 3=Don't
Close.
The way the option has been implemented, it only works for
printing forms and if anything is printed using the ? operator
while in this mode, it will probably trash some of your output
(it may not, but this operation is not supported here). Typical
technique might be:
oldmode% = Superbase.Printer.FormPrintClose
REM "Don't close", NEW OPTION!!
Superbase.Printer.FormPrintClose = 3'
OPEN FORM "MYFORM"
SELECT FORM KEY a$
PRINT CURRENT PAGE
OPEN FORM "MYFORM2"
SELECT FORM KEY a$
PRINT CURRENT PAGE
OPEN FORM "MYFORM3"
SELECT FORM KEY a$
PRINT CURRENT PAGE
DISPLAY ;' Closes the printer
Superbase.Printer.FormPrintClose = oldmode%' resets the mode
This mode should be used like an interrupt handler. It should
only be active when you plan to make use of it immediately
and it should be switched to something else again when you
are done.
|