HP UPD - HP Printers Supported in Citrix XenApp Server Environments

Technical white paper | HP printers supported in Citrix XenApp server environments
26
In general, the time it takes to auto-create a printer using the HP UPD or a discrete HP print driver version 60.xxx.xxx.xxx or
61.xxx.xx.xxx is 2 10 seconds, depending upon the performance and load of the print spooler and other processes on the
Citrix server. This is due to the time taken to initialize the HP UPD or discrete print driver.
When using the Citrix StressPrinters tool to test the HP UPD, selecting the default LPT1: port from the tool provides install
times that are not accurate. The HP UPD attempts to communicate with the printer over the LPT1: port and times out after a
long period of time. To achieve a true simulation of the HP UPD, run StressPrinters from a Citrix server and select a Citrix
redirected port that is connected to a live network printer.
HKCU\Software\Hewlett-Packard registry hive increases in size in Citrix
Print driver versions 61.071.xxx.xx fail to clean up registry data written to the HKEY_CURRENT_USER\Software\Hewlett-
Packard registry hive. Keys under this hive will grow over time a new registry key is created each time a user logs on to a
Citrix server for each printer auto-created. An example of such a key is HKEY_CURRENT_USER\Software\Hewlett-
Packard\165b5934-15c4-4a84-c392-d044915211da where 165b5934-15c4-4a84-c392-d044915211da is a globally
unique identifier (GUID). HPBIDIInfo and HPCUSTOMForms are keys in the GUID hive.
Newer versions of the print driver, such as version 61.081.xxx.xx or the latest HP UPD, have a fix for this issue.
Memory issues cause problems with spooler, auto-creation, and server performance
The following components may cause issues:
hpbmini.dll Memory leaks and memory corruption are possible with the 1.0.0.18 (or older) dll, which will not cause a
spooler crash but may degrade server performance. This issue occurs with 60.x.x.x and 4.x.x.x. print drivers containing
hpbmini.dll version 1.0.0.18 or older. Version 1.0.0.19 and newer has the fix.
Version 4.x.x.x print drivers have an issue unloading hpbmini.dll, which will probably cause a spooler crash when the
server has a heavy load of connected users.
hpcdmc32.dll Memory leaks are possible with the 1.0.2.30 (or older) dll, which will not cause a spooler crash but may
cause performance degradation. This issue occurs with 60.x.x.x and 4.x.x.x print drivers containing hpcdmc32.dll version
1.0.2.30 or older. UPD version 5.7.0 and later has the fix.
Other symptoms caused by the above components include failed auto-creation of printers and auto-created client
printers not being deleted when users log off.
Solution
To determine if these issues are affecting a server and for a workaround, rename hpbmini.dll and hpcdmc32.dll in the
windows\system32\spool\drivers\w32sx86\3 directory and remove hpbmini.dll from DependentFiles registry entry in
HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\<driver> hive.
For HP print drivers version 4.x.x.x, HP strongly recommends upgrading to the 60.x.x.x or 61.x.x.x driver versions available
on hp.com. If one is not available, then use the HP UPD. For existing 60.x.x.x drivers with these suspected issues, HP
strongly recommends upgrading to the latest driver available on hp.com.
Auto-creation of HP printer fails with Citrix
This issue occurs when an HP PCL driver (version 4.3.x.x to 4.20.x.x.) is installed on the server.
When Citrix auto creates using an older HP driver, the process halts and any remaining printers fail to auto-create. To
resolve this situation, update the HP driver on the server to the version listed in the tables above.
Client driver settings lost during auto-creation
This is a limitation of MetaFrame 3.0 and older versions. Most driver settings such as tray configuration, duplexer, printer
memory, and quick sets are not read at auto-creation. Paper size and orientation are the only client settings that are read
during auto-creation; the remaining settings are determined by the default settings of the driver installed on the server.
Citrix has provided this functionality in Presentation Server 4.0 and beyond by using the Citrix UPD for client printers. The
server must be at least 4.0 and the client must be a 32-bit Windows client (Windows XP, Windows Vista, Windows 7) with at
least ICA version 9.0.
If Feature Release 1/Service Pack 1 or later is installed on a MetaFrame/XP server, go to the properties of the auto-created
printer and configure the driver for features manually, then set the tray configuration, duplexer, and hard disk settings. The
settings are saved to the user’s profile when the user logs out and will be restored the next time the user logs in. This
feature is available in environments running MetaFrame XP with Feature Release 1 and Service Pack 1 or greater.