Guardian User's Guide
Performing Routine Spooler Operations Using 
Spoolcom
Guardian User’s Guide—425266-001
14-7
Restarting a Printer
Restarting a Printer
If a printer is offline because of a device error, you can determine the error condition 
with Spoolcom. Spoolcom displays both the file-system error number (in this case, error 
100, NOT READY) and the job numbers in the printer queue. In this example, device 
error 100 occurred for the $LP1 printer:  
You can use Spoolcom to restart a printer that has gone offline because of a device error. 
To restart $LP1:
1. Correct the device error (in this case, make the printer ready).
2. Issue a DEV command:   
You can also use the Peruse DEV command to examine the status of a printer and 
receive not only the device status, but the owner ID and the printing times for the 
queued jobs. In this example, the device state shows an error number for the printer 
$LP1, indicating that this printer is offline: 
A plus sign (+) following an estimated printing time indicates that the printer must come 
back online before the print time has any meaning.  
18> SPOOLCOM DEV $LP1 
DEVICE     STATE   FLAGS PROC FORM
$LP1      DEV ERROR 100 T $SPLP 
JOB LOCATION   DEVICE    SEQ COPY PAGE
571 #LP1.DEFAULT  $LP1    1  1  40
596 #LP1.DEFAULT  $LP1    2  1  43
19> SPOOLCOM DEV $LP1, START
Table 14-3. Common Device Errors
Error Meaning Recovery
14 DEVICE DOES 
NOT EXIST
Check if the printer exists by entering:
20> PUP LISTDEV device-name 
100 NOT READY Put the printer online (press the READY button on the printer).
102 PAPER OUT Reload the printer with paper and make it online.
_DEV $LP1 
DEV STATE: ERROR 100  FORM: 
JOB  OWNER  PAGES WAIT   FORM
571  008,013 40  00:02:32+
596  008,013 43  00:03:39+
_EXIT










