Managing printer is one of the least task of a Unix System Admin. But printer management is typically easy to get along with as there is just minimal commands and options that we use. Here are some of my trusted commands to manage printers:
From the man pages of enq(1):
The enq command is a general-purpose utility for enqueuing requests to a shared resource, typically a printer device. Use the enq command to enqueue requests, cancel requests, alter the priority of a request, and display the status of queues and devices.
Check ALL Printer Queues:
root@aix# lsallq
Check Printer status:
root@aix# enq -s -P <PRINTER NAME>
Check Printer Queue:
root@aix# enq -q -P <PRINTER NAME>
Start UP Printer
root@aix# enq -U -P <PRINTER NAME>
Shutdown abruptly the Printer
root@aix# enq -D -P <PRINTER NAME>
Shutdown Gracefully the printer
root@aix# enq -G -P <PRINTER NAME>
Delete ALL print JOBS
root@aix# enq -X -P <PRINTER NAME>
Delete specific Print Job
root@aix# enq -x <print ID> -P <PRINTER NAME>
Readers who found this post were searching for:
- enq unix
- aix enq
- aix printer commands
- unix enq
- enq aix command
- enq aix
- aix printer queue
- how to check the printer status in aix
- printer management in aix
- aix print queue commands

