Many people are wondering where the Printer Management node used for replicating print drivers is located in Citrix XenApp 6.x. This is now managed with the Windows Printer Management Role in Windows Server 2008 R2 or through XenApp PowerShell Cmdlets. I’m a big fan of the Citrix Universal Printer Driver but in some cases that’s not good enough and replicating print drivers to all Citrix XenApp servers are required. Luckily there’s light in the end of the tunnel.
Citrix Universal Print Server Tech Preview is available and will most likely be released at Citrix Synergy 2012. The Citrix Universal Print Server Technical Preview extends XenApp 6.5 and XenDesktop 5.5 Universal printing support to network printing. This feature eliminates the need to install numerous network printer drivers on XenApp and XenDesktop hosts, and enables more efficient network utilization. The new Citrix Universal printer driver supports direct network printing on Windows and non-Windows clients.
So while we wait for this new Citrix Universal Print Server, here’s the steps for replicating print drivers with XenApp PowerShell Cmdlets :
First you’ll need to decide which Citrix XenApp server you’ll be using as the source. A good suggestion would be your Preferred Data Collector. In our example that would be XA65-01. Start PowerShell as Administrator and run the following commands
- Set-ExecutionPolicy RemoteSigned
- Add-PSSnapIn Citrix.*
- Get-XAPrinterDriver –Servername XA65-01
This will display a list of all the locally install printer drivers on that particular server. The simplest way to install a lot of printer drivers is to connect to your print server and select to connect to the printers you need.
Now rerun the command : Get-XAPrinterDriver –Servername XA65-01
To make sure that all your Citrix XenApp servers have the same printer drivers it’s recommend to add the required printer drivers to the Auto-Replication-List. A good tip would be to have these commands in a Notepad file to make it easier for you to Add/Remove printer drivers.
Simply copy and paste the commands to the PowerShell window.
Add-XAAutoReplicatedPrinterDriver “Print Driver Name” -SourceServerName XA65-01
To display a list of Printer Drivers in the Auto-Replication-List you’ll use the following command :
I’m pretty sure there’s some smart people out there in the Citrix Community who have already created some smart automatic scripts for replicating print drivers in Citrix XenApp 6.x. Please share with the rest of the readers by adding your comment below if you know any good resources.
- How to Replicate Print Drivers with PowerShell in XenApp 6
- Understanding Universal Print Server (UPS)