Non-printable printer margins
Posted on 1997-05-29
In using VB 4.0 I am working on an app that does a lot of printing to the printer. Since it will be used by different people (and different printers), I need to know how to programmatically find out what the four non-printable margins are. Does this come from the "device context" and if so, how do I get at it? Using the difference between Printer.Width and Printer.ScaleWidth (and dividing by 2) assumes that the top and bottom non-printable margins are the same and this is rarely the case.