Results 1 to 3 of 3

Thread: Getting the total number of pages to be printed - Printer object??

  1. #1

    Thread Starter
    Fanatic Member ZeBula8's Avatar
    Join Date
    Oct 2002
    Posts
    548

    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~

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    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 ...

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width