Can setting Application.Printer point to the right printer

FuzMic

DataBase Tinker
Local time
Today, 20:30
Joined
Sep 13, 2006
Messages
744
Dear friends

I use the following

Application.Printer = Application.Printers("newPrtr”) followed by
DoCmd.OpenReport "MyReport", acViewPreview
While IsOpen("MyReport", acReport)
DoEvents
Wend

Then at the Print.PreView the printer shown is not NewPrtr but the default printer. How can I make it point to the NewPrtr without another user interaction.
 
Last edited:
Thank Gasman, i am sure the link can help.

But meanwhile i found that i should not set the printer in the report to "Specific". If i set printer to "default", this issue will not occur, ie Application.Printer do point correctly.
 

Users who are viewing this thread

Back
Top Bottom