Stu Dapples
Active Member
- Joined
- Jan 12, 2009
- Messages
- 252
Hi guys!
I have written a bit of code to capture some info which is then printed ona Dymo label printer. I have all the user form working OK, it prints to the Dymo fine....
Problem is, by using the code
application.activeprinter = "DYMO LabelWriter 450"
Application.Printout
Debug.Print Application.ActivePrinter
It changes the Windows default printer to the Dymo! This is not good as someone will, sooner or later, send an A3 document to it and use a roll of labels!!
Is there a way to slect the printer temporarily but not change the windows default?
Been searching but getting near to hair tearing now!
In anticipation,
Stu
I have written a bit of code to capture some info which is then printed ona Dymo label printer. I have all the user form working OK, it prints to the Dymo fine....
Problem is, by using the code
application.activeprinter = "DYMO LabelWriter 450"
Application.Printout
Debug.Print Application.ActivePrinter
It changes the Windows default printer to the Dymo! This is not good as someone will, sooner or later, send an A3 document to it and use a roll of labels!!
Is there a way to slect the printer temporarily but not change the windows default?
Been searching but getting near to hair tearing now!
In anticipation,
Stu