Have a Question?

00381: Error=18, TCB(10)=-5, when opening an LPT device


Error=18, TCB(10)=-5, when opening an LPT device


This error can be caused by HP’s printer status software. The software monitors the LPT port, informing the user when paper is out, toner is low, etc. The software blocks direct access to the port. 

This has also been seen when the printer is attached to a Win2003 Server being opened on Win98 using an alias line incorporating UNC thusly: 
        ALIAS LP //server/printer “” CR 
The printer had the powersave mode enabled and was “shutdown” so the error occurred on the OPEN. 


HP suggests disabling the status software. On some newer printers, there is a de-install program that must be run.

Last Modified: 07/30/2004 Product: Visual PRO/5 Operating System: Windows Error Number: 18 OS Error: 5

BASIS structures five components of their technology into the BBx Generations.

Table of Contents
Scroll to Top