Print | Rate this content

HP UPD - Install and uninstall the HP UPD

Introduction

This chapter contains the following sections:

The mode used to install the HP UPD determines the HP UPD user experience and also influences the extent of HP UPD management.

  • Traditional mode

    An HP UPD installed in Traditional mode behaves like a product specific driver. During installation, the driver is associated to a specific printer, creating a permanent instance of the driver.

  • Dynamic mode

    An HP UPD installed in Dynamic mode allows the most flexibility. A user can find and print to any supported HP product within any network or print environment without installing a product-specific driver. The HP UPD discovers the product capabilities so that users can print using most product capabilities, including advanced printing options such as watermarks and booklet printing.

    For Windows 8, Dynamic mode is only supported in Windows 8 desktop applications.

    Creating a permanent instance makes the printer appear (in the UI) more like a traditional print driver but its features can still be updated dynamically. This also reduces the number of mouse clicks a user goes through when selecting a printer that is used often.

The following information provides detailed instructions for installing the HP UPD in either traditional or dynamic mode, along with instructions on how to remove the HP UPD .

Supported modifications of the HP UPD

  • The HP UPD must be installed exactly as it was received from HP, with no modifications except as provided by HP-supplied utilities such as the HP UPD , HP UPD , or HP UPD . No other driver modifications are supported.

  • The HP UPD must be installed using the HP-supplied installer (INSTALL.EXE) or using a Microsoft-recommended and HP-approved tool and/or process listed in installation methods . The use of any other tool or method must be approved by HP in writing to be considered a supported installation method.

  • Any modifications to any HP UPD driver files (.INF, .MSI , etc.), making registry edits after installation, or manually copying or deleting files, except when explicitly instructed to do so by HP in writing, will result in an unsupported configuration.

  • HP UPD should be deleted using only Microsoft-supplied tools and procedures. Manual deleting of registry entries and/or driver files is not recommended and not supported. See Uninstall the for more information.

Install HP UPD v5.1 and later

Use this section to install or upgrade HP UPD v5.1 or later.

Determine the HP UPD version installed

To determine if the HP UPD is already installed, open the Printers folders using one of the following methods:

Command Line —From a command prompt (StartRun , type cmd
, and then press enter) type the following command to open the Printers folder: control printers
.

User Interface —Dependent upon operating system version:

  • Windows XP —Click the Start button, and then select Printers and Faxes .

  • Windows Vista —Click the Start button, select Control Panel , locate the heading Hardware and Sound , and select the sub-topic Printer .

  • Windows 7 —Click the Start button, and then select Devices and Printers .

  • Windows Server 2003 —Click the Start button, and then select Printers and Faxes .

  • Windows Server 2008 —Click the Start button, select Control Panel , and then select Printer .

  • Windows Server 2008R2 —Click the Start button, and then select Devices and Printers .

  • Windows 8 and Windows Server 2012 —Move the cursor to the lower left corner of the desktop and when the menu appears, right click on it. Click Control Panel , and then select Devices and Printers .

Select the printer, right mouse click, and then select either Properties or Printer Properties .

  • For an HP UPD dynamic mode installation, the HP UPD version displays on the lower left.

  • For an HP UPD traditional mode installation, select the About tab. The HP UPD version displays at the top.

Microsoft Windows Driver Architecture

The HP Universal Print Drivers (HP Universal Printing PCL 5 and PCL 6) are dependent on the Microsoft Windows Unidriver (unidrv.dll
) architecture. The HP UPD PS driver is dependent on the Microsoft pscript5.dll
. The HP UPD release notes provide the unidrv.dll
version used by HP for internal testing and subsequently qualified by Microsoft’s WHQL test process. The Microsoft WHQL certification gives the HP UPD the Certified for Windows logotype. The HP UPD is supported by HP for all versions releases of unidrv.dll
that remain under Microsoft’s standard support. It is the expectation that Microsoft’s updates to unidrv.dll
and/or changes to pscript5.dll
will be backward compatible in support of the Microsoft Windows® universal print driver architecture. Any unexpected behavior resulting from the dependency on the Microsoft unidrv.dll
or pscript5.dll
requiring code change to the HP UPD would become a candidate for fix in the next release of the HP UPD , and/or investigated with Microsoft, as required. The HP UPD installer is one of several possible distribution mechanisms for the shared unidrv.dll
and pscript5.dll
files.

The HP UPD includes the unidrv.dll
and pscript5.dll
. This means that the HP UPD installation package might update the unidrv.dll
and pscript5.dll
as necessary during install.

Before installation, it is advised to review this guide and the following Microsoft articles:

  • KB832219 —Users cannot print after you install a service pack update, rollup, or printer hotfix on a server in Windows 2000 or in Windows Server 2003.

  • KB944733 —The Add Printer Wizard stops responding in Windows Server 2003 SP1 when you install a printer to a print server.

  • KB829766 —Mailbox and other printer specific settings are saved with an Excel file.

Enterprise environments that have a unidrv.dll
version earlier than the version packaged in the HP UPD might experience the symptoms defined in the Microsoft articles. Administrators should identify the unidrv.dll
or pscript5.dll
version installed on the target host's \windows\system32\spool\drivers\*\3 directory
, compare to the HP UPD Version History table in the HP UPD release notes, and create appropriate testing and deployment plans specific to the installation environment.

To see what version of UNIDRV and PSCRIPT files are on the system and compare against the version you are about to install, see .

HP UPD installation methods

HP UPD supports the following for new printer installation and driver upgrade. All methods support pre-configuration of the driver's settings using the HP UPD functionality. Considerations for each method provided:

HP UPD's INSTALL.EXE —This method can be used for traditional mode and dynamic mode installation. It is launched from the command line or a script and supports optional configuration switches executed during the installation process. Use install.exe /?
for available options.

Microsoft Operating System —These methods can be used for installation in traditional mode. HP supports the following Microsoft methods for print driver install or upgrade of the HP UPD :

  • Add Print Wizard —Accessible from Printers folder — wizard based installation for new printer install and driver upgrade.

  • Add Driver Wizard/Replace Driver —From the Printers folder select either File -Server Properties -Drivers tab (XP, Vista, Server 2003, Server 2008) or select a printer name, select the Print Server Properties button (Windows 7, Server 2008R2, Windows 8, Server 2012) and then select the Drivers tab. Methods available include:

    • Add Driver —New driver installation, creating a new printer and adds driver version to the Microsoft driver store.

    • Replace driver (XP and Vista)—For the selected printer, replaces the currently used driver with a driver of the same name taken from the Microsoft driver store.

  • Print Management Console —For Windows 7, Server 2008R2, Windows 8, and Server 2012, from the Control Panel select Administrative Tools and then select Print Management . The Print Management Console enables you to install, view, and manage all of the printers in your organization. See Microsoft documentation.

  • PrintUI —Allows common print administration tasks from a command prompt or script, including adding a new printer, delete existing printing, add or remove host connections.

  • pnputil —Add or remove HP UPD (use with Windows Vista, Windows 7, Windows 8, Windows 2008 R2, and Windows Server 2012). Allows addition of the driver to the driverstore, but does not create a printer.

HP UPD —This method can be used for installation in traditional mode. This utility packages pre-configured HP UPD installation files, and the code needed to deploy them, into an *.EXE and a *.CAB file. These files are run on the client PC to copy the driver files to the Windows driver store, and optionally, install the printer.

HP UPD —This method can be used for installation in traditional mode. Administrators can create, edit, and delete printers and install or update print drivers by using the Print Management features in HP UPD .

Point and Print —This method can be used for installation in traditional mode. The HP UPD can be vended from a server to clients connected to a shared printer, performing either a new printer install or driver upgrade.

HP UPD also supports USB Plug and Play, which is not an installation method for the driver, but instead a method for an already installed print driver to create a new printer instance in the printer's folder.

Explanation of driver name

During a new driver install, or when changing the driver version of an installed HP UPD printer, you can select either the version-specific option (for example HP Universal Printing PCL 5 (v5.2)), or the non-version-specific option (for example, HP Universal Printing PCL 5). These two choices are defined by HP and read directly from the driver hpcuxxxx.inf file. Selecting either option installs the same set of capabilities. The version-specific option is available so that you can install different driver versions on the same server (a v5.0 driver can coexist with a v5.2 driver). With HP UPD v5.4.5 and higher, you can also install different minor release versions. With earlier versions, this is not possible. For example, you cannot install a v5.2.5 driver and v5.2.6 driver on the same server, because these are the same major.minor release version (v5.2).

Starting with HP UPD v5.5.0, the driver supports a major.minor.subminor release version. For HP UPD 5.4 and previous releases, a customer will not benefit from this change. With this change, you can install a HP UPD 5.6.0 driver and HP UPD 5.6.5 driver on the same server.

The installation option to select the version specific HP UPD driver name applies only to traditional mode installations. Implementation options include the following:

  • install.exe /tm
    — Installs the non-version-specific driver.

  • install.exe /m “<UPD specific version>”/sm <port>
    — Installs the specific version. For example: install.exe /m”HP Universal Printing PCL 5 (v5.2)”/sm”LPT1”

    HP UPD v5.2.6 and ealier require that the full name and version are provided with the /m switch, as in the above example (“HP Universal Printing PCL 5 (v5.2)”
    ). HP UPD v5.3 and later does not require the full name or version when using the /m switch.
  • Add Printer Wizard—After selecting the HP UPD inf file, the GUI offers the choice between version-specific HP UPD and non-version-specific HP UPD .

  • printUI—For example:

    C:\rundll32 printui.dll, PrintUIEntry /if /b"printer1" /f hpcu111c.inf /r"lpt1:" /m"HP Universal Printing PCL 6"

    C:\rundll32 printui.dll, PrintUIEntry /if /b"printer2" /f hpcu111c.inf /r"lpt1:" /m"HP Universal Printing PCL 6 (v5.2)"

    The first command installs a printer with the name printer 1 using the non-version-specific PCL 6 driver. The second command installs a printer called printer 2 using the version-specific PCL 6 driver.

HP UPD name selection

The first option, "HP Universal Printing," referred to as the non-version-specific HP UPD , will install or upgrade all printers using the HP UPD to the driver version being installed. For example, if HP UPD v5.0 is installed on the system as "HP Universal Printing PCL6" and the administrator installs the PCL 6 HP UPD v5.1 selecting the non-version HP UPD during install, every printer using the driver name "HP Universal Printing PCL" will be upgraded.

The second option, "HP Universal Printing PCL6 (vX.Y)", referred to as the version-specific HP UPD , creates a version-specific driver name instance of the HP UPD . Selecting the version-specific driver name of the HP UPD does not upgrade the HP UPD 's printers that have a different driver version assigned to the printer. This allows a print server to have multiple driver versions of the HP UPD on a single system. For example, the following driver names could all be on the same host:

  • HP Universal Printing PCL 6 (v5.1)

  • HP Universal Printing PCL 6 (v5.0)

  • HP Universal Printing PS (v4.7)

  • HP Universal Printing PS

  • HP Universal Printing PCL 5 (v4.7)

Maintenance releasesHP UPD v5.4 and earlier only display Major.Minor version numbers display in the MODEL field, which becomes the printer model name. For example, “HP Universal Printing PCL 6 (v5.1)” displays in the MODEL field for v5.1.x of the HP UPD . If v5.1.0 is installed followed by an installation of v5.1.1, all printers on the print server using driver v5.1.0 would upgrade to v5.1.1. HP UPD v5.4.5 and later display Major.Minor.Subminor version numbers in the MODEL field, which becomes the print model name. For example, HP Universal Printing PCL 5 (v5.4.5). With this change, you can install a UPD 5.6.0 driver and UPD 5.6.5 driver on the same server.

After the installation of different driver versions, all installed drivers will use the same version of unidrv.dll and pscript5.dll (the latest version).

Printer name matches driver name —By default, the printer name will match the driver name defined in the hpcuxxxx.inf file. For example, both the driver name and the printer name of the HP UPD are "HP Universal Printing PCL6 (v5.1)". HP recommends that administrator's change the printer's name to be different than the installed driver name.

Identify the driver name for the HP UPD printer —Follow these steps to view the driver name for an installed printer:

  1. From a command prompt (StartRun , type cmd
    , and press enter) type the following command: control printers
    , and then press Enter.

  2. Within the Printers folder, select the installed driver, right mouse click, and then select either Properties or Printer Properties .

    • For an HP UPD dynamic mode installation, Print Preferences , select OK , and then go to the Advanced tab.

    • For an HP UPD traditional mode installation, select the Advanced tab, see the "Driver" for installed driver's name.

Download and unzip the HP UPD installation files

Before you begin the installation procedure, use the following steps to download and unzip the HP UPD installation files:

  1. Go to the following Web site:

    HP UPD

  2. Click Download software , click a print driver, verify your language, and then click your operating system. From the table find the driver PDL you need, and then click Download .

  3. Navigate to the HP UPD download file.

  4. Unzip the HP UPD download file.

    1. Double-click the downloaded file.

    2. Deselect the When done unzipping open INSTALL.EXE option.

    3. Click the Unzip button. When the unzip process completes, click OK , and then click Close .

Installation methods and environments

Install the HP UPD driver and create a printer instance by using one of the following methods.

You must have Print Administrator rights to install a print driver.

Method 1: Windows client/server: Use Add Printer wizard

Follow these steps to install the HP UPD in Traditional mode with the Windows Add Printer Wizard .

The Windows Add Printer Wizard does not provide any custom options. If you install the HP UPD by using this method, the driver installs so that the user has common printing functionality.
  1. From the Control Panel , navigate to the Printers folder.

  2. Select Add a Printer .

    The steps listed here are for Windows 7. The screens of the wizard may vary slightly between operating systems. For example, in Windows 8 and Server 2012, the first dialog searches for the printer. Select The printer that I want isn't listed to move to the next screen. On the next screen, select Add a printer using a TCP/IP address or hostname and then click Next .
  3. Select Add a local printer .

    If you are using an existing port, or if you are specifying the Port Name instead of using the default, make sure that the name you use does not contain the colon ‘:’ character. This character is not allowed, and will cause configuration and status communication problems with the printer.
  4. Select Create a new port , and then select Standard TCP/IP Port . Click Next .

  5. The Add Standard TCP/IP Printer Port Wizard opens. Click Next .

    Make sure to deselect Query the printer and automatically select a driver .
  6. The Add Port dialog box opens. In the Host Name or IP Address field, type the DNS or WINS host name or IP Address (un-check Auto Search in Server 2008). Click the Next button.

    If the DNS host name is used for the port, click the Always print to product, even if its ID address changes check box.
    If the Additional Port Information Required dialog box opens, it means the printer is not connected. Under these circumstances it is best to cancel out of the installation, connect and turn on the product, and then start over. If you must continue the installation, then under Device Type , select Standard , and then select Hewlett Packard JetDirect from the menu. Click Next .
    Installing the HP UPD with the product disconnected or off line prevents the HP UPD from receiving the product configuration, which results in the used default settings (monochrome, no job storage, etc). Following complete install of the HP UPD , to update the HP UPD product configuration, right-click the printer, select Properties , select the Device Settings tab, scroll down to Automatic Configuration and select Update Now .
  7. The Install Printer Software dialog box opens. Click Have Disk .

  8. Browse to the folder in which the unzipped HP UPD download file is saved.

  9. In the unzipped HP UPD file, select any .inf file, and then click Open . You will be prompted to select a driver name, either the generic name or a version specific name. See .

  10. Click OK .

    HP recommends using the versioned driver on print servers.
  11. The Install Printer Software dialog box lists the driver under the Printers box. Select the HP Universal Printing driver and then click Next .

  12. The Name Your Printer dialog box opens.

    The name specified In the Printer name: field is the name of the installed printer and displays in the Devices and Printers folder. The default printer name for the non-versioned driver is “HP Universal Printing PCL6” for the first installation. However, this increments to “HP Universal Printing PCL6 (copy1)” and so on for subsequent installs.

    Rename the printer to better identify the printer and click Next .

  13. The Printer Sharing dialog box opens. Select Do not share this printer , or enter a Share name: to share the printer. Click Next .

  14. Select or deselect Set as the default printer and if you want to print a test page, click Print a test page . Once the test page prints, click Finish .

  15. The Completing the Add Printer Wizard opens. Click Finish .

Method 2: Windows client/server: Use INSTALL.EXE wizard

Follow these steps to install the HP UPD by using the HP Universal Printing Installer Wizard.

  1. If you have not downloaded the HP UPD installation files, see Download and unzip the .

  2. Navigate to the HP UPD folder.

  3. Double-click INSTALL.EXE.

  4. The Universal Printing Installer Wizard opens. Read the software license agreement, and then click Yes to continue.

  5. The Installation Mode dialog box opens. Select Traditional mode and click Install .

    Only traditional mode queues are supported on print servers. Do not create and share dynamic mode queues on any print server.
  6. Click Add a local printer and then click Next .

  7. To add a new port, select Create a new port , select Standard TCP/IP Port in the drop down list, and then click Next .

  8. Deselect Query the printer and automatically select the driver to use , type in the IP address or hostname, and then click Next .

  9. Select the Versioned HP UPD driver from the list and then click Next .

    HP recommends using the versioned driver on print servers.
  10. If an HP UPD is currently installed, select Replace existing driver and then click Next .

  11. The Type a printer name dialog box opens. The name specified in the Printer name: field is the name of the installed printer and displays in the Devices and Printers folder. The default printer name is HP Universal Printing PCL 6 (v5.x.x) for the first installation. However, this increments to HP Universal Printing PCL6 (copy1) and so on for subsequent installs. Rename the printer to better identify the printer, and then click Next .

  12. The Printer Sharing dialog box opens. Select Do not share this printer , or enter a Share name: to share the printer. Click Next .

  13. Select or deselect Set as the default printer and if you want to print a test page, click Print a test page . Once the test page prints, click Finish .

  14. The Completing the Add Printer Wizard opens. Click Finish .

  15. The Finish dialog box opens. Click Finish .

Method 3: Windows client/server: Use command prompt (INSTALL.EXE with switches)

At the command prompt, type C:\Folder\install /option , where Folder is the location of the INSTALL.EXE file, / is a forward slash, and option is the command option. For a list of available command options, see Available options when installing by command prompt . Use the command options to control the installation and the behavior of the HP UPD after installation.

In an enterprise environment, a login script might be used to install the HP UPD on a client.
To view a complete list of installer options, type the following at the command prompt:

c:\folder\install /?

For example, to make the installation silent by making it available through an .EXE-based administration tool (such as SMS), type the following syntax:

C:\folder\install /q /h

The /h switch hides the HP install dialogue.

Or, to install the driver in dynamic mode, type the following:

C:\folder\install /dm

For more information about the command options, see the following sections:

Manage printer default settings after installation

When a printer gets installed, certain default settings are automatically set based on what capabilities are available from the product. These default settings include items such as default paper size and type, simplex, or single side printing, and portrait or landscape printing. In many printing environments it is common for printing administrators to change the default settings. Some of the more common changes are to enable printing on both sides of the paper (duplex) and to print in grayscale.

There are many ways to change or pre-configure these default settings and some are discussed in other chapters of this Systems Administrator's Guide. This section primarily discusses how these new default settings are deployed and how to manage or provide firmer controls on changes allowed to these default settings.

Default settings and changes are not managed

Other sections in this document describe the use and procedures for changing the default settings in both a Point and Print and Direct IP Printing environments. Please refer to the sections on HP UPD , HP UPD , and INSTALL.EXE for specific instructions on how to use these tools.

It is important to understand that changes to the printing default settings are at most temporary and basically not managed. Users have the ability in both Direct IP Printing and Point and Print environments to change the default settings on their printers through the Printing preferences tab. In some cases, depending on company policies, a centralized management approach is necessary to ensure that the default settings are not changed.

Manage default settings with HP UPD

HP UPD and Active Directory templates offer ways to ensure that the default settings are maintained and managed. When using HP UPD , policy settings are vended down to the clients and stored in a cache that the HP UPD print driver refers to. The refresh rate inside the HP UPD policy determines how often the HP UPD refers to the policy settings. This solution ensures that the default settings are maintained throughout the printing environment.

Manage default settings with Active Directory templates

HP’s solution for printer policy settings using an existing Active Directory environment is to use the Active Directory administrative templates inside each of the group policy objects. This template also allows an administrator to set some defaults for duplex, and grayscale printing. These policies are pushed locally into the users registry and referred to during printing. This has the effect of constantly refreshing the users default setting so each time a user prints the correct default settings are present. Policies are pushed to the client PCs. This has the effect of refreshing the default printer settings automatically.

Please refer to the sections on using HP UPD and the Active Directory Group Policy for further information.

Available options when installing by command prompt

To view these options, enter the following at the command prompt:

C:\Folder\Install /?

where

  • Folder is the location of the INSTALL.EXE file.

  • / is a forward slash. Do not add any spaces between the forward slash and the command option.

The command options are explained in the following table.

Command options
Command option
Definition
Description
/aml
Adds a new managed printer list name using the specified URL (dynamic mode only). For example:
/aml"My Server","http://mywebserver"
Or:
/aml"My Printers","\\myprinters\printerlist\printerlist.xml"
Use this option to specify a location where the target system can look for the managed printer list.
/gcfm
The new install switch copies the driver pre-configuration file (hpcpu*.CFM) to the client %systemroot% \..\..\3 directory. For example:
install.exe /tm /gcfm”c:\driverpackage\duplex.cfm
Beginning with HP UPD v5.2.5, you can use the /gcfm option when installing from the command line using INSTALL.EXE to copy the .CFM file, which was created with the HP DCU.
/q
Quiet mode, no prompts
Use this option to install the driver and present only a single progress dialog box to the user. All other HP installer related warnings and confirmations are hidden, and default actions occur in cases where user input would otherwise be expected.
/npf
Do not open the Printers folder on completion.
The default behavior of the installer is to open the Printers folder on completion. This option disables that functionality.
/ru
Restricted user mode only displays HP Managed Printer Lists (dynamic mode only)
Use this option to configure the driver so that users can only print to the products that you specified in the managed printer lists. The Printer Selection dialog box is replaced with a dialog box that lists the printers in the managed printer list. For more information, see .
/sc
Simple confirmation (dynamic mode only)
Use this option to install the driver so that location profiles are disabled in the Printer Selection dialog box in dynamic mode.
/h
Hides the install dialog box; must be used with Quiet mode (/q
)
Use this option to hide the primary HP installation dialog box and produce a silent installation.
/sm<port>
Creates a traditional printer instance bound to a specific <port>. The syntax is:
/sm\\servername\sharename
Or:
/smPrinterHostname
For example: /sm15.65.98.111
This option implies that driver is installed in traditional mode and the /tm
should not be used in combination with the /sm
option.
Use this option to create a statically bound printer that points to the specified port (local, TCP/IP, IPX/SPX, Hostname, UNC). If the port already exists, the existing port is used. If it does not exist, then a new port is created. The printer operates as a normal queue.
If the HP Universal Print Driver is installed in traditional mode, the static mode printer does not allow the user to use the universal printing functionality or change the destination address of the static mode printer.
/n”Printer Name”
Uses the specified name as the name of the printer, for example:
/n”HP LaserJet P4515”
This option uses the specified name as the name of the printer (for example, HP LaserJet P4515).
This option is helpful when using the traditional mode (/sm) option, but can be used for common printing as well.
/ni
Does not perform the printer install, only processes other install options
Use this option to process the specified install options without creating a printer in the Printers folder.
You can then create subsequent instances of the HP UPD that show only the configured options that are not queue-specific.
/nd
Does not set the printer as the default.
This option does not change the current default printer on the client system. By default, the installer sets the newly installed or updated common printer as the default printer.
/dgst
Disables the Services tab globally in the HP UPD for all print queues.
Use this option to completely disable and hide the Services tab when accessing the printer property pages.
/snptm=0
Disables the Special Offers program pop–ups.
/tm
Installs the printer in traditional mode
Cannot be used with the /sm option.
Use this option to force the HP UPD to install in traditional mode. This routine launches the Add Printer Wizard, and prompts the user to select a printer port to complete the process. Do not use this option when using the /sm option.
/dm
Installs the printer in dynamic mode
Use this option to force the HP UPD to install in dynamic mode.
/u
Use the existing print driver if it is already installed
Use this option to remove the dialog box asking the user to “Use existing driver” or to “Replace existing driver.” To reduce installation time, use this option if you must install several printers using the same driver.
/qcomname”name”
Specifies a queue-specific SNMP community name
/gcomname”name”
Specifies a system-global SNMP community name
/m
Provides the ability to specify the driver version name allowing multiple versions of HP UPD to be installed onto one system. This command option is only available in traditional mode.
The /sm is required when /m is used. Cannot be used with /sm\server\printer. The /n is optional.
Syntax example
/m"HP Universal Printing PCL 5 (v5.0)" /sm10.1.3.2
If a syntax error exists in the command line switch, installation proceeds without implementing the /m
version-specific installation of the HP UPD .
HP UPD v5.2.6 and earlier require that the full name and version are provided with the /m switch, as in the above syntax example (“HP Universal Printing PCL 5 (v5.0)”). HP UPD v5.3 and forward does not require the full name or version when using the /m switch.
/s
Provides the ability to specify the virtual node for cluster installation. Available with HP UPD v5.3 forward.
Install the HP UPD from one of the cluster nodes on the virtual node. (HP recommends running this command from the active node.) Syntax example:
install /s"\\VirtualServerName"
There is no space between “\\” and “VirtualServerName”.
Command options for policy management
Command option
Description
/policy
“MPA server name”
Enables HP MPA policy checking on a per user basis using current policy settings (default is to use managed-print). Using the /gpolicy”MPA server name” command line option specifies the HP MPA Policy for all users of a system.
/empa
Enables HP UPD policy checking for current user using current policy settings (default is to use managed-print). Using the /policy”your_mpa_server” command line option is the equivalent of enabling HP UPD policy checking and forcing the HP UPD server to query the http server “your_mpa_server”.
/gempa
Enables HP UPD policy checking for all users using current policy settings (default is to use managed-print). Using the /policy”your_mpa_server” command line option is the equivalent of enabling HP UPD policy checking and forcing the HP UPD server to query the http server “your_mpa_server”.
/dmpa
Disables HP UPD policy checking for current user.
/pqdmpa
Disables HP UPD 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.
/gpolicy
See the /policy
example above. The difference between these switches is that /gpolicy
specifies the HP UPD Policy URL for all users of a system. /policy
specifies this information on a per user basis.

Method 4: Windows client/server: Use Point and Print

To use the HP UPD and Point and Print, install the driver on the print server in Traditional mode . After the driver installs on the Windows server, it behaves as any other installed driver. The user prints to a statically bound port established on the server.

When a client PC connects to a shared printer, the HP UPD automatically downloads to the client PC through Point and Print.

Vending of 32-bit drivers is supported from all 64-bit server OSs. Vending of 64-bit drivers is supported from all 32-bit OSs that support 64-bit alternate drivers. To vend a driver from a 64-bit server to a 32-bit client, the server must have the 32-bit driver installed. To vend a driver from a 32-bit server to a 64-bit client, the server must have the 64-bit driver installed.

Configuring a 64-Bit Server for 32-Bit Clients

If you are supporting 32-bit clients on a 64-bit server, you must also install the 32-bit version of the driver on the server with exactly the same name and version.

  1. Download the 32-bit driver to the server and unzip it.

  2. In the Printers dialog of the server, highlight a print queue, and then select Print server properties .

  3. Select the Drivers tab, and select Add .

  4. In the Add Printer Driver Wizard . click Next .

  5. Select 32-bit and deselect 64-bit , and then click Next .

  6. Click Have Disk and then browse to the location where you downloaded and unzipped the 32-bit driver.

  7. Click Open , click OK , and then select the 32-bit driver with the same name as the 64-bit driver installed on the server.

    HP recommends using the versioned driver on print servers. For example, if you installed the HP Universal Printing PCL 6 (x5.6.0) 64-bit driver on the server, select the HP Universal Printing PCL 6 (x5.6.0) 32-bit driver.
  8. Click Next , and then click Finish .

  9. Verify the 32-bit driver is listed with the same name as the 64-bit driver, and then click Close .

Method 5: Windows client/server: Use HP UPD Print Queue Creation

The HP UPD can also be installed on some operating systems via HP UPD Print Queue Creation. For more information, go to the following Web site.

HP UPD

Method 6: Create a driver instance with plug and play

The HP UPD can be installed for use with plug and play products as either a software first or a hardware first installation.

Software first (unattended) installation – recommended

In a software first installation, the HP UPD is prestaged on the PC, and will be found and used by the operating system when the new product is connected. This method does not require any interaction by the current user, and does not require the user to have administrator privileges.

Starting with UPD 5.6.5, new options in install.exe for Windows Vista and later Windows operating systems add the ability to select USB mode for USB Plug and Play with options to remove all versions of HP Universal Printing Driver from Windows driver store, or to add the HP Universal Printing Driver to Windows driver store.

These settings only impact the Windows driver store. No HP UPD printer is installed, no printer driver is removed and no existing print queues are impacted. Only the HP UPD is only added to the driver store. No non-HP UPD drivers are impacted.

On Microsoft Windows Vista and later Windows versions, you should use the pnputil
driver package utility to prestage the required drivers before you connect the printer using the USB cable. As some printers require an LEDM driver and a printer driver, HP recommends prestaging all HP UPD delivered *.inf files with pnputil
, using the command: pnputil –a *.inf
. For more information, see .

Pre-configure and install the HP UPD for use with software first installation

Preconfiguring and installing the HP UPD works on windows XP for all printers. For Vista and later windows versions, this works for DOT4 devices, but not for LEDM devices. LEDM devices require the usage of pnputil
.

To pre-configure the HP UPD for a Software first, plug and play installation, use the HP Driver Distribution Utility (HP UPD ), and select the Preload the Driver
option. This method creates a package with a setup.exe utility that is easy to deploy interactively or via scripting. See for more information.

Driver selection when multiple drivers are pre-loaded

It is possible that multiple versions of the HP UPD might be prestaged at the time of initiating a Plug-and-play event. When the operating system detects multiple compatible drivers, it uses the following criteria for selecting the driver to use:

  1. A WHQL certified driver has priority over all other drivers. If all available drivers are WHQL certified, the operating system considers the next criteria.

  2. Microsoft Vista and later operating systems evaluate the driver based on available features. The driver with the most features is selected. If all drivers are deemed equal the operating system considers the next criteria.

  3. Finally, the operating system selects the driver with the most current date.

The Remove Plug and Play Drivers utility in HP PARK can be used to search for HP plug and play printer driver files in the Windows driver store, and provides an option to remove these staged printer driver files. Currently installed printers are unaffected by this utility.

Only the default location for staged driver files on Windows (%SYSTEMROOT%\inf) will be searched for driver files.

For more information on the HP PARK in this document, see .

Hardware first installation

In a hardware first installation, a USB cable is connected to the PC first and then the HP UPD is installed. When the operating system detects that no driver is installed for the connected product, it will prompt for a disk or a location from which to install the driver. This method requires that the user be logged on to an account with administrator privileges.

  • If you have not downloaded the HP UPD installation files, see Download and unzip the .

  • Plug in the product USB cable.

  • When prompted, browse to the location where the HP UPD was downloaded and unzipped.

Method 7: Other supported Microsoft driver installation methods

You can use the following Microsoft installation methods to install the HP UPD driver:

  • Microsoft Print Management — This is a snap-in for the Microsoft Management Console. Use it to install the HP UPD driver and create a printer instance.

  • Printui.dll — This Microsoft executable (rundll32 printui.dll PrintUIEntry [options]
    ) contains command line options for installing printer drivers, such as the HP UPD driver.

For information about using these methods, see the appropriate Microsoft documentation.

Environment A: Windows Cluster server environment

The HP UPD installs with automatic configuration enabled by default and requires a specific installation procedure. The HP UPD requires that certain COM objects be registered and initialized in order to perform the automatic configuration of the products during setup. Please follow the instructions below to install the HP UPD in a Windows Cluster server environment.

HP UPD v4.7 introduced the capability to disable Printer Automatic Configuration communications (when using traditional mode). This capability is useful if HP UPD cannot be installed on each physical node, as recommended by HP. See for more details on disabling printer automatic configuration, and manually configuring the driver.

The HP UPD must be installed and initialized on every physical node that makes up the cluster environment before creating queues on the virtual servers. HP recommends installing the HP UPD in traditional mode using the LPT1 port on each physical node. After the printer is created, it can be deleted from the physical node’s Devices and Printers folder if desired. This will leave the HP UPD driver intact and properly initialized.

Only traditional mode printer queues can be shared from any of the Microsoft based print servers. Sharing of dynamic mode queues is not supported on any print servers using the HP UPD .

Repeat Step 1 on each physical node before proceeding.

  1. Install the driver on each physical node in the cluster, for example by using the Add Printer Driver Wizard .

    1. If you have not downloaded the HP UPD installation files, see Download and unzip the .

    2. Log into or remotely connect to one of the physical nodes.

    3. Open the Printers folder.

    4. Click Add Printer .

    5. Select Local printer attached to this computer . Click Next .

    6. Click Use the following port and select LPT1: (Recommended) Printer Port .

    7. Click Next .

    8. Browse to your HP UPD Installation files and click Next .

    9. Follow the rest of the Add Printer Wizard procedure to complete the installation. See Method 1: Windows client/server: Use Add Printer wizard for more information.

  2. Install the HP UPD on the virtual print server.

    Installing the HP UPD on the virtual server is similar to installing the HP UPD on any print server. Install the traditional mode of the driver, using the Add Printer Wizard of the virtual server.

    If you use HP UPD 5.3 or later , you can use the /s
    option to install on the virtual node. (HP recommends running this command from the active node.) Use the following steps:

    1. Log into the active node of the cluster. You can log in while at the machine or remotely.

    2. Run INSTALL.EXE using the /s
      option. The following is the syntax:

      install /s"\\VirtualServerName"

      There are no spaces between “\\” and “VirtualServerName”.

    If you use HP UPD 5.2 or earlier , use the following steps:

    1. Log into the active node of the cluster. You can log in while at the machine or remotely.

    2. Open the virtual print server by clicking Start , then Run , and then typing the

      \\virtualservername

    3. Open the Printers folder.

    4. Run the Add Printer Wizard and install the driver in traditional mode.

      If prompted to use Existing Driver , select Replace Driver . When Keep existing driver is selected on a Windows 2003 cluster, empty folders will be created locally on the active node (when using the Add Printer wizard from the active node) and only 499 can be added.

Alternative install with printer automatic configuration disabled

If the HP UPD cannot be installed on every physical node in your cluster, you can follow the steps below to disable Printer automatic configuration when installing the HP UPD .

See . These steps assume that you will be using the HP UPD utility to disable the printer automatic configuration, and save the configuration file as .CFM to retain the digital signature driver files.

Use the HP UPD (Driver Configuration Utility) tool to disable the printer automatic configuration setting and preset other default settings as you wish. Once the .CFM file has been created, it resides in the HP UPD driver folder where the files are located. Copy this .CFM file to the virtual server w32x86\3 folder before installing printer queues using HP UPD .

Beginning with HP UPD v5.2.5, you can use the /gcfm
option when installing from the command line using INSTALL.EXE and the .CFM file, which was created with the HP UPD .

Use the following steps to copy the .CFM file to the proper folder prior to creating printer queues on the virtual server.

  1. Browse to the print$ share of the virtual server. Enter \\virtualserver\print$ You have accessed the Printers folder for the Physical node that is hosting the virtual server. You will see a few folders here representing both the printing environment for the Physical Node as well as the GUID folder which represents the virtual server printing environment. The print$ folder will appear with the following folders:

    • \BIDI

    • \color

    • \e7776de2-fbd9-4644-9jdt-0jsy —Virtual Server printing folder

    • \w32x86–Physical node printing folder (\x64 for 64-bit)

  2. Browse to the folder with the long GUID as the file name. Your GUID name will be different. This is the print environment for the virtual server.

  3. Browse to the \Drivers\w32x86\3 directory of the GUID folder

  4. Copy the .CFM file previously created by the HP UPD utility here.

  5. Use the Microsoft recommended method to create printers using the Add Printer Wizard .

For more information, see the white paper Using Printer Drivers in Microsoft Cluster Environments available at www.hp.com/go/upd .

Environment B: Windows Terminal Server/Citrix XenApp environments

Supported environments

The HP UPD is supported by HP in Citrix XenApp and Windows Terminal Server environments. HP has tested the HP Universal Printing PCL 5 driver, HP Universal Printing PCL 6 driver, and the HP Universal Printing PS driver in Citrix XenApp environments.

Traditional Mode

The HP UPD can be installed in Traditional Mode on the Citrix XenApp server and will perform as a print driver for all compatible auto-created printers or redirected printers.

For Windows Terminal Server 2003 SP1 configurations, the HP UPD can be configured as the PCL or PS fallback driver when installed in Traditional Mode.

Dynamic Mode

Installing the HP UPD in Dynamic Mode on the Citrix XenApp server is not supported in a multi-user environment. Because the Windows operating system limits a print queue to one port at a time, multiple users would compete for the single port bound to the HP UPD queue if installed in Dynamic Mode.

Comparing HP and Citrix UPD Drivers

The HP UPD works well for mapping to any HP PCL or PS client print driver for auto-created client printers. It works well for any client, including thin clients with embedded operating systems.

The Citrix UPD has the ability to provide all printer configurations and user settings from the client printer (such as print-on-both sides as default) to the auto-created printer within the Citrix user session.

Platform
Citrix UPD
HP UPD
Presentation Server 4.0/4.5
Better choice for Windows clients
Better choice for non-Windows clients or thin clients
XenApp
Better choice for Windows clients
Better choice for non-Windows clients or thin clients

Before beginning any new deployment or upgrade involving a Citrix XenApp or Terminal Server environment, HP recommends reading and following the instructions outlined in the HP whitepaper HP Printers Supported in Citrix XenApp Server Environments available at www.hp.com/go/upd .

Environment C: Novell

HP UPD is supported in traditional mode only. Dynamic mode is not supported.

Pre-configuration of the driver using the HP Driver Configuration Utility is supported so that administrators can define defaults before driver installation.

Versions of Novell NetWare prior to v6.5 SP8 and iPrint client 5.40 did not provide a way for the HP UPD to query the product configuration, so the HP UPD only makes the default settings available to the user. The HP UPD PCL driver defaulted to black and white (PCL 5 and PCL 6), no extra trays, no product specific paper handling, etc. See Novell TID 7005740 (Increased PDP_Bi-di_UPD support with iPrint client 5.40).

For additional details on using iPrint's Print Driver Profile, see www.novell.com/support/kb/doc.php?id=7001400 Non-HP site .

Install the HP UPD in a Novell environment

Use Novell's most current iPrint client. It is required that the client be installed even if all you are doing is uploading the driver to the Novell server. Novell has posted the iPrint client at the iPrint: Novell Open Enterprise Server 2 Web site. Click here to go to the iPrint: Novell Open Enterprise Server 2 Web site ( www.novell.com/iprint Non-HP site ).
HP UPD for Novell only supports static mode and not dynamic mode.
This has been tested with both User and Workstation printer setups.

To add the HP UPD driver and create the printer on the server, go to a computer that has the iPrint client installed.

Make sure that you have created a Print Manager object and Broker object.

  1. If you have not downloaded the HP UPD installation files, see Download and unzip the .

  2. Upload the driver to the Novell server by using the Novell iManager Web page.

    1. Select the Manage Broker task.

    2. Click the RMS Drivers tab.

    3. Click the Add from file button.

    4. Select the HP UPD .INF file, and click OK .

      The driver will begin to upload to the server. This process can take several minutes. Do not touch the Internet Explorer (IE) window while it is doing this.

    5. When it is done, you should see the HP UPD driver in the driver list.

      You can only upload drivers for the operating system you are currently working on. For example, if you open a browser on a Microsoft Windows Vista 64-bit system, you can only download the Windows Vista 64-bit driver.
  3. Create an HP UPD printer on the server by using the Novell iManager Web page.

    1. Open the Novell iManager Web page and login using your Novell credentials.

    2. Select iPrint from the left pane.

    3. Select Create Printer .

    4. Type a printer name and browse to the container where the printer is to be installed.

    5. Select the Print Manager name and click Next .

    6. Type the IP address or Hostname of the printer and click Next .

    7. Select the HP UPD driver in the Microsoft Windows driver drop-down menu.

    8. Click Next or OK to create the printer.

To use the newly created printer on a PC.

  1. Close any browser windows that you have open.

  2. Install the iPrint client on the PC.

  3. Go to the IPP printer page on the Novell server: http://foo.example.com/ipp
    .

  4. Click the newly created printer.

    You will get a message stating that the printer needs to be installed.

  5. Click OK .

    The driver will download and install. This will take a few minutes.

The printer is now installed on the local PC and will route print jobs to the Novell server.

If you use Microsoft Windows 7 with iPrint, then you have to install two Microsoft hotfixes (kb2511290 and kb2546651). See Novell TID 7001400 ( www.novell.com/support/kb/doc.php?id=7001400 Non-HP site ).

Verify that the ShortInstallName is set to its default value in the iprint.ini file. The default location for this file is: /var/opt/novell/iprint/htdocs/iprint.ini

NDPS

The HP UPD will function with limited capabilities in the Novell NDPS environment. This is due to the HP UPD not being able to communicate with the product directly, therefore losing the ability to gather product-specific information from the printer. HP UPD only makes the default settings available to the user. The HP UPD PCL driver defaults to black and white (PCL 5 and PCL 6), no extra trays, no product specific paper handling, etc.

The HP UPD can only be used in traditional mode in the NDPS environment. In this mode, the HP UPD operates the same as a product-specific driver.

The latest patches for iPrint and Winspool must be applied to get the advanced printing features supported (such as N-up and Watermarks).

Uninstall the HP UPD

HP recommends using Microsoft operating system utilities to remove the HP UPD from the Microsoft Windows operating system. This is the safest method to uninstall print drivers. HP does not recommend manually editing the Windows Registry or manually deleting driver files. This can destabilize the printing environment and is not supported.

HP recommends the following procedure to remove the HP UPD .

  1. Delete all printers that use the HP UPD .

  2. In the Printers folder, open the File menu and select Server Properties .

  3. From the Server Properties dialog box, select the Drivers tab.

  4. Select the HP UPD driver(s) to be uninstalled and click Remove .

If Windows displays an error message that the driver is in use, stop and restart the print spooler using one of the following methods.
  1. From a command prompt, type net stop spooler
    and then press Enter to stop the print spooler. Type net start spooler
    and then press Enter to restart the print spooler.

    -or-

    Open the Services applet in Control Panel (StartRunservices.msc
    ), select Print Spooler , and then click Restart .

Once the print spooler has been restarted, repeat the steps above to remove the print driver.

Provide feedback

Please rate the information on this page to help us improve our content. Thank you!