lpstat -o for ipp-printers

Christoph Litauer litauer at uni-koblenz.de
Tue Jan 23 00:27:38 PST 2007


Helge Blischke schrieb:
> Christoph Litauer wrote:
>> Dear admins,
>>
>> I wonder if it's possible to get the printer status of remote ipp
>> printers, served by a cups service and used by another cups daemon
>> running on another machine, e.g.:
>>
>> - cups 1.1.23 running on 'printhost' offers 50 printers
>> - cups 1.1.23 running on 'somehost' learned these printers
>>
>> somehost $ lpstat -v | grep myprinter
>> device for pdfmail: ipp://printhost:631/printers/myprinter
>>
>> somehost $ lpstat -o myprinter
>> somehost $
>>
>> somehost $ env CUPS_SERVER=printhost lpstat -o myprinter
>> myprinter-14648   user1    12959744   Mon Jan 22 15:58:01 2007
>> myprinter-14658   user2      524288   Mon Jan 22 16:00:27 2007
>>
> 
> I think you might take the ipptest (or testipp, whatever it is named)
> from the CUPS source distribution as a basis for such an utility.

Helge,

sorry, seems my english is too bad, so I was misunderstood. I don't want
to develop a new tool. I expected to get a printers status even if it is
an ipp printer on a different cups server. But - as I stated - I don't
get anything. I just want to know
- if my expectations are wrong, or otherwise
- why I get no data.

Thanks a lot in advance.

-- 
Regards
Christoph
________________________________________________________________________
Christoph Litauer                  litauer at uni-koblenz.de
Uni Koblenz, Computing Center,     http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz     Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2




More information about the cups mailing list