S
Steve
I'm trying real hard to set the printer resolution for a PrintDocument. It
appears that the printer is already set to 300 x 300 dpi, which is JUST what
I want.
But the Margins and PrintableArea properties of the PageSettings in the
Print handler are reporting values that indicate 100 dpi, for example it
reports PaperSize as 850, 1100 (8.5" x 11")
I'm passing these Rectangle properties into a method that is drawing
thinking it's working on a 300 DPI Image, so if it gets a Graphics context
that is 100dpi, everything is out of bounds.
What I don't understand is why the MSDN docs say you can set the printer
resolution with the PrinterResolution property of the pageSettings class,
but there is no Set accessor for the X and Y Properties.
I'm trying not to get frustrated, but this just seems so mixed up.
Do I need to set the resolution on the PrintDocument I've created? Can
someone please give me some tips on how to draw to a printer (is that what
you call it?) at 300 DPI?
Thanks for reading,
Steve
appears that the printer is already set to 300 x 300 dpi, which is JUST what
I want.
But the Margins and PrintableArea properties of the PageSettings in the
Print handler are reporting values that indicate 100 dpi, for example it
reports PaperSize as 850, 1100 (8.5" x 11")
I'm passing these Rectangle properties into a method that is drawing
thinking it's working on a 300 DPI Image, so if it gets a Graphics context
that is 100dpi, everything is out of bounds.
What I don't understand is why the MSDN docs say you can set the printer
resolution with the PrinterResolution property of the pageSettings class,
but there is no Set accessor for the X and Y Properties.
I'm trying not to get frustrated, but this just seems so mixed up.
Do I need to set the resolution on the PrintDocument I've created? Can
someone please give me some tips on how to draw to a printer (is that what
you call it?) at 300 DPI?
Thanks for reading,
Steve