AccusoftPrintPro8 ActiveX DLL > PrintPro Object : Copies Property |
Gets or sets a value that determines the number of copies to be printed.
Visual Basic |
---|
Public Property Copies As Long |
Not available at design time.
You cannot set the Copies property after a document has been started. For the PrintDialog method, this property returns the number of copies entered by the user in the Copies box. Multiple copies may or may not be collated, depending on the printer driver. Multiple copies of the entire document or multiple copies of each page may be printed. For printers that don't support collating, set Copies = 1, and then use a loop in code to print multiple copies of the entire document.
Note: The effect of setting the Copies property depends on the driver supplied by the printer manufacturer. Some property settings may have no effect. Settings outside the accepted range may produce an error. The ErrorCode property will be set to -5015 or -5016 if the printer does not support this property. For more information, see the manufacturer's documentation for the specific printer driver.