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

Printer mysteriously changed during print jobs

Status
Not open for further replies.

EddyLLC

Technical User
Mar 15, 2005
304
US
I use the following code to print two reports

DoCmd.OpenReport "Preliminary", acViewNormal
DoEvents
DoCmd.OpenReport "Daily", acViewNormal

The issue is I have as my default printer a shareware to print to pdf format. When printing the reports the first works fine, the box comes up for me to name the pdf file. On the second though it sends my print job to my local printer not the pdf creator.

I'm at a loss. Thanks for any help or suggestions.
 
Thanks for the reply. I don't have a great variety of experience in VBA. I'm not sure the report has a defined printer, I didn't create the report, and I don't know how to check or do it. Is it something easy to check?

Thanks
 
Found the solution. You were correct dHookom. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top