Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Citrix Printing Question

Status
Not open for further replies.

Chambers

IS-IT--Management
Joined
Jan 19, 2001
Messages
257
Location
US
Hey guys, wondering if this is possible;

Basically we have an exec that moves between two offices and he connects in each office to a published desktop. Now here's my question, is there a way to set him up so that citrix will see what location he's in and set his default printer to the appropriate one?

Basically he sits and logs in to location1..his default printer is set to location1 printer (already configured in auto-creation)

He goes to location2 and his profile changes and sets location2's printer as default.

These are not local printers. Please keep in mind I know how to set up citrix to create printers depending what printer gorups they are in, this question is more geared towards citrix detecting the site and switching default printer, thank you
 
You could perhaps use con2prt in a kix script that identifies IP subnet ?

[blue]Arguably the best cat skinner around ! [/blue]

Cheers
Scott
 
Is there a site that shows how to do this? I think that will do what I need.
 
Actually, does anyone know how to script the following?

If "IP=Whatever I Pick"
Then
con2prt /cd \\servername\printer
Else
con2prt /cd \\servername\otherprinter
End


I only know basic logic, but that is what I would like a batch file to do. Can someone write up a quick one for me? Thanks!
 
Hi,

Don't forget:-

Con2Prt /F
Con2prt /CD \\servername\printer

Otherwise you can have lots of the same printer mapped!

Cheers,
Carl.
 
Ok, I got the script working, but now I just realized there's another problem!! Read below; (I am using PXES for my client machines)

Basically, is there a way to use the ica client to run a certain script on the server depending what IP the pxes computer is given?

I have a vbscript that will determine IP address and run different script depending on ip, however it won't work for citrix because I just remembered that Citrix will see the server IP rather than the client IP. Is there a way around this? Does that make sense??? Thanks!!
 
nevermind everyone, i got it working!!!
 
Great - can you help us by showing what script or procedure was used to get it working?
Thanks!
 
Hi there

Just to add my input. Win2000 does not have a client IP object. Win2003 does. I got hold of a handy prog called clentIP that you can use in a login script to connect printers based on location whatever the Windows version.

All falls down a bit if remote offices have multiple printers, what printer to set as default.

REgards ACO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top