Operating System - HP-UX
1834820 Members
3019 Online
110070 Solutions
New Discussion

Re: lpmove files no longer in queue

 
D. Jackson_1
Honored Contributor

lpmove files no longer in queue

I did an lpmove printer_a printer_b and when I checked the queue for printer_b there were no files.. printer_b was a dummy queue added through jetadmin. It stated that the files were successfully sent to printer_b but when I issued a lpstat -oprinter_b they didn't show.. Can anyone tell me what happened to the files and why this happened..

Thanks for your help.
4 REPLIES 4
John Palmer
Honored Contributor

Re: lpmove files no longer in queue

What do you mean by a 'dummy' queue. Is it disabled?

Have a look in /var/spool/lp/log - it might give you some clues.
Anthony deRito
Respected Contributor

Re: lpmove files no longer in queue

A "gotcha" when using lpmove is that it never checks the acceptance status (see man page on accept) for the new destination when moving requests. You can try running accept on printer_b.

Tony
CHRIS_ANORUO
Honored Contributor

Re: lpmove files no longer in queue

Try accept command, then enable the printer.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
D. Jackson_1
Honored Contributor

Re: lpmove files no longer in queue

When I say "dummy" queue I mean I did not give it an ipaddress and I did not add it to the /etc/hosts file. I added it through jetadmin. It was accepting requests and was enabled.

Thanks