- selvam G
- PowerBuilder
- Wednesday, 13 January 2021 04:16 PM UTC
Hi there,
We have recently migrated from PB 2017 to PB2019 R2 build 2328.
Our application being assessed thru Citrix.
Application is not recognizing OS Windows 10 default printer.
it always prints to the last printer in the printer list.
I have tried the workaround as indicated in knowledge base
Windows API for GetDefaultPrinterW even it is showing up the last printer on the list as default printer.
Workstation does have a default printer set properly.
When we call printsetup(), it shows all the OS printers correctly, the issue is not the correct default printer is set.
When I run the same application PB2017 exe, default printer get set correctly without even calling windows API.
Any help is much appreciated.
Thanks
Selvam
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.