Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNMP supply level query function #83

Closed
tillkamppeter opened this issue Nov 22, 2020 · 2 comments
Closed

SNMP supply level query function #83

tillkamppeter opened this issue Nov 22, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request priority-low
Milestone

Comments

@tillkamppeter
Copy link
Contributor

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.

@michaelrsweet
Copy link
Owner

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 michaelrsweet self-assigned this Nov 22, 2020
@michaelrsweet michaelrsweet added enhancement New feature or request priority-low labels Nov 22, 2020
@michaelrsweet michaelrsweet added this to the v1.1 milestone Nov 22, 2020
@tillkamppeter
Copy link
Contributor Author

OK, let us go this way.

@michaelrsweet michaelrsweet modified the milestones: v1.1, v1.2 Jan 15, 2021
@michaelrsweet 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-low
Projects
None yet
Development

No branches or pull requests

2 participants