Operating System - HP-UX
1834512 Members
2141 Online
110068 Solutions
New Discussion

Moving print jobs to different queues

 
SOLVED
Go to solution
John Curtis
Occasional Advisor

Moving print jobs to different queues

How can I move print jobs from one queue to another? Can I use LPALT for this?

Thanks
6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor

Re: Moving print jobs to different queues

You can use lpmove to move the prit jobs from queue to the other.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jordan Bean
Honored Contributor

Re: Moving print jobs to different queues

You may use lpalt or lpmove, but the latter requires the scheduler to be down.
Anil C. Sedha
Trusted Contributor

Re: Moving print jobs to different queues

Hi,

You may use LPALT for this.

I use lpmove as follows

lpstat ( view the requests you want to move )

lpshut (shutdown the scheduler before moving requests)

lpmove request printer

or lpmove printer1 printer2

lpsched (start the print spooler)

Regards,
Anil
If you need to learn, now is the best opportunity
John Curtis
Occasional Advisor

Re: Moving print jobs to different queues

How do I use LPALT without shutting down LPSCHED?
S.K. Chan
Honored Contributor
Solution

Re: Moving print jobs to different queues

Try this ..(example: moving spool file "laser5-865" from printer "laser5" to printer "laser6")
# disable laser5
# lpalt laser5-865 -dlaser6
# enable laser5
Use "lpstat" to check if the file has been moved or not.
Fred Martin_1
Valued Contributor

Re: Moving print jobs to different queues

I use lpalt all the time for this, as described above (lpalt src-1234 -ddestlp) but I don't mess with a job that's currently printing; I let it finish on the original printer.

One caution, don't move a job to a printer that is radically different than the original...for example we have OKI dot matrix printers and DEC dot matrix printers and they are not compatible with regards to codes for compressed print etc.

Fred
fmartin@applicatorssales.com