Setting printer copies
Posted on 2002-04-10
I'm allowing the user access to the print common dialog using
After closing the dialog a variable is set to the number of copies selected with the .Copies property.
However, the number of copies selected doesn't clear when the application is closed, so the next time the user runs the app the number of copies is the same as was set in a previous session. In addition, some (not all) other applications, even COTS, pick up this print copy value. I've tried
dlgCommonDialog.Copies = 1
on program load and on program close, but it makes no difference. Even though the .Copies property shows 1 if I put in a break to check, the dialog will still show whatever the previously set number was. Do I need to make an external call to reset the .Copies value when the program closes? Or what?