guides:programming:programmers_reference_manual:copies_set_printer_message

COPIES Set_Printer Message

The COPIES message is used to set the number of copies for the current printer. The Copy parameter is equal to the number of copies you want to print. Always check the return code from the COPIES message for errors, because not all printers support this feature.

Parameter
Description of Fields
Comments
Default
Parm1 - COPIES
<1> Copies
Number of copies

* The following example shows how to use the COPIES message.

declare function Set_Printer
stat = Set_Printer("INIT") ;* Start printing
stat = Set_Printer("COPIES", 2) ;* print 2 copies
if stat < 0 then
goto ErrorHandler ;* not supported
end
stat = Set_Printer("TERM") ;* End printing
 
 
  • guides/programming/programmers_reference_manual/copies_set_printer_message.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1