Re: [Printing-architecture] PAPPL 1.2rc1 (Supply levels)
Michael Sweet <[email protected]>
| Newsgroups | dev.linux.lists.printing-architecture |
|---|---|
| Message-ID | <[email protected]> |
Till, You can set it unconditionally; ideally I'd at least look at the device URI and only do it for network printers. > On May 15, 2022, at 10:43 AM, Till Kamppeter <[email protected]> wrote: > > On 15/05/2022 15:53, Michael Sweet wrote: >> Till, >> You need to set the "have_supplies" member of the pappl_pr_driver_data_t structure to 'true'. > > Can I do this simply generally for all printers, regardless whether they actually support the reporting of supply levels via SNMP and then the ones which support it report the levels and with the others nothing bad will happen? Or do I need to somehow find out during printer setup whether the printer supports it or not? For example by some entry in the PPD or querying the printer somehow? > > Till > ________________________ Michael Sweet
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkIbDzcZsP1Y8+PQFvmfHXsgfMkQFAmKBHJEACgkQvmfHXsgf MkQ1Ig//X/aKo9+oJm6QejZSNN9jClo5iulHQS1DcJgxZlm+IHS/bkFWJ46hdVyQ EJvNkerVMIDfeBAmUze+deJ82jAvIqyjw5H7LICmD5sWtW3C1Epl/voHpuRhDOwb 4BOGeUykVlrv5vECEOkWoG9oScEI9J3ubHoMM2aLvYvUMsWsVOp6GJ4FacvPXESS ctM/JDGjHFNxrtMf3PXLJmtzsCCIG0W7hlaDVPMXdi1svf5K7RIxW1beV0N03mA0 YBgEzJDxIvx9SRqBYdF/Z2FoUTYjrVY4RRcZNdJISYJQ9WYOcljZqjnZADMMo2xo CVWSqRAhAluI6/54NkkV+dgirqe+yLLWIuVdNizMKfMjYSDuN7QTlyqeWVa49RJX nSrGPcrahMuMy/oKpm3klZj+5H73pi6EGacoS48hMrQE4EhP/F/ToDuyFTXZ0/g3 w5YFsLAS8T5k9K8AkEuycOpQzT2rZCuTFmbANh+yLj3qQiS1wMuGAg/cotsoz16U gS0i+sIVyY7jAMCdVw3IKQDLBnyd5vj2NHKCjaMTuxHedmFE9/8G/06RxBVma8C5 V/1mF5W0nLLytFTO3/epSmIgieXLfqLRhbAeSsgMHURulxlyHPi6iYqEK8dFhfmA ukbPhFAG6AUtYEQa9UMa///kDGsUYuQww3NZly9dXnwVXU0SII4= =gjGN -----END PGP SIGNATURE-----