Hi,
From a printer handle (HDC) I'd like to know what are the current settings of my printer like format and orientation.
Who can help me?
Printable View
Hi,
From a printer handle (HDC) I'd like to know what are the current settings of my printer like format and orientation.
Who can help me?
Use the GetPrinter function and retrieve an PRINTER_INFO_2 structure.
The pDevMode member of this structure will point to a DEVMODE structure that will give you access to various printer data.