Cannot install driver for HP LaserJet 4200 PCL 5e

  • 3876544
  • 03-Mar-2008
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

Trying to install the driver for HP LaserJet 4200 PCL 5e
ERROR:"Printer driver installation failed for HP LaserJet 4200 PCL 5e. Check if provided drivers inf file is in proper format" is shown in zmd-messages.log and the driver is not installed.

Resolution

This version of the driver cannot be installed via a policy, but a possible workaround is to run the install as a bundle..

Additional Information

The problem is that the driver will not install in quiet mode. Looking at a trace it can be seen that the command used is similar to this:
C:\WINDOWS\system32\rundll32.exe printui,PrintUIEntry /ia /m "HP LaserJet 4200 PCL 5e" /f "D:\Drivers\Printers\lj4200pcl5winvista2kxp2003\hpc4200b.inf" /q
and the install does not work with the /q switch (details of using printui.dll to install printers can be found on Microsoft's web site). HP have been informed of this issue.
It is essential that driver installs be "non-interactive and silent" as described in section 2.4 "Printer Policy" in the"ZENworks 10 Configuration Management Policy Management Reference", found at https://www.novell.com/documentation/zcm10/zcm10_policies/data/bookinfo.html