Hareware:
-Windows Server 2003 64-bit, Citrix, for server
-Windows XP/Vista for workstations
-Epson receipt printer
Software:
-Microsoft Dynamics GP 9.0
-Our module which integrates into GP
-Generic driver (Epson doesn't have a driver for 64 bit)
Situation:
Workstation opens a session and opens GP. We go into our module and attempt to print documents from it, from two different areas: Report (using reportviewer) and a Receipt (using PrintDocument .NET class), printing to the session printer. We open up the printer queue. When we try to print either the report or the receipt, the job appears in the printer queue, but then immediately disappears. There is no indication that an error has occurred.
Heres my diagnosis thus far:
-Opening GP on the server, instead of a workstation, and printing from GP to a printer works.
-If we try printing from another module of ours from the workstation to the session printer, it works.
-We have other customers who are using Citrix, and this problem does not happen.
Concluding from these three statements, I do not believe its a problem with our code or with the Citrix environment. If it were a problem with the Citrix environment, our other module would not be able to print in the same situation. If it were a problem with our code, it would not be able to print from the server or work on other customer's Citrix setups.
Pinpointing the cause of the problem:
If its not the environment, and its not our code, it seems like it has to do with our module DLL file itself, but not the code. Anyone have any suggestions?
Start Free Trial