Re: [Printing-architecture] PAPPL 1.2rc1 (Supply levels)
Michael Sweet <[email protected]>
| Newsgroups | dev.linux.lists.printing-architecture |
|---|---|
| Message-ID | <[email protected]> |
Till, > On May 15, 2022, at 2:57 PM, Till Kamppeter <[email protected]> wrote: > > On 15/05/2022 17:30, Michael Sweet wrote: >> Till, >> You can set it unconditionally; ideally I'd at least look at the device URI and only do it for network printers. > > Set it unconditionally in pappl-retrofit, file pappl-retrofit/pappl-retrofit.c: > ... > Now I get a "Supplies" button for each network printer setup. > > But clicking it does not show any ink levels, only a gauge as it would appear above the ink level diagram (when comparing to what I see in the test app of PAPPL where the ink levels are totally artificial). > > Printer is the HP OfficeJet Pro 8730. > > Can it be that the printer does not supply sufficient info? How can I do a simple test on the printer? 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
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkIbDzcZsP1Y8+PQFvmfHXsgfMkQFAmKBVmsACgkQvmfHXsgf MkSZ/hAAsnMHWIys2oqiqwPG95MbHAjyOEFXLEYemJGS9MP9DiHZ8SKV484zd6l3 yZKTHzKgpi6SsbMVE24nw46makyAfCePRsDjldE7GVOKbEvOtiZBtT2RxM4C9Uwf bWa5IbK1uwMEy2gvMBLVoMV1Fnl20IwfU7AN0+8S3V51YwYwJjGPjEqz2Mkn/C7h yQcU32SOfyHBawaDXrHlEwNwzF1cWx3h/ZUw/QK5flg9UGrT04QgxxQj4IjR5MSl 3qA5R1vSgaXt3AScZpxqG0/wAFHPkrbLsP2zmZryG+A9obY+v9vx2XS8rASgr+y9 2Ro3muvLMdrIgyNwniuPRprGfpHYCXKAcoVXSfTzYBcjZx3HwLOqAAHxDzBTYwVM wQ0spjKIoay4/KZdjjbgiFsx8b3bWyHbOQosrULw2IkZdFGkAchsHv67Lqf/1IZW AVsZwvfhdQTM6JifPcxPQORqdzeSL42kE454UCNC+/qLLB+BVDTmiAz0zdp/CG+k 2z1i2Ae43qAvOQwwm6hsRcw96PVSV7QhqJdyUSMZQbfOBJKtSWHnxOxW6py+3Lxi 0mpjWRLa+qjF2jwFXSCIMeoiNuJtpapAYSUWnqvU85epoYxMg+/aC2MaB51hp9zG oY6g0KFeEcoSZ239hcsMwDKfxcKVLiUucdZYhDilkhPI0lkz2AA= =XYNV -----END PGP SIGNATURE-----