Windows Print Dialog Box under a Citrix environment displays print devices as hyperlinks
Posted on 2013-06-05
I'm encountering a problem on my clients host sites (2 separate testing environments) with my software application when the user attempts to print a report (generated in my application) as a PDF file. The exact problem is that my application uses the standard Windows Print Dialog box invoked by a DLL written in C-language which directly calls the Windows API function "PrintDlgEx". The application has always worked this way for the past 7 or 8 years, but now the Windows Print Dialog box is displaying the "print devices" as hyperlinks, whereas, in the past, they were always displayed as simple text. I'm 99% sure that the crux of this issue lies within Citrix which I have no control over, besides having no knowledge of Citrix (having never actually worked with the product). Something in the Citrix setup is causing these print devices to be displayed as hyperlinks in the Print Dialog box, which ultimately causes the dialog box to "disappear" as soon as the hyperlink is clicked on by the user and NEVER gives the user the chance to click on either the PRINT or CANCEL buttons or, in the case of printing to a file, does not allow the user to select a file location for the report file. As always, any help in resolving this issue or in simply enlightening me about why this is happening would be greatly appreciated!