Use the following procedures to avoid having one print job use all of the printer resources.
Note: Some commands may require root user or system group authority.
The lpq command, when entered without flags, reports the status of the default queue.
The enq command enqueues a file to a shared resource, typically a printer (that is, it puts files into a queue for a particular resource). The -q flag displays the status of the default queue.
In this example, the enq command uses the -x flag to cancel job number 21 .
In this example, the lprm command removes job number 42 from the lp0 printer queue, named with the -P flag. You can also remove jobs for a specific user by naming the user on the command line.
In this example, the qadm command uses the -x flag to cancel all jobs on the lp0 printer.
In this example, you can choose the By Print Queue option to cancel either all of a particular user's jobs or all jobs on a particular printer.
split -50 bigfile
The split command reads the specified file and writes it into segments to a set of output files. In the previous example, bigfile is split into 50-line segments named bigfileaa , bigfileab , bigfileac , and so forth.
Go back to Printing Problems.