Have you ever found that you need to cancel a print job in SCO UNIX? Typically, you can list the jobs that are currently in the print queue using the command
The output will list the open print jobs, as shown below:
laserup-12488 root 3485 Jun 12 09:55
laserup-12489 root 145226 Jun 12 09:55
The first column in the output shows the a specific print job’s label given to it by UNIX, in the format <printer name>-<job number>. So, for example, the first print job in the queue in our example output above has the label “laserup-12488”. This print job was sent to the printer called “laserup” with a unique ID for the computer of “12488”. To cancel this job, you would use the command below
This method works well if you have a small number of print jobs to cancel (up to about 10). However, it’s not uncommon to create thousands of print jobs by accidentally choosing to print all statements, because each statement has its own unique job number. Cancelling thousands of jobs at once is, unfortunately, not built in to SCO UNIX, but Aperion created a program to do just that with a single command. If you’d like a copy of this program, contact us and we will email it to you.