Results 1 to 4 of 4

Thread: Printdialog possible Bug

  1. #1

    Thread Starter
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840

    Unhappy Printdialog possible Bug

    Hi Guy's.

    I have a problem with the printdialog control.
    If I check the maxcopies property from the printersettings it return 999.

    But when the user clicks OK in the printdialog, the copies property from printersettings is allways 1.
    No matter what the user selected.

    I can't find a way to get around this. I have searched MSDN and this forum, but found nothing.

    Am I really the only one with this problem???

    Please tell me that I'm doing something wrong.
    If it's me, then a solution can be found, if it's a bug, then I'm stomped...

    I tried to create a new class, that inherits the printdialog, but the printdialog
    is marked as not inheritable...figures...
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

  2. #2

    Thread Starter
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840

    Question Anyone???

    Uhm....Anyone have an idea?

    At least let me know if you have the same problem or not.

    Thank you.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

  3. #3
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    I am having a similiar problem with trying to set the orientation to landscape when printing. Actually, it works in Win2000 but not in NT.

    Make sure your property you are setting, (printersettings, etc.) is not readonly.

  4. #4

    Thread Starter
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840

    Still unresolved

    Hi.

    I have tried both on Win2000 and WinXP Pro.
    I probably should mention that it's .Net 2002 and Framework 1.0.

    I don't think that the properties are read only, because I just use a standard PrintDocument.
    I have also tried to "Dim PS as new PrinterSetting" and use that in the printdialog, but that still doesn't help.

    The weird thing is, that if I manually set the Copies property to e.g. 5 before opening the dialog
    I can see that copies are 5, but if I press OK without changing anything, then copies are reset to 1.

    Well, thanks anyway
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

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