Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Printer statement ====== **Note**: This statement is supported for backward compatibility only; newer programs should use the [[print_functions|Print_ functions.]] ==== Description ==== Directs output of Print statement to the printer. ==== Syntax ==== **Printer** On Off //numeric_expression// ==== Parameters ==== The Printer statement has the following parameters. ^Parameter^Description^ |On|After a Printer On statement, all subsequent output from the Print statement is routed to the current printer device.| |Off|A Printer Off statement closes the print job.| |//numeric_expression//|You 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 ==== [[print|Print]] ==== Example ==== <code> /* The printer will print the current system date in the D2 format. */ Printer On Print OConv(Date(), "D2") Printer Off </code> guides/programming/programmers_reference_manual/printer.txt Last modified: 2024/06/19 20:20by 127.0.0.1