Contents of the PRTSTAT.DOC file
PRTSTAT.COM Print status program for batch files.
PRTSTAT.COM is a program which detects if the printer is
ready and returns the appropriate errolevel for use by batch
PC ROCKLAND BBS (914) 353-2157
Where n is a printer number either 1 or 2.
Place it in a batch file and if the printer is not ready then
it will return a non-zero errorlevel to dos which will
allow the following sort of implementation.
ECHO PRINTER NOT READY, PLEASE CHECK IT.
IF ERROLEVEL == 1 GOTO MESS