Results 1 to 3 of 3

Thread: Common Dialog/PrintDialog API Print Range

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2001
    Location
    Between 2 bosses
    Posts
    210

    Common Dialog/PrintDialog API Print Range

    All,
    I have exhaustively searched this website as well as other to find how to activate the Current Page or the Pages radio options on either the commondialog control or the PrintDialog API. If anyone could point me in the right direction that would be helpful.

    I have been setting the .Flags to cdlPDPageNums, in fact, I have tried all available flags in some combination. Maybe there is a trick to an And/or clause in the setting of the flag that I am just not getting correct.

    Thanks in advance

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Oct 2001
    Location
    Between 2 bosses
    Posts
    210

    Re: Common Dialog/PrintDialog API Print Range

    OK,
    I have figured on the Pages issue. Before you view you must set all 4 arguments, FromPage, ToPage, Min and Max.

    VB Code:
    1. CD1.Max = 4
    2.     CD1.Min = 1
    3.     CD1.FromPage = 1
    4.     CD1.ToPage = 3

    This will allow the pages to be set.
    I'm still working on the Current Page Issue though

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

    Re: Common Dialog/PrintDialog API Print Range

    Try out this. It is a replacement for the CDC print dialog, which had problems setting the printer, among other things.

    http://support.microsoft.com/kb/322710/EN-US/#7

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