HP UPD - System Administrator's Guide HP UPD 5.6.5

The purpose of this tool is to simplify the process of creating clean print queues on a print server. This is
useful when upgrading the HP UPD driver version, upgrading an earlier non-HP UPD print queue to use
HP UPD, or resetting existing print queues to factory or pre-configured installation defaults. The problem this
tool resolves is preventing existing queues from carrying forward unknown, incompatible, and unstable
configurations during driver upgrade. The utility accomplishes this by deleting the existing print queue and
creates a new print queue using the same printer name, comments, location, and assigned port while
applying the specified new driver.
During the print queue delete and recreate process completed by the tool, only the print queue name, port,
location, comments, share name, and share state will be retained. All the other settings on the new print
queues will be set to factory default. If you want to have the new print queues pre-configured to specific
settings (e.g. duplex or grayscale), use the HP Driver Configuration Utility to pre-configure the driver and
create a test queue with the pre-configured settings. Verify that the settings on the test print queue are
correct. Upgrade the rest of the print queues using the AUTOUPGRADEUPD.EXE utility, which is designed to
use the settings in this test print queue for all the print queues that it re-creates.
Usage
CAUTION: This utility modifies your system. You are strongly advised to make a system backup before
using this utility. In the unlikely event that the upgrade should fail, having a backup will allow you to return to
a stable state.
AutoUpgradeUPD -o "<old-driver>" -n "<new-driver>" -f "<inf file>" [-s
"<server-name>"]
-s <server_name>
Specifies the name of the failover cluster virtual node that you want to upgrade. If you
do not specify a server, the local computer is upgraded.
NOTE: This option is not designed for specifying remote servers. The utility is
designed to be run directly from the print server, or in the case of a failover cluster,
from one of the physical nodes.
-o <old driver>
Utility will attempt to upgrade all print queues that are using this driver
NOTE: Driver names are case sensitive.
-n <new driver>
Name of the new driver. It is recommended that this driver be pre-installed and tested.
NOTE: If the name of the new driver is the same as the name of the old driver, for
example HP Universal Printing PCL 6, the new driver must be installed prior to running
this utility.
-f <inf file>
Full path to the new driver .inf file
-v
Verbose mode— Displays the printui commands, and other information useful for
diagnostic purposes
-q
Quiet mode—When this option is enabled, error and status dialog boxes are not
displayed
NOTE: In some cases, the use of this option will cause the Microsoft printui.dll
commands that are used by this utility to fail unexpectedly. If these failures occur, try
re-running the utility without this option.
-test
Enumerates printers, outputs messages, but does not perform the upgrade.
-?
Displays help
Example: AutoUpgradeUPD.exe -o "HP Universal Printing PCL 6 (v5.0)" -n "HP Universal Printing PCL 6 (v5.3)"
-f "E:\UPD Drivers\5.3.1\PCL6\32\hpcu115c.inf" > Upgrade.log
ENWW Delete and recreate queues with AUTOUPGRADEUPD.EXE (traditional mode only) 51