qstat, qdev and qmod each use the $PRINTER environment variable to
determine which spooler to connect to.
| command |
description |
old printadmin command |
| qdev |
| qdev |
list detailed device status for all devices |
qdev |
qdev -s device | list detailed device status
for a specific device |
| qdev -f |
clear printer, flush current job |
flush |
| qdev -r |
clear printer, restart current job |
restart |
| qdev -d |
disable printer (don't allow jobs to this printer) |
disable |
| qdev -e |
enable printer (allow jobs to this printer) |
enable |
| qstat |
| qstat | list queued print jobs and device status |
| qstat -l | list long version of queued jobs and device
status |
qstat |
qstat -q queue | list queued jobs for specific
queue |
| qmod |
qmod -k job id | delete the specified job |
kill |
qmod -d queue | delete all the jobs for the
specified
queue | killall |
qmod -h job id | hold the job (don't let it
print)
| hold |
qmod --h job id | unhold the job |
unhold |