|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to Find Printer's Left Most Margin and Top Most MarginHi,
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" <annedeblois@community.nospam> schrieb: ..NET 1.*, maybe there isn't a managed way in .NET 2.0 too:> 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? Determining a printer's physical margins <URL:http://dotnet.mvps.org/dotnet/faqs/?id=getphysicalprintermargins&lang=en> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thanks, I'll check it out.
Anne "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> a écrit dans le message de news: eg3lWiQoGHA.3***@TK2MSFTNGP04.phx.gbl...Show quoteHide quote > "Anne DeBlois" <annedeblois@community.nospam> schrieb: >> 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> > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/>
Valid file name
timer control TreeView control checked based on if records exist Validating Data Using a Error Provider what is best practice to populate large combobox? EM_CHARFROMPOS with RichTextBox CheckedListbox - change check event DBNull problem Data binding to an object Somebody please help - Request for the permission of type 'System.Web.AspNetHostingPermission' [...] |
|||||||||||||||||||||||