Operating System - HP-UX
1748203 Members
3173 Online
108759 Solutions
New Discussion

How to skip printers not-ready/not-available from querying them using lpstat ?

 
LeMikeAngelo
New Member

How to skip printers not-ready/not-available from querying them using lpstat ?

Hello HP-UX Community,

Does anyone know how to prevent lpstat from taking print queues that are offline ?

This is because such print queues takes too long to respond, hence it takes a lot of time to retrieve the corresponding information for each one of such not-available print queues in a big universe of print queues.

Any idea is welcome to get the 'lpstat -o' in a faster way, instead of stopping for an mount of time trying to reach a not-available remote/network printer.

Thanks in advance.

Miguel Angel

 

1 REPLY 1
Patrick Wallek
Honored Contributor

Re: How to skip printers not-ready/not-available from querying them using lpstat ?

You can try adding the '-i' option.  '-i' says it "Inhibit[s] the reporting of remote status".

So try:

 

# lpstat -i -o