PrepAway - Latest Free Exam Questions & Answers

What command would cause a print job to be printed next regardless of its current position in the queue?

What command would cause a print job to be printed next regardless of its current position in the queue?

A.
lpc topq

B.
lpc -t

C.
lpq -t

D.
lpc move

E.
lpq –next

Explanation/Reference:
The lpc topq command can be used to put a job (or jobs) at the head of the spool queue. This command is very useful when some job requires priority service. You can select the job by using the job number or the job ID.

Example:
h4: {152} % lpc topq lp 17970
Printer: lp@h4
lp: selected ‘papowell@h4+17970’
lp@h4.private: started
h4: {153} % lpq
Printer: lp@h4
Queue: 3 printable jobs
Server: pid 17999 active
Rank   Owner/ID          Class Job Files      Size Time
active papowell@h4+17970    A 17970 (stdin)      5 18:23:35
1      papowell@h4+17959    A 17959 (stdin)      3 18:23:24
2      papowell@h4+17962    A 17962 (stdin)      6 18:23:30

This is valid for non-CUPS systems only!


Leave a Reply