Link to home
Start Free TrialLog in
Avatar of grossman52
grossman52

asked on

Issues with (seemingly) losing a printer connection in a Powerbuilder app deployed within a Citrix environment

A client has our Powerbuilder application (built in version 10.5.2) deployed within a Citrix environment. Something is causing their users to lose the connection to the printer in a pretty random way- there isn't really any rhyme or reason to what's going on in our application, and we're not doing anything (without user input) to change the current Printer or any Printer settings. One minute it works, the next it doesn't. The only thing that causes it to start working again is to go into the Print setup dialog, choose a new printer, then do Print Setup again and change back to your old printer- then it works again. Other applications (non-Powerbuilder) running at the same time don't lose the connection- when the Powerbuilder app can't print, the others still can.

Any ideas? I haven't seen much on the web regarding inconsistent printer problems; most documented problems involve just not being able to print at all, ever. In our situation, it works great... until it doesn't.

We could write code to automatically re-establish the printer connection every time something is supposed to be printed, but we've had issues with instability surrounding those calls in the past. We're hesitant to put a ton of extra calls to printer functions for fear of causing bigger problems (application crashes) than what we're aiming to fix.
Avatar of divyeshhdoshi
divyeshhdoshi

Hi
 
This is the issue with only only powerbuilder or with  olther application that is deployed in CItrix env. Becoz that may be the issue with citrix also.
 
Please try to deploy other application or just word and try or analysis so u can check.
 
Thanks & Regards,
Devang Modi.
ASKER CERTIFIED SOLUTION
Avatar of compooh
compooh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
1. Did you check if the server connecting powerbuilder has Citrix services running? Print spooler and Citrix Print management?
2.  Try to do a stress test on the printer drives to check if any drives causing problems and there is some compatibility issues with the application
3. You can download citrix stress tool from the citrix site and can check.
4. Any printer policy applied not to auto-create on any of one of the servers?
5. Try to create ica files for all the servers launching the power builder applicaiton. if 4 servers 4 ica files.
6. Monitor all the application using individual ica to check which server is creating problem. This way u can isolate and concentrate only on the problemmatic server.
Avatar of grossman52

ASKER

Thanks for the responses.  We are asking our customer to try these suggestions and will post the outcome.

thanks
Thank you