Dec 122017
Check printer status from BAT file. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
PRTSTAT.ASM | 518 | 227 | deflated |
PRTSTAT.COM | 32 | 32 | stored |
PRTSTAT.DOC | 803 | 407 | deflated |
Download File PRTSTAT.ZIP Here
Contents of the PRTSTAT.DOC file
PROGRAM:
PRTSTAT.COM Print status program for batch files.
DESCRIPTION:
PRTSTAT.COM is a program which detects if the printer is
ready and returns the appropriate errolevel for use by batch
files.
CONTACT:
PC ROCKLAND BBS (914) 353-2157
USAGE:
PRTSTAT n
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 OFF
GOTO BYMESS
MESS:
ECHO PRINTER NOT READY, PLEASE CHECK IT.
BYMESS:
PRTSTAT 1
IF ERROLEVEL == 1 GOTO MESS
.
.
application
December 12, 2017
Add comments