Replicating Printer Drivers in XenApp 6


The following command will replicate the drivers whos name start with “hp uni” to the servers specified at the end of the command. The -confoirm at the end lets you confirm that each driver will be replicated or not:

Manual Replication:
Start-XAPrinterDriverReplication -drivername “hp uni*” -sourceservername desk05 -servername desk01,desk07 -confirm

Confirm
Are you sure you want to perform this action?
Performing operation “Start-XAPrinterDriverReplication” on Target “HP Universal Printing PCL 5”.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is “Y”): y

Confirm
Are you sure you want to perform this action?
Performing operation “Start-XAPrinterDriverReplication” on Target “HP Universal Printing PCL 5 (v5.1)”.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is “Y”): y

Automatic Replication:
The following command will allow for a driver to be added to an autoreplicated driver list:
Add-XAAutoReplicatedPrinterDriver -DriverName “HP Universal Printing PCL 5 (v5.1)” -SourceServerName desk05

DriverName                                         ServerName                                 Overwrite
———-                                                  ———-                                          ———
HP Universal Printing PCL 5 (v5.1)      DESK05                                          False

The following should then be run to push the driver out to each of the servers requiring the drivers:
Get-XAPrinterDriver -ServerName deskXX

Removing a Driver from the Auto-Replication List:
Remove-XAAutoReplicatedPrinterDriver –DriverName “HP Universal Printing PCL 5 (v5.1)” –ServerName XASource (Where XAServer is a server that has the driver installed on)

———————————————————————
Sources: http://support.citrix.com/article/CTX126125

About Chris Ainger

I have been working in IT since 1998 in the Public Housing Sector. I have worked with Citrix since 2003 in the days of Citrix Metaframe XP 1.0 FR2. Since then I have been through the processes of upgrading to Presentation Server 4.0 with a farm of around 150 servers. Since then I have helped create a farm of around 200 servers using XenApp 6.0 on VMware 4.1. This was a great experience which has only increased during the upgrades of the environment for out 2000+ users. All of our clients are the WYSE 10 series using ThinOS which I have helped configure for individual users from a central location making administration very simple. I gained my CCA qualification in XenApp 6.0 in January 2012. I am a big fan of SolarWinds also, which is a great monitoring tool. It is very versatile with a small footprint of resource usage on the targeted devices. I am currently designing the interfaces for the IT department for daily use and also a Service view for the Support Desk Team. I am also a keen fisherman, having restarted again after 20 years. I set myself yearly targets to try to complete which makes this more interesting and belong to several forums of other like-minded folks. I, on occasion, fly fish for trout as a treat once in a while or when the fridge gets empty and also sea fly fish for bass and mullet. My main area is sea fishing from either beach, harbour wall or pier. There are so many species of fish to catch around the UK that you can mix up the locations to try something different.

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: