work related

July 23, 2009

note on lp

Just a quick note for self.

I just got a call that stated a print job was hung up at the destination printer (go figure). The request was to move the job to another queue. The job was pretty large 100+ pages so the user could not or really did not want to resubmit the job.

I figured this could be done so I dusted off the cups manual and the lp knowledge.. Sure enough lpmove is what I was after (lpalt sounds interesting as well).

So the command looked something like this and the user was again happy that they had taken part in destroying the old growth rain-forests of the northwest.

lpmove <jobid> <new printer>

lpalt -dPRNTER2 JOB

here is a link with some nice scripting to do the above