Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription
OnAfter a Printer On statement, all subsequent output from the Print statement is routed to the current printer device.
OffA Printer Off statement closes the print job.
numeric_expressionYou can also use a numeric expression. If numeric_expression evaluates to true (non-zero), Printer On is set. If the value of the expression is false (zero) or null, Printer Off is set.

See also

PrintPrint_Text

 Example

Code Block
/* The printer will print the current system date in the D2 format. */
Printer On
Print OConv(Date(), "D2")
Printer Off