How do I programmatically change the default paper size in Windows?

How do I programmatically change the default paper size in Windows?

0


a source to share


1 answer


Look for a member of the dmPaperSize

member of DEVMODE

the structure PRINTER_DEFAULTS

passed in OpenPrinter

.



Here's some sample code .

+2


a source







All Articles