We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


LPT1 and NT4

grh asked
Medium Priority
Last Modified: 2013-12-23
I have installed NT4 on server. Whenever I try to print (eg test page from 'Printers' panel etc) to LPT1 I get message
"Error writing to LPT1 for etc etc..(doc name).. Access Denied. Do you want to retry etc? "

Even when logged onto server as Administrator, ie going straight into server PC.

Checked obvious things, eg LPT1 not disabled in BIOS setup etc. I feel sure I am doing something stupid.... but what is it?

Any ideas.
Garry Homer
Watch Question

We've had this problem, too. After some minutes we learned that the printer cable was not plugged in...
Probably your problem is a little bit more difficult?!   :-)

Regards, Madshi.
Manfred BertlManager

We had the same problem with a HP LaserJet 4000 driver. After changing the driver to HP Laserjet 5 the problem was fixed.


Here is the link to the hot fix that can fix you problem

[Go Here]

the above is one line wrapped so you can read it.

[Download This]

Install it and see if it solves you problem, I think it may.

DOCUMENT:Q181022TITLE   :Err: Cannot Write to LPTx Printing to Parallel Port
KEYWORDS:kbbug4.00 kbfix4.00 kbprint ntprint
The information in this article applies to:
 - Microsoft Windows NT Workstation version 4.0
 - Microsoft Windows NT Server version 4.0
When you print to a parallel port on a computer running Windows NT, one of
the following may occur:
 - After you clear a paper outage or jam on the printer and click OK on the
   following error message, the same error may reappear until Windows NT is
   shutdown and restarted:      Cannot write to LPTx
   where x is the LPT port number
 - On host-based printers, the printer does not reset properly if you
   shutdown and restart Windows NT without first actually powering off the
 - When you print with an older parallel port printer, the output has
   invalid, garbled, or missing characters or nothing prints.CAUSE=====
The first two symptoms above are caused by the local port monitor resetting
faster than the port can become ready. The printer driver then interprets
that the printer is properly reset, which is not the case.
The third symptom is caused because the centronics handshake in
Parallel.sys is too aggressive for some older types of devices.RESOLUTION
To resolve this problem, contact Microsoft Technical Support to obtain the
following fix, or wait for the next Windows NT service pack.
This fix should have the following time stamp:
   03/24/98  01:22p                14,864 Parallel.sys  (Intel)
   03/24/98  01:24p                23,280 Parallel.sys  (Alpha)
This hotfix has been posted to the following Internet location:
NOTE: The above link is one path; it has been wrapped for readability.

If this works then I can submit it as the answer

The problem may be 2 goofy dlls.  I had the same problem and found 2 dlls installed that don't allow local printing.  I will try to find the names of them.  I think they started hpd or hpc.
Install Service Pack 3 and download the newest driver!


Sorry, loaded service pack 3, same symptoms.

When PC boots up, printer goes 'on-line', thus, hardware is OK (anyway, have booted from floppy, LPT1 port electrically OK)

Any other ideas?

Why have you not checked out the document I posted and the hot fix to your promlem.
Manfred BertlManager

I found an article at microsoft:


                 Err Msg: Error Writing to LPT1: Access

                                                                      Last reviewed: July 2, 1998
                                                                           Article ID: Q180892

     The information in this article applies to:

         Microsoft Windows NT Server version 4.0
         Microsoft Windows NT Workstation version 4.0
         Microsoft Windows NT Server Enterprise Edition version 4.0

     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.


     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:

         Error writing to LPT1: For <document name>. Access denied.
         Error writing to LPT1: For <document name>. The requested resource is in use.
         The handle is invalid.


     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.


     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:


               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.


     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.


Try this!



Thanks to all who replied with suggestions.

In fact, problem was as per 'mbertl' comment, dated 20 Aug 08.35 am PDT.

The solution was to rename hpdcmon.dll as hpdcmon.xxx

(did this thro' NT Explorer, did not allow me to do it from command line as suggested by MS Article.

Needed thed to re-boot PC for fix to become effective.

Thanks again.


Have you tried taking ownership of the printer?
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Manfred BertlManager

although it was an easy question, you should give the points the person who has answered your question.



Thanks for answer, in fact the problem (and solution) that worked was the one proposed by ' mbert ' in his comment, dated 20 Aug 08.35 am PDT.

       The solution was to rename hpdcmon.dll as hpdcmon.xxx

       (did this thro' NT Explorer, did not allow me to do it from command line as suggested by MS Article. )

       Needed thed to re-boot PC for fix to become effective.

       Thanks again.

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.