Solved
Cannot print to a redirected serial printer from Wyse V10LE on XenApp 6.5 HR01
Posted on 2013-02-05
I have an application that sends print jobs directly to COM1, printer objects will not work. This is my setup:
WS 2008 R2 SP1 Enterprise
XenApp 6.5 with HR01
Wyse V10LE WTOS with Firmware 7.0.0_34 and ROM 1.19
Epson TM-U375 Serial Printer attached to COM1 on Wyse
From the Wyse box printer properties, I can print a test page.
In an ICA session, at login I run: net use com1: \\client\com1:
In a command prompt I can successfully print using "echo test123 > com1"
When trying to print from the application it just hangs. I can reset which COM port is used, setting it to none. When the application is next launched, it asks if the printer I want is on COM1, so it seems it can see it – just not print to it.
If I create an object printer using COM1 for the port, I cannot print to the printer. No error, nothing is printed, and nothing stuck in the queue. Is this expected behavior?
We are moving from XenApp 4.5 on 2003 R2 (32-bit). On the same Wyse box with the same printer, printing works from: Wyse, command line, object printer, application.
These are the COM port settings I copied from the working 2003 XenApp 4.5 Server: mode com1: baud=9600 parity=n data=8 to=off xon=on odsr=off octs=on rts=on octs=off dtr=on
Group Policies (have been removed and set locally, no change):
Computer\Policies\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Device and Resource Redirection: Do not allow COM port redirection – Disabled
Computer\Policies\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Printer Redirection: Do not allow client printer redirection – Disabled
Citrix Policies:
Auto connect client COM ports – Disabled
Auto-create client printers – Auto-create all client printers
Client COM port redirection - Allowed
Client printer redirection – Prohibited (when Allowed, I get this error: An error occurred while retrieving client printer properties. Default printer properties will be used instead. Client name: (WT00806496833f) Printer: (Epson1 (from WT00806496833f) in session 2) Printer driver: (Generic / Text Only))
Universal driver preference – XPS;EMF;PCL5c;PCL4;PS
Universal print driver usage – Use universal printing only if requested driver is unavailable
Universal Printer Server enable – Enabled with no fallback to Windows’ native remote printing
Universal Print Server print data stream (CGP) port – 7229
Universal Print Server web service (HTTP/SOAP) port – 8080
When “Client printer redirection” is Allowed, a printer is created - Epson1 (from WT00806496833f) in session 2 – using port CLIENT:2:EPSON1 (Client Printer Port)
I can print to this printer successfully in notepad. I cannot choose this printer in the application.
Where it get's confusing is when the same Citrix server with the same policies and settings, and the same printer is attached to an XP workstation, using ICA the application can successfully print (I still cannot print from an object printer).
I have the application vendor looking on their end, no luck so far. I have Wyse checking things out on their end, nothing. I have been unable to determine why the application can print from one device and not another, is the Wyse box the problem (maybe the ICA client on WTOS), is it the application, or policies, or ? Please help.