Finding the Printable area

  • Thread starter Thread starter Steve Podradchik
  • Start date Start date
S

Steve Podradchik

Hi,

Our app likes to print data-rich output that fills the page width of the
printer. Unfortunately, we've found that the printable area of each printer
is a little different, making it a bit of a guess to set the left/right
print margins which seem additive to the printable area start. I don't
believe that .Net directly supports providing the printable area but I seem
to remember someone, > 1 year ago, posting some C code to find the printable
area. Any ideas? Or did I miss something in .Net?

Thanks, Steve
 
Hi,

In the printdocument printpage event take a look at
e.pagesettings.bounds and e.pagesettings.margins.

Ken
 
Back
Top