Wednesday, July 16, 2008

Resetting a print queue on an AIX server

This is how you reset a print queue on an IBM AIX server. Before doing this, you may want to ping the printer and insure that it's running and connected to the network.

Run the lpstat -vprintername command. Look for stuck jobs.
Run the enq -D -Pprintername command to shut down the print queue OR enq -K -Pprintername if you also want to kill the current job that may be stuck.
Run the qadm -Uprintername command to restart the print queue.
Run the lpstat -vprintername command again to check and see if print jobs are running again.

That's it! Enjoy!

No comments: