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

Michael Sweet <[email protected]>
Newsgroups dev.linux.lists.printing-architecture
Message-ID <[email protected]>
Till,

You need to set the "have_supplies" member of the pappl_pr_driver_data_t structure to 'true'.


> On May 15, 2022, at 9:47 AM, Till Kamppeter <[email protected]> wrote:
> 
> On 04/05/2022 02:49, Michael Sweet via Printing-architecture wrote:
>> PAPPL v1.2rc1 is now available for download from:
> 
> [...]
> 
>> - Added unit test support for the new SNMP-based supply level and status monitoring code.
> 
> [...]
> 
>> - Fixed double "Supplies" buttons in the web interface.
> 
> [...]
> 
>> - Fixed printer compatibility issues with the new `papplDeviceGetSupplies` API.
> 
> [...]
> 
> Is there any documentation/example for how to get a "Supplies" button (or permanent display on printer page) to display the supply levels obtained from the printer via SNMP? I would like to add such functionality to pappl-retrofit.
> 
>   Till
> 

________________________
Michael Sweet
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEkIbDzcZsP1Y8+PQFvmfHXsgfMkQFAmKBBdsACgkQvmfHXsgf
MkTMWA/+LT258g1Y6v7GuxWo/YHKSpDD+WCRFtSqYJbIWJtFq4t6aZmGdHbNesU1
uYomcIt0uCHPtokffFyJMmKGrF5dVO0HJjf6RtGIX285Lg5xYCRZBTbeJ4V27nFz
qdIavpGKr8vHSAK0kMoil7+2jbmvowjlYzM/NzdAgNBrkbZXbKwJlqvEzdAPD2TR
VBRyB8zjpXYM767eEWiKoRJUWOj3nYfqMqcNGsZP5MEsLGxA8DRg1+b3hFVchk9x
qHKBd2ejuxkIFcitaL7T7z616mzE4BX3Pr71KUhD9q1+f99MHiSojaM/2zyX5DS6
wwagG6l3L6I8E+bq65zG8wa9IBxeI+dgU4QU5Nyt1ZSMsdqlh5p7GTjpv/u2mMGA
JUOm0y6HrzisbNB4foLAMz80x0isUD8f7mLi+TYvt3NloxIbsmmUj/7m4WB2PITR
/BHYq+DVgHh41CdYSv9IEBKNMqRgL49cxDf0oPQ4Vd3m1GAHp7HaSWAAKVlolpRq
pZYoO/zWPiV9JakHt7dKphxF07MkOfv1LUjM/9X3Rp0z3D+yZEJZUsiu1BSLU7u3
Ss/nmbOqOKPoA/QkIUtnD85SXejKumc9HqTf3y9CyISDmrFNk2NhZrXpILJ3mXAh
cHCgz+rIxeGECPqj9CB8/H1w6p8DShk6w6cM0GWNY1sP6XiCEP0=
=DH2I
-----END PGP SIGNATURE-----
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.