Operating System - HP-UX
1832251 Members
2713 Online
110041 Solutions
New Discussion

Redirecting prints to other queue

 
SOLVED
Go to solution
Manuales
Super Advisor

Redirecting prints to other queue

Hi ..
the doubt in question is the following ..
I have sent information for being printed to a printer named mex5 if i run lpstat the answer is:
user1>lpstat mex5
(are showed several files for being printed)
........................................
........................................
........................................

/usr/sbin/rlpstat: Connection to MEX5.hola.com is down

queue where are locate the prints is named: mex11

i have reviewd the printer, allis o.k, i mean, printer is turned off, network interface card is working well , the cable is o.k.... etc...

I have choose other queue for redirect the new prints,
it is mex12 .. if i send information from aplication as usual , it can be printed right .. but . .. dobut here is ...
user1> lpstat mex5
answer is o.k.

how can i send files waiting for being into queue mex11 to new queue where are being sent new information for being printed ?

files waiting are referenced with above told:
(are showed several files for being printed)
........................................
........................................
........................................



Please let me know,i need to print the files that are located in queue where appears the message that is down.....
is that queue damage?
why appears :/usr/sbin/rlpstat: Connection to MEX5.hola.com is down
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: Redirecting prints to other queue

It sounds like you're looking for the lpalt command, specifically the "-d" option. From the man page:

"-ddest Requeue the request to the named printer or class dest"


Pete

Pete
Manuales
Super Advisor

Re: Redirecting prints to other queue

I mean ....

i want to move some files located into queue number 1 to other queue, to que queue number 2 ... this is because they (information files) could not be printed into queue 1 but they are waiting for being prited ...

how can i move that files to other queue??

i do not want to loose that information :(
Aussan
Respected Contributor

Re: Redirecting prints to other queue

try the lpmove

1. Shut down the local lp spooler.
# lpshut

2. Move the print requests.
# lpmove

3. Restart the lp spooler.
# lpsched


hope this helps

Regards

Aussan
The tongue weighs practically nothing, but so few people can hold it
Manuales
Super Advisor

Re: Redirecting prints to other queue

Thanks pete, that worked

lpalt -dPRINTER request-number

but i have tobe the owner !!!
no problem, that worked ..

Regards