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

Technical Architect | DevOps Evangelist | Software Developer | Microsoft, NVIDIA, Citrix and Desktop Virtualisation (VDI) Specialist/Expert | Rapper | Improvisor | Comedian | Property Investor | Kayaking enthusiast at J House Consulting
Jeremy Saunders is the Problem Terminator. He is a highly respected IT Professional with over 35 years’ experience in the industry. Using his exceptional design and problem solving skills with precise methodologies applied at both technical and business levels he is always focused on achieving the best business outcomes. He worked as an independent consultant until September 2017, when he took up a full time role at BHP, one of the largest and most innovative global mining companies. With a diverse skill set, high ethical standards, and attention to detail, coupled with a friendly nature and great sense of humour, Jeremy aligns to industry and vendor best practices, which puts him amongst the leaders of his field. He is intensely passionate about solving technology problems for his organisation, their customers and the tech community, to improve the user experience, reliability and operational support. Views and IP shared on this site belong to Jeremy.
Jeremy Saunders
Jeremy Saunders

Previous post:

Next post: