General information
Category:
Reports & Report designer
Rich,
Thanks. It is very important to know this.
I have never met those printers and if they exist I should warn my customers or at least give them recommendation what printers not to buy. Could you list some of those printers here?
>Yuri,
>
>The following information should help to understand why some printers work printing multiple copies and others do not including the earlier threads that were referred to above. Not all printers support printing multiple COPIES. Therefore, it will not always be present in the EXPR field when the report is created/designed and this makes it bad if you are switching printers on the fly. There is an API call that allows you to find out how many COPIES a printer driver supports. If you pass null as the last 2 parameters the routine will return the number of COPIES that the device can print.
>
>
>nCopiesPrinterCanPrint = DeviceCapabilitiesA(PDeviceName,PPort,DC_COPIES,null,null);
>
>PPrinterName = Pointer to the Printer Name null terminated String
>PPort = Pointer to the Device Port Name null terminated String
>DC_COPIES = 18 API CONSTANT
>
>Therefore to be 100% reliable in printing multiple copies you should send the output in a loop. You could also send the barcode output using WIN API calls rather than a Report for speed.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only