You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
Most IPP- or SNMP-capable printers allow for standardized ways to poll their ink levels, independent of PDL in use. CUPS makes use of this by (probably all) its backends polling ink levels on each job and dropping them into error_log. As this works for many printers independent of their PDL it would be great if appropriate functions (one for IPP, one for SNMP) get added to PAPPL so that one does not need to re-implement this in every Printer Application.
The Printer Application could call this out of the status callback and the levels could be displayed on the main page and the printer pages of the web interface and also be passed on when a client polls ink levels vis IPP.
The text was updated successfully, but these errors were encountered:
I won't do IPP queries because PAPPL doesn't support IPP printers (not much point, IPP printers with sufficient capabilities are supported directly by CUPS) but I could add an SNMP query function that populated the pappl_supply_t structure.
michaelrsweet
changed the title
CUPS does IPP and SNMP ink level polls via backends, PAPPL should have functions for this
SNMP supply level query function
Apr 15, 2021
Describe the solution you'd like
Most IPP- or SNMP-capable printers allow for standardized ways to poll their ink levels, independent of PDL in use. CUPS makes use of this by (probably all) its backends polling ink levels on each job and dropping them into
error_log
. As this works for many printers independent of their PDL it would be great if appropriate functions (one for IPP, one for SNMP) get added to PAPPL so that one does not need to re-implement this in every Printer Application.The Printer Application could call this out of the status callback and the levels could be displayed on the main page and the printer pages of the web interface and also be passed on when a client polls ink levels vis IPP.
The text was updated successfully, but these errors were encountered: