Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do I print in landscape using me.print

Status
Not open for further replies.

newprogamer

Programmer
Sep 22, 2004
107
US
Hello Everyone,

Does anyone know how to print a user form in landscape? Below is the code that I am using.
Code:
Private Sub cmdPrintGeneral_Click()

    Me.PrintForm

End Sub

Thanks,
NewProgrammer
 
Me.PrintForm uses the printer values as set in Control Panel so on it's own only prints how the default printer is set up.
To change the printer settings prior to .PrintForm you could look into using the Printer Object, the Orientation property would be a good place to look...

Hope this helps

Harleyquinn

---------------------------------
For tsunami relief donations
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top