Printer defaults

  • Thread starter Thread starter David Webber
  • Start date Start date
D

David Webber

Guest
On launching my program, I'm asking for the default printer details with a PRINTDLG using parameters
PD_RETURNDEFAULT|PD_RETURNIC to get an information context, and thence finding details with GetDeviceCaps( hDC, …).

When I work out the paper size from the pixel area and DPI, it's exactly 11" x 8.5" - US Letter.

Now the printer, a Brother HL2150N (oldish now) will accept US Letter, but the tray is loaded with A4 paper, and the settings in Windows 10 are all set to A4.

Is this a printer driver problem (trying to update it has changed nothing) or is there something else I should be doing to get it to report correct values.

(I *can* change it to A4 in my PageSetup dialogue box, but I shouldn't have to!)

Dave



David Webber Author of Mozart music notation software mozart music notation software

Continue reading...
 

Similar threads

D
Replies
0
Views
333
David Webber
D
D
Replies
0
Views
240
David Webber
D
D
Replies
0
Views
312
David Webber
D
D
Replies
0
Views
151
David Webber
D
Back
Top