Tuesday, July 23, 2013

How Do I Cancel a Print Job in AIX?



To cancel just 1 print job, first identify the job #, by typing the following (We’ll use lp1 as an example):


lpstat -plp1
(make note of the # listed in the “Job” column; we’ll assume it’s “123″ for this example)
Type in:
cancel 123
To cancel all print jobs on lp1, type the following:
cancel lp1
To cancel print jobs from the Universe spooler, Find the job # with this command:
usa -j  or usa -p lp1
To cancel one job (i.e. job # 123),  type in
usm -k 123
To delete all jobs in the Universe spooler for lp1:
usm -k -p lp1

No comments: