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

ParameterDescription of FieldsCommentsDefault
Parm1 - COPIES<1> CopiesNumber 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
  • No labels