I have an application that runs as a published app on Citrix. The app is supposed to print .pdf documents in the background, without display or dialog.
To accomplish this, I create an Adobe Reader process, hidden from the user, and using DDE, print silently; it worked fine testing locally and I deployed to a test Citrix environment. However, the printing didn't work when running in Citrix. To further determine why, I changed the process creation to display, rather than hide the app, and added a document open command; this showed all other DDE commands were actually working in Citrix, just not the silent print.
Searching the web, I discovered many people have issues with version 9 under Citrix and/or with DDE. I decided to uninstall 9 and install 8 under Citrix. In this configuration, everything worked fine. Uninstalling 8 and installing 10 resulted in similar results to the non-printing 9...opening docs works, but printing does not. I added some more DDE commands and tested each version both locally and under Citrix and here are my results:
Running the app locally, not using Citrix, all of the following DDE commands worked, versions 8, 9 and 10:
DocOpen
FilePrintSilent
DocClose
CloseAllDocs
FilePrint
DocPrint
Running the app under Citrix:
DocOpen (works in all versions)
FilePrintSilent (only works in version 8, not 9 or 10)
DocClose (works in all versions)
CloseAllDocs (only works in version 8, not 9 or 10)
FilePrint (print dialog displays in all versions)
DocPrint (only works in version 8, not 9 or 10)
So, my question is, what is going wrong, for only some of the commands, for version 9 and 10 under Citrix? How do I get around this...what is the issue? Anyone know?