- Vipin Dwivedi
- PowerBuilder
- Wednesday, 27 November 2019 07:03 PM UTC
Hello Appeon Folks,
Greeting! and Happy ThanksGiving!
We are currently using PB2017R3-1858 version. We have observed few things related to Print(). When application runs in window 2008 or prior version it is giving highlighting different default printer while in windows 2016 it is highlighting different default printer. One thing I want to mention that application is running through Citrix at users.
I want to know is there any problem calling Print() in different OS version?
What Windows API internally PB calls when we use Print() which open print dialog box?
What windows API internally PB calls when we call PrintSetup() which opens Printer dialog box and from where it is pulling the records?
When we select the printer using PrintSetup(), where does it store the printer in Registry?
Please suggest.
This is causing the problem at user machines? When they login first time they see the correct default printer in print dialogbox but if you change the default printer in print dialog box by right clicking any other printer and set as default. After that if you open the print dialogbox using Print(), it is still highlighting the old printer which is not your default printer anymore.
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.