This article explains how to monitor the HPREDIR process from a Microsoft
OS/2 1.3 window.
Back to the top
To see HPREDIR output, add this command:
START C:\HPNETPRN\HPREDIR.EXE
to the STARTUP.CMD file and REM out the command
RUN C:\HPNETPRN\HPREDIR.EXE
in the CONFIG.SYS file. The HPREDIR output is not documented by HP, but
you can identify printer errors in it. If there is a complete failure
on a printer, the event is recorded in the C:\HPNETPRN\HPREDIR.LOG file,
which you can view from the HP JetDirect setup utility. Error codes are
documented in the "Hewlett Packard JetDirect Administrator's Guide."
Back to the top
HPREDIR.EXE Normal Output on Start-Up of HP JetDirect Software (A.00.05)
redir: RedirLogFile: HPREDIR.LOG
redir: hFile in OpenErrorLog: 00
redir: AdapterType: 0x400
redir: cfgFile: hpredir.cfg
\PIPE\redir: Waiting for a connection to Setup
\PIPE\LOVER5: DosMakeNmPipe succeeded, hPipe: 0x5
\PIPE\LOVER5: DiscoverRouting(): transport is ETHERNET
\PIPE\LOVER5: OpenStation: 0x306 1 0x0
\PIPE\LOVER5: Attempting to connect to linkStation 0x306
routing = 0x0000 00000000 00000000 00000000 00000000
\PIPE\LOVER5: ConnectStation: rc = 0x0
\PIPE\LOVER5: Waiting for DosConnectNmPipe
Back to the top
HPREDIR.EXE Normal Output when Print Job is Successful
\PIPE\LOVER5: Spooler opened namedpipe!!
\PIPE\LOVER5: Elapsed: 0.062 seconds Sent: 2697 bytes
\PIPE\LOVER5: Waiting for DosConnectNmPipe
Back to the top
HPREDIR.EXE Normal Output when KILLRDR.EXE is Run
\PIPE\redir: Connection to Setup established
\PIPE\redir: Kill redir
\PIPE\LOVER5: CloseStation LS: 0x306 Loc: 6 rc: 0x0
\PIPE\redir: Closing pipe: \PIPE\LOVER5
\PIPE\redir: Die: Setting die[0]=TRUE for TID=3
\PIPE\redir: DosOpen in CloseAllPipes: 0
ProcessRead: DLC Status change received by read, status: disc
\PIPE\LOVER5: Spooler opened namedp
Back to the top