-
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...
-
Anyone???
Uhm....Anyone have an idea?
At least let me know if you have the same problem or not.
Thank you.
-
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.
-
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 ;)