Err Msg: Error Writing to LPT1: Access Denied

ID: Q180892


The information in this article applies to:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS

When you attempt to print to a Hewlett-Packard (HP) 4000-series printer connected to printer port LPT1, you may receive one of the following error messages:


CAUSE

This behavior can occur when you install the HP 4000-series printer drivers included with the HP Complete Printing System for Windows NT 4.0 from Hewlett-Packard.

NOTE: This behavior can occur when you try to print to printers other than HP4000-series printers if HP Complete Printing System for Windows NT 4.0 is installed on the computer.


RESOLUTION

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. You should also update your Emergency Repair Disk (ERD).

To resolve this issue, rename the Hpdcmon.dll file in the %SystemRoot%\System32 folder. To do so, type the following line at a command prompt:

ren c:\%SystemRoot%\System32\Hpdcmon.dll Hpdcmon.xxx

If this does not resolve the problem, follow these steps:

  1. Start Registry Editor (Regedt32.exe).


  2. Go to the following key:


    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Monitors\
    HP Laserjet 5 Language Monitor


    NOTE: The HP Language Monitor key may vary in name depending on which HP driver is installed.

    NOTE: Do not delete the PJL Language Monitor key.


  3. On the Edit menu, click Delete, and then quit Registry Editor.


  4. Click Start, point to Settings, and then click Control Panel.


  5. Double-click Add/Remove Programs, and then click the Install/Uninstall tab. If HP Printing System appears in the list of installed programs, click Add/Remove.


  6. Click OK, and then restart your computer.


  7. After your computer restarts, install your printer drivers.

    NOTE: If you install the HP-provided drivers, use the minimal installation option.



MORE INFORMATION

The third-party product discussed in this article is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

Additional query words: laserjet laser jet lj


Keywords          : kberrmsg kbprint 
Version           : WINNT:4.0
Platform          : winnt 
Issue type        : kbprb 

Last Reviewed: February 1, 1999