Installing the HP Universal Print Drivers on Citrix/Terminal Servers

by Jeremy on December 9, 2009

I have found the latest batch of HP’s Universal Printer Drivers to be the very stable. The command line I use for installing the HP Universal Print Drivers on Citrix/Terminal servers is as follows:

Version 5.0 PCL 5

install.exe /q /npf /nd /dod /dos /dpm /ddu /dso /gdssnp /snptm=0 /dm /dmpa /dads /pqdmpa /pqdads

Version 5.0 PCL 6

install.exe /q /npf /nd /dod /dos /dpm /ddu /dso /gdssnp /snptm=0 /dm /dmpa /dads /pqdmpa /pqdads

Version 5.0 PS (Post Script)

install.exe /q /npf /nd /dod /dos /dpm /ddu /dso /gdssnp /snptm=0 /dm /dmpa /dads /pqdmpa /pqdads

Where…

  • /q – Quite mode, no prompts
  • /npf – Do not open the Printers folder on completion
  • /nd – Does not set the printer as the default
  • /dod – Disables the Online Diagnostic option on the Services tab in the HP UPD
  • /dos – Disables the Online Support option on the Services tab in the HP UPD
  • /dpm – Disables the Online Product Manual option on the Services tab in the HP UPD
  • /ddu – Disables the Online Driver Updates option on the Services tab in the HP UPD
  • /dso – Disables the Online Supplies Ordering option on the Services tab in the HP UPD
  • /gdssnp – Disables the Status Notification Pop-ups for all printers
  • /snptm=0 – Disables the Special Offers program pop–ups
  • /dm – Installs the printer in dynamic mode
  • /dmpa – Disables HP MPA policy checking for current user
  • /dads – Disables ADS policy checking for current user
  • /pqdmpa – Disables MPA policy checking for the current print queue (logical windows printer) no matter who uses it
  • /pqdads – Disables ADS policy checking for the current print queue (logical windows printer) no matter who uses it

Three printers will then appear in “Printers and Faxes” as per the screenshot below.

hpuniversalprintdrivers2 Installing the HP Universal Print Drivers on Citrix/Terminal Servers

The following commands will remove the printers ONLY, leaving the drivers behind.

rundll32 printui.dll,PrintUIEntry /dl /n “HP Universal Printing PCL 5″

rundll32 printui.dll,PrintUIEntry /dl /n “HP Universal Printing PCL 6″

rundll32 printui.dll,PrintUIEntry /dl /n “HP Universal Printing PS”

hpuniversalprintdrivers Installing the HP Universal Print Drivers on Citrix/Terminal Servers

I hope that helps!

Related posts:

  1. Print Spooler Self Healing 1.0
  2. Antivirus Strategy for Citrix Servers
  3. Tuning and Tweaking Tips for Terminal/Citrix Server Environments
  4. Script to remove printers
  5. Print Spooler Self Healing 2.0

{ 2 comments… read them below or add one }

Andrew Morgan November 9, 2011 at 8:22 pm

Hi Jeremy, with the latest installer most of these command lines are obsolete, instead use:

start /wait install.exe /q /h /dm /npf

and to delete the printer with powershell use:

gwmi win32_printer | where {$_.name -like “HP Universal*”} | % {$_.delete()}

Reply

jeremy November 29, 2011 at 11:31 pm

Thanks for the update Andy :-)

Reply

Leave a Comment

 

Previous post:

Next post: