E
Ed Sutton
My C# app. apparently has problems with PageSettings not being
initialized properly after calling PageSetupDialog. If a user selects a
non-default printer from PageSetupDialog, the PageSize is apparently
not-initialized properly. It appears to be printing to a very small
page size and only prints a small piece of each page. Alternatively, if
if a user selects the new printer, then user selects the paper size from
the printer properties, it works.
Steps to Reproduce Problem
--------------------------
1 - Open PageSetupDialog
2 - Click Printer button and a secondary Page Setup dialog displays
3 - Select the non-default printer Adobe PDF from the secondary Page
Setup dialog
4 - Back-out and close both dialogs by pressing OK
5 - Verify printed page size not correct after calling PrintDocument.Print
Work-Around
-----------
Re-select Letter Page Size from the Printer properties rather than
PageSetupDialog
1 - Open PageSetupDialog
2- Click Printer button and a secondary Page Setup dialog displays
3 - Select the non-default printer Adobe PDF from the secondary Page
Setup dialog
4 - Click Properties button on the secondary Page Setup dialog
5 - Click OK button without changing any settings on the secondary Page
Setup dialog
6 - Back-out and close both dialogs by pressing OK
7 - Verify printed page size is correct after calling PrintDocument.Print
Thanks in advance for any tips on PageSettings and using PageSetupDialog.
-Ed Sutton
(e-mail address removed)
initialized properly after calling PageSetupDialog. If a user selects a
non-default printer from PageSetupDialog, the PageSize is apparently
not-initialized properly. It appears to be printing to a very small
page size and only prints a small piece of each page. Alternatively, if
if a user selects the new printer, then user selects the paper size from
the printer properties, it works.
Steps to Reproduce Problem
--------------------------
1 - Open PageSetupDialog
2 - Click Printer button and a secondary Page Setup dialog displays
3 - Select the non-default printer Adobe PDF from the secondary Page
Setup dialog
4 - Back-out and close both dialogs by pressing OK
5 - Verify printed page size not correct after calling PrintDocument.Print
Work-Around
-----------
Re-select Letter Page Size from the Printer properties rather than
PageSetupDialog
1 - Open PageSetupDialog
2- Click Printer button and a secondary Page Setup dialog displays
3 - Select the non-default printer Adobe PDF from the secondary Page
Setup dialog
4 - Click Properties button on the secondary Page Setup dialog
5 - Click OK button without changing any settings on the secondary Page
Setup dialog
6 - Back-out and close both dialogs by pressing OK
7 - Verify printed page size is correct after calling PrintDocument.Print
Thanks in advance for any tips on PageSettings and using PageSetupDialog.
-Ed Sutton
(e-mail address removed)