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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to Legal paper

Status
Not open for further replies.

DonS100

Programmer
Dec 4, 2001
104
US
Hello, I'm have an application built with Access 97 that I compile into an mde. I have several reports that I want to always print to Legal paper. When I set the report to Legal and then deploy the mde the Legal setting
doesn't stick. How can I force the report to always print to Legal without requiring the user to change the setting.

Thanks

Don
 
Could you try somethng like this in the report's OnLoad event?
Code:
Private Sub Report_Open(Cancel As Integer)
    Me.Printer.PaperSize = acPRPSLetter
End Sub
Untested, but it should work?

[pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top