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.