Operating System - HP-UX
1822143 Members
3515 Online
109640 Solutions
New Discussion юеВ

LP command for remote queue printing

 
Joe Kanakaraj
Advisor

LP command for remote queue printing

Hi guys,

We have six heavy duty Xerox printers which churn out bills for our Telco. At the moment we print via windows using lpr. We are in the process of migrating the entire application and printing services to HPUX.

The printers as such are Solaris host based. I configured one printer as a remote printer and am able to take prints perfectly. The only hitch is that the remote host has specific queues (about seven of them) which are to be used for specific files.

The existing windows command is like this:

lpr.exe -S -P XBills -d E:\SP\242_XBILLS\exp_2_11120_1_pri.dat_0511R_E_2_X_01.PS

Where the -P is the switch for the queue and XBills is the queue name on the remote printer hosts.

At the moment when I issue this command:-

lp -dprodhlc1 exp_2_11120_1_pri.dat_0511R_E_2_X_01.PS

I get a print, but it prints using the default queue on the host.

My question is what is the command for me to redirect the prints to specific queues at the remote printer host. I have been going through t man page but either I cannot see the switch or am right now too preoccupied.

Help would be appreciated......

Live free & die.

Joe


Unix is simple, but it takes a genius to understand the simplicity. - quoted Dennis Ritchie
3 REPLIES 3
RAC_1
Honored Contributor

Re: LP command for remote queue printing

You can do lpmove to move print jobs from one printer to another. Also, you can define a printer class and then direct certain jobs to certain group of printers.
There is no substitute to HARDWORK
Joe Kanakaraj
Advisor

Re: LP command for remote queue printing

Correct me if I am wrong but I read that Remote printers cannot be put in a class and also I do not want to move it to another physical printer but to the same printer but a diffent ques so that it prints in a specified way since the queues has certain print parameters difined...

Joe
Unix is simple, but it takes a genius to understand the simplicity. - quoted Dennis Ritchie
RAC_1
Honored Contributor

Re: LP command for remote queue printing

Check this thread. I think you can't do that with remote printer.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1040341
There is no substitute to HARDWORK