Click here to Skip to main content
15,887,350 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
The app needs to print,it saves the default printer the user set, changes to the Zebra printer, and changes back to the default printer. 




Please suggest
thanks

What I have tried:

That is scenario
So, Need to switch to the zebra printer only when the app opens then the windows application is closed, the printer is reverted to the user's default.



Please suggest
thanks
Posted
Updated 5-Nov-22 7:10am
Comments
Richard MacCutchan 5-Nov-22 13:09pm    
"Please suggest"
Suggest what, you have not explained what your problem is.

1 solution

Perhaps this is what you are looking for: PrinterSettings.InstalledPrinters Property (System.Drawing.Printing) | Microsoft Learn[^]. But I am guessing.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900