Description
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.
Parameters
Parameter | Description of Fields | Comments | Default |
---|---|---|---|
Parm1 - COPIES | <1> Copies | Number of copies |
Example
* 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