Getting the total number of pages to be printed - Printer object??
Is there a way to get the total number of pages to be printed using the Printer object?
eg:
Page 1 of 10
I'd like to know ahead of time how many pages will be printed so I can actually 'print' this on the page of my reports?
Thanks in advance~
Re: Getting the total number of pages to be printed - Printer object??
Using Printer object there is no way to know total number of pages up front so you might need to do some calculations before your actual printing begins - generally speaking you'll have to repeat your printing routine twice so you can get totals ...
Re: Getting the total number of pages to be printed - Printer object??
Try this. It is the familiar Printer Dialog, which M$ created to fix the problems with the CDC printer object.
http://vbforums.com/attachment.php?attachmentid=38114