Re: [Printing-architecture] PAPPL 1.2rc1 (Supply levels)

Till Kamppeter <[email protected]>
Newsgroups dev.linux.lists.printing-architecture
Message-ID <[email protected]>
SNMP:
----------
$ testsuite/testpappl --get-id snmp://HP5B78A3

MFG:HP;MDL:HP OfficeJet Pro 8730;

$ testsuite/testpappl --get-status snmp://HP5B78A3

none

$ testsuite/testpappl --get-supplies snmp://HP5B78A3

                       cyan ink HP N9H71A: 54% (ink, cyan)

                    magenta ink HP N9H75A: 58% (ink, magenta)

                     yellow ink HP N9H79A: 60% (ink, yellow)

                      black ink HP N9H83A: 79% (ink, black)

$
----------

DNS-SD:
----------
$ testsuite/testpappl --get-id 
dnssd://HP%5C032OfficeJet%5C032Pro%5C0328730%5C032%5C0915B78A3%5C093._pdl-datastream._tcp.local/

MFG:HP;MDL:HP OfficeJet Pro 8730;

$ testsuite/testpappl --get-status 
dnssd://HP%5C032OfficeJet%5C032Pro%5C0328730%5C032%5C0915B78A3%5C093._pdl-datastream._tcp.local/

none

$ testsuite/testpappl --get-supplies 
dnssd://HP%5C032OfficeJet%5C032Pro%5C0328730%5C032%5C0915B78A3%5C093._pdl-datastream._tcp.local/

                       cyan ink HP N9H71A: 54% (ink, cyan)

                    magenta ink HP N9H75A: 58% (ink, magenta)

                     yellow ink HP N9H79A: 60% (ink, yellow)

                      black ink HP N9H83A: 79% (ink, black)

$
----------

The answers with the SNMP URI take some seconds, with the DNS-SD URI 
they are instantaneous.

    Till


On 15/05/2022 23:22, Michael Sweet wrote:
> Till,
> 
> Try the dnssd and snmp URIs with these commands and post the results.
> 
> 
>> On May 15, 2022, at 3:46 PM, Till Kamppeter <[email protected]> wrote:
>>
>> Seems that ink level query on my printer is supported:
>>
>> ----------
>> $ testsuite/testpappl --get-id socket://192.168.68.101
>>
>> MFG:HP;MDL:HP OfficeJet Pro 8730;
>>
>> $ testsuite/testpappl --get-status socket://192.168.68.101
>>
>> none
>>
>> $ testsuite/testpappl --get-supplies socket://192.168.68.101
>>
>>                       cyan ink HP N9H71A: 54% (ink, cyan)
>>
>>                    magenta ink HP N9H75A: 58% (ink, magenta)
>>
>>                     yellow ink HP N9H79A: 60% (ink, yellow)
>>
>>                      black ink HP N9H83A: 79% (ink, black)
>>
>> $
>> ----------
>>
>> What else could go wrong here?
>>
>> I have tested with the original network backends (schemes, devices) of PAPPL, both the one with DNS-Sd discovery and the one with SNMP discovery, and even with them I get only the gauge.
>>
>>    Till
>>
>>
>> On 15/05/2022 21:37, Michael Sweet wrote:
>>> The "testpappl" program provided with PAPPL can be used to test the SNMP stuff:
>>>      git clone https://github.com/michaelrsweet/pappl.git
>>>      cd pappl
>>>      ./configure
>>>      make
>>>      testsuite/testpappl --get-id socket://IP-ADDRESS
>>>      testsuite/testpappl --get-status socket://IP-ADDRESS
>>>      testsuite/testpappl --get-supplies socket://IP-ADDRESS
>>
> 
> ________________________
> Michael Sweet
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.