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

Input Box Again

Status
Not open for further replies.

dvannoy

MIS
May 4, 2001
2,765
US
Private Sub Report_Activate()
DoCmd.PrintOut acPrintAll, , , , InputBox("How Many Pages")
End Sub

this command worked great...

Now I have another question...Is it possible to choose what printer the above command prints to???

I am printing pin feed labels that cannot print on the network laser printer. I have that code behind a button. what I want to do is, when the input box ask's for the number of copies , I want that to print to another printer..

is this possible??

Thanks for your help

 
You're starting to get a bit complex. There is a property in VBA called PrtDevMode that allows you to manipulate printers. Go to the tutorial and type this property for details and examples.

Is there any reason you can't send them to a preview of the report and then have them to use the Microsoft printer dialog box in the File menu options? ljprodev@yahoo.com
Professional Development
MS Access Applications
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top