How to Find Printer's Left Most Margin and Top Most Margin

  • Thread starter Thread starter Anne DeBlois
  • Start date Start date
A

Anne DeBlois

Hi,

In VB 2005, I need to get the printer's left most and top most margin that a
selected printer can prit to on a piece of paper, so I can adjust the
PrintDocument classes to get as uniform as possible a printout no matter
which print driver is selected. How do I get (and then set) this information
in VB?

Thank you so much in advance,

Anne
 
Anne DeBlois said:
In VB 2005, I need to get the printer's left most and top most margin that
a selected printer can prit to on a piece of paper, so I can adjust the
PrintDocument classes to get as uniform as possible a printout no matter
which print driver is selected. How do I get (and then set) this
information in VB?

..NET 1.*, maybe there isn't a managed way in .NET 2.0 too:

Determining a printer's physical margins
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=getphysicalprintermargins&lang=en>
 
Back
Top