SetPrinterMargins




Printer.ScaleLeft = -0.5 * 1440
Printer.ScaleTop = -0.75 * 1440
Printer.CurrentX = 0
Printer.CurrentY = 0
Use the Printer's scale properties to set margins.
Set the properties so the position (0, 0) is mapped to where
you want the margins. For example, the following code makes
the left margin 0.5 inches and the top margin 0.75 inches.
The factor of 1440 converts inches into twips.










( setprintermargins.html )- by Paolo Puglisi - Modifica del 17/12/2023