Skip to content

PRINT TO PRINTER

FUNCTION

All output to the printer is performed using the PRINT TO PRINTER command.

SYNTAX

PRINT TO PRINTER printer-link-name [data-options . . .]
[BUSY PROCESS IS procedure]
[ERROR PROCESS IS procedure]
data-options:
data-name|
system-variable-name|
constant|
elastic-variable|
printer-mnemonics
printer-link-name
the name of a printer link defined in Dictionary-IV.
data-name
a data name.
system-variable-name
the name of a system variable.
constant
a constant.
elastic-variable
a 3GL variable.
printer-mnemonics
mnemonics.
procedure
the name of a procedure to perform.

NOTES

  • This command will output to the specified printer whatever is defined through data-options or Thoroughbred Basic options.
  • Each data-option must be delimited from the next by a , (comma).

EXAMPLES

PRINT TO PRINTER 4GLP @(25), "Page Header", @(70), "Page #", PN
BUSY PROCESS IS TRY-AGAIN

SEE ALSO

LN, OPEN PRINTER, SYSTEM-PARM

From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF