Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 16 NOV 2007 02:09:44AM Tony Lillyman wrote:

I'm reposting here (now that I have renewed subscriptions)

Maybe I'll get a response …

Hi Folks

I have a system (OI7.22) running over Citrix in which I call

Get_Printer(CurrentDevices) to obtain a list of "Available Printers"

At present it returns ALL Printers attached to ANY active Citrix session on that server, not just the ones for the session running.

ie remote printers not strictly speaking "available" to the session making the call.

I expect I will simply need to filter out all but the current sessions printers and the "global" ones.

Is this "normal" for Get_Printer on Citrix?

Any help appreciated.

Tony

Compose a Response to this document or a new Main Topic


At 16 NOV 2007 10:10AM Bob Orsini wrote:

Currently the getpinter command does not check sessions on Citrix.


At 16 NOV 2007 11:09AM Warren Auyong wrote:

As I recall it returns the printer devices for the client workstation and Citrix server.

Printers local to client workstation will have a name like:

Client/client_station_name#/printer_name

@Station will return the name of the Citrix Server. To get the client station name you need to parse the environment variable "CLIENTNAME".

So assuming the Citrix server is named "Citrix1" and the client workstation is "Accounting31":

@STATION=Citrix1"

CLIENTNAME env variable=Accounting31"

Printers local to "Accounting31" would be refered to as:

Client/Accounting31#/printer_name

Note the forward slashes and the pound sign (#)


At 18 NOV 2007 05:32PM Tony Lillyman wrote:

Thanks Warren

Yes I figured I would be doing some filtering

before building/displaying Printers List

Like you say it would be too difficult to

achieve.

Tony


At 18 NOV 2007 05:32PM Tony Lillyman wrote:

  • third_party_content/community/commentary/forums_works/54986dede89a8f5d85257395002757fa.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1