Peter,=20 I'm afraid to capture correct number of pages in RAW mode all the time = you will have to parse the RAW stream (PCL, PostScript, HPGL, etc.) I believe dmCopies in DEVMODE contains what driver puts there, and = driver writers are not always consistent about doing so.=20 --- Best regards,=20 Dmytro=20 -----Original Message----- From: winprndev-bounce@xxxxxxxxxxxxx = [mailto:winprndev-bounce@xxxxxxxxxxxxx] On Behalf Of Peter Zhu Sent: Thursday, May 17, 2007 6:06 AM To: winprndev@xxxxxxxxxxxxx Subject: [WinPrnDev] how to get correct print copies Hello all, I am programming code for windows print job accountting, now capture a print job with RAW mode(not EMF)in print processors ,but I can not get correct dmCopies in DEVMODE struct, its value is always 1. Why, and how to get the correct value of print copies. =20 Peter May 17, 2007 No virus found in this outgoing message. Checked by AVG Free Edition.=20 Version: 7.5.467 / Virus Database: 269.7.1/805 - Release Date: 5/15/2007 = 10:47 AM =20 --- Questions? First check the UndocPrint pages at http://undocprint.printassociates.com/winspool To unsubscribe, visit the List Server page at //www.freelists.org/list/winprndev