- himanshi tayal
- PowerBuilder
- Monday, 25 November 2024 10:34 AM UTC
Hello ,
We are currently using PowerBuilder 2019 and are attempting to launch the application through an HTML5 webpage. However, we are encountering an issue with printing reports, data objects, and other documents from PowerBuilder when it is launched via the HTML5 webpage.
Issue:
When launching PowerBuilder through the HTML5 interface, the printers do not appear as expected. The application is not able to detect the available printers on the client machine.
Current Setup:
- PowerBuilder is launched via Citrix, where the IP address (PC name) and printers are retrieved from the following registry paths:
- Client Name:
HKEY_CURRENT_USER\Volatile Environment\ClientName
- Printer Configuration:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices
- Client Name:
- The printers are configured based on the PC name (IP address). When a printer matches the IP address, the application sends the reports and documents directly to that printer without manual intervention.
Problem with HTML5 Webpage Launch:
When the PowerBuilder application is launched via the HTML5 interface in Microsoft Edge, the registry shows the ClientName
as HTML-****-****-****
, instead of the actual PC name. As a result, PowerBuilder cannot detect printers associated with the real IP address, and printing does not work.
What can we do to overcome from this problem.
Is there any way to save pdf to client Machine instead from server machines and then it print automatically without manually giving command and then it delete files which saved in local PC.
Second PDF is saved in temporary folder of server machine then it go to local machine by mapped drive then it print automatically without manually giving command and then it delete files which saved in local PC.
Or some other optimized solution.
Please provide solution as soon as possible.
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.