Solved

Windows Print Dialog Box under a Citrix environment displays print devices as hyperlinks

Posted on 2013-06-05
7
431 Views
Last Modified: 2013-06-18
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!
0
Comment
Question by:Jim Klocksin
  • 4
  • 3
7 Comments
 
LVL 25

Expert Comment

by:Coralon
ID: 39227855
Unless you are using the Citrix Print Server, it is not going to be responsible for the behavior you're describing.  Citrix utilizes the standard print dialogs, it does not alter them.  

Try your app on the raw physical console, and use a new account with a new profile.  That will establish your baseline, and then try it through RDP, and then through ICA.  

Coralon
0
 

Author Comment

by:Jim Klocksin
ID: 39230801
I appreciate your suggestion, but, unfortunately, I don't have the access necessary to do any of the things that you're suggesting.  The most obvious difference in the Print Dialog box that is being displayed in my corporate clients environments vs. my own environment (all environments are using the Windows Server 2008 R2 operating system) is that ALL of the print devices in my clients environment are displayed as "hyperlinks" and in my own environment, the print devices are displayed in plain text (as they normally are...).  I've NEVER seen this happen before in any application or environment that I've ever worked in.  That is, I've NEVER seen print devices in a Print Dialog box displayed as anything other than plain text which you can select without any "event-type action" taking place, which is what is happening when they're displayed as hypertext!?  I've poured through all the Microsoft technical information on MSDN and anywhere else I could "google", but I can't find any reference to print devices being displayed as hyperlinks in a Windows Print Dialog box or any way to programmatically cause this to happen!?   Help!!!!
0
 
LVL 25

Expert Comment

by:Coralon
ID: 39230988
Ok, that helps to a point. Do you have multiple clients having the same problem? Or is it just the one?

I've been doing Citrix forever (15+ years) and I've never seen this behavior.. If it is just the one, then it must be something in their environment that is doing it.  Do they have 3rd party apps that play with the shell? (i.e. AppSense, RES, etc.)

Coralon
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:Jim Klocksin
ID: 39232887
To answer your question, this issue only involves one client!  Further, since I have absolutely no experience with Citrix and you have 15+ years, I'm going to accept the fact that this has nothing to do with Citrix, thereby eliminating Citrix from the equation.  The problem still remains that I have no knowledge of the exact environment (other than the base OS is Windows Server 2008 R2, running as a terminal server) and, possibly, in a virtual mode although I'm sure entirely sure about that, and I have no access.  That said, I do have a teleconference on Monday with someone in the corporation's IT department who's involved with my application and setting it up in the Citrix environment.  How much he knows about the actual OS setup, I don't know because they comparmentalize everything so much that someone else takes care of setting that up.  However, he may be able to get some insight into any 3rd pary apps that may be installed on their application servers.  So, my question at this point is which 3rd party apps (in addition to the 2 you've already mentioned) would you consider to be prime candidates for causing a situation like this?
0
 
LVL 25

Expert Comment

by:Coralon
ID: 39233523
I would definitely be asking them about shell replacement products.. that would probably be your best bet for what is happening.  RES, triCerat, etc.

Coralon
0
 

Accepted Solution

by:
Jim Klocksin earned 0 total points
ID: 39245158
I'm going to close out this question and replace it with a new question with a slightly different focus that I'm hoping will elicit more responses.
0
 

Author Closing Comment

by:Jim Klocksin
ID: 39255606
Need to get more insight into this issue which requires "restating" the problem with a slightly different focus.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question