Installing the HP Universal Print Drivers on Citrix/Terminal Servers

by Jeremy Saunders 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.

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”

I hope that helps!

Jeremy Saunders

Jeremy Saunders

Independent Consultant | Contractor | Microsoft & Citrix Specialist | Desktop Virtualization Specialist at J House Consulting
Jeremy is a highly respected, IT Professional, with over 30 years’ experience in the industry. He is an independent IT consultant providing expertise to enterprise, corporate, higher education and government clients. His skill set, high ethical standards, integrity, morals and attention to detail, coupled with his friendly nature and exceptional design and problem solving skills, makes him one of the most highly respected and sought after Microsoft and Citrix technical resources in Australia. His alignment with industry and vendor best practices puts him amongst the leaders of his field.
Jeremy Saunders
Jeremy Saunders
Jeremy Saunders
  • 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()}

    • jeremy

      Thanks for the update Andy 🙂

Previous post:

Next post: