14.5. Starting the print queue

You have replaced the paper, and you now want to restart the print queue so that it will finish your print job. Here is how you would do this:

# lpstat -vlpforu
Queue  Dev  Status   Job Files            User       PP %  Blks Cp Rnk
------ ---- -------- --- ---------------- -------- ---- -- ---- -- ---
lpforu lp0  DOWN       3 /etc/passwd      root        1 100   1  1   1
# enq -U -P 'lpforu:lp0'
# qchk -P lpforu
Queue  Dev  Status   Job Files            User       PP %  Blks Cp Rnk
------ ---- -------- --- ---------------- -------- ---- -- ---- -- ---
lpforu lp0  RUNNING    3 /etc/passwd      root        1 100   1  1   1

The enable command can also be used to start the print queue. It takes the printer queue device as its only argument, as in the following example.

# enable lpforu:lp0

Get IBM eServer Certification Study Guide - pSeries AIX System Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.