- Tracy Lamb
- PowerBuilder
- Friday, 13 September 2024 03:57 PM UTC
Hi all,
In my application, I have a user event for printing to a label printer, triggered from a right mouse menu option.
I'm wondering how to get and save the current default printer, call PrintSetup() to allow the user to select the label printer, then reset the default printer after the print job is finished, so the next time they print a document, the original printer will be the default.
PrintSetup() changes the default printer for my application. The label printer should never be the application default printer. Maybe using PrintSetup() isn't the right solution, but I don't know how else to let the user select a printer without changing the default printer. Using PB 2022 R3, build 3356.
TIA,
~~~Tracy
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.