Set Print Margins

S

scott

Is it possible to code the margins maybe in on open event? The secretary's
access reports seem to change to my larger margins (because i have an
inkjet) and after I modify our database. she has a laser and needs the
default smaller margins.
 
A

Allen Browne

Access 2002 and 2003 have the Printer object.

If you are using these versions, try something like this:

With Me.Printer
.TopMargin = 1440
.BottomMargin = 1440
.LeftMargin = 1440
.RightMargin = 1440
End With
 
S

Scott

thx

Allen Browne said:
Access 2002 and 2003 have the Printer object.

If you are using these versions, try something like this:

With Me.Printer
.TopMargin = 1440
.BottomMargin = 1440
.LeftMargin = 1440
.RightMargin = 1440
End With
 
S

Scott

what unit is 1440?


Allen Browne said:
Access 2002 and 2003 have the Printer object.

If you are using these versions, try something like this:

With Me.Printer
.TopMargin = 1440
.BottomMargin = 1440
.LeftMargin = 1440
.RightMargin = 1440
End With
 
Top