I needed to add a printer connection to a Citrix server but the problem was that this printer had a buggy driver. I wanted to use an alternative driver such as the Citrx Universal Printer driver but on Terminal Server you might want to use the Terminal Services Easy Print driver.

So I decided to make something that could be used in both situations, the result is a small commandline tool called AddPrinter2 (sorry I am not good in finding original names).

It takes 2 parameters: the printername as unc path and the driver name. An example would be:

AddPrinter2 “\\server\printer” “Citrix Universal Printer”.

The output would be something like this:


Please note that the tool works on Vista and higher, if you run it on XP or 2003 you will get an error message that the procedure entry point could not be found. It does not require Citrix or Terminal Server, you can use any other (installed) printer driver.

Have fun with it and please leave a comment if you like it!

AddPrinter2.zip (1098)