Wednesday, February 18, 2009

[THIN] clientname variable on passthrough ICA session

This is a bit developy, but i'll give it a whirl
 
We have 2 PS4 farms, one of which provides ICA passthrough to the other.
 
Both have the dynamic printing naming convention enabled using UPD, and the printer string in the resulting passthrough session shows the CLIENTNAME as being the originating client PC (e.g. clientpc1), and printing works fine
 
We have an application that this is causing a problem for however. This looks at the CLIENTNAME environment variable on the ICA passthrough session to try and match it to the client mapped printer, but this returns the servername of the originating Citrix server, which causes the app not to pick up the printer.
 
Does anyone know of a way to pick up the clientname that appears in the printer string, rather thatn the CLIENTNAME environment variable ?
 
Thanks
 
Andy

No comments: