Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

different lp for one printer?

Status
Not open for further replies.

Shrp

IS-IT--Management
Jan 9, 2002
82
US
Is there a way in HP-UX 11.11 to make one particular print queue use a different /bin/lp than the rest of the queues? We have an alternate 'lp' executable that we would prefer to use for one printer. Thanks in advance!
 
That's a chicken and egg... or is it egg and chicken... scenario. :)

It's lp that puts the job in the queue... the choice of lp command to run is up to the user or application that prints the job. The queues themselves don't "use" lp, if you see what I mean.

Perhaps by a different lp you really mean a different lpsched (as in the daemon that handles the queues)?

Annihilannic.
 
We have an lp that adds postscript banners that are required by our organization. When we plot PCL files, the banners cause corruption. We were wondering if we could revert back to the "real" lp when we do these plots, controlled by a particular queue.

The real problem is the corruption, but this was what sounded like an easy(er) way around the problem. Maybe a script in place of lp that checks the destination, then routes as needed. I just thought there might be a way to tell a particular queue to use a '/bin/real/lp' rather than the default banner one we have in place.

Thanks!
 
As I suggested, it's not the queue you need to tell to use a different lp, but the application doing the plotting.

However, there are usually options you can set for specific queues. It may be as simple as modifying the interface script for the queue(s) in question in /etc/lp/interfaces such that they always pass the "no banner" option, in whatever form it takes for that printer.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top