1831406 Members
3503 Online
110025 Solutions
New Discussion

Manege printer queue

 
SOLVED
Go to solution
Feljav
Frequent Advisor

Manege printer queue

How can I change the job's priority in the queue? I want to print a job so that it executed before the rest
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Manege printer queue

Have a look at the 'lpalt' command.

# man lpalt

should tell you all you need to know.
Feljav
Frequent Advisor

Re: Manege printer queue

I want to mve the job in the same queue. man lpalt don't said me anything. Another help
Patrick Wallek
Honored Contributor
Solution

Re: Manege printer queue

I would suggest you go back and look at the man page again.

Anyway, this should do what you want:

Step 1 -- find the request id of the print job. You do this by looking at the lpstat -o output for the printer.

Step 2 -- Use lpalt to reset the priority. In my example I am setting the priority to 7 for job hqis91q-3

# lpalt hqis91q-3 -p7

That's all there is to it.