Cool Solutions

How to Set a Default Network Printer in a Citrix Environment



By:

April 23, 2009 3:11 pm

Reads: 9401

Comments:0

Score:0

We have 25 remote sites all with their own networked iPrint printers. The iPrint manager is located at our centrally located HQ. The challenge was to be able to set the default network printer for Citrix users on each of these sites.

All of our users login via Citrix Xenapp 5 running on Windows 2003 servers. The servers have Novell Client 4.91 SP5 and iPrint 4.32. The network printers have all been installed on these servers.

To set a default network printer we added the following to the users’ container login script :

# rundll32 printui.dll,PrintUIEntry /y /n "Printername"

The printer name is the name displayed in the printers box in windows. In our case when we installed the printers the names were rather long because they contained the printer name and url, so all of printers were renamed in windows to just the object name.

We have found one gotcha with this, when a user logs in for the first time an error message is displayed :

Once the user selects ok the default printer is set and is saved in their windows profile. After that the message is never displayed again, except when a user has a new profile or if their account is moved to another container/site.

NOTE: The default printer does not take affect until after they logout and back in again for the first time. So it’s not a completely seamless setup but after the second login it all works nicely.

This script does not take into account locally attached printers which are normally the default.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS