handling of printer-more-info in CUPS
Hi,
my printer app exposes
printer-more-info (uri) =http://127.0.0.1:8142/Brother_TD-2020_(USB)/
to cups, but in the web interface, I can not find any link pointing to this uri.
I think this is a bit confusing for users, as they only see/use the operating systems printer settings dialog, which points to http://localhost:631 , but from there they do not get to the printers own page,
where may settings/information not exposed via IPP (always on, reconfiguration of generic buttons, phonebook etc.) are offered.
I would suggest either:
print dialog -> cups webpage -> printer webpage
print dialog : -> printer webpage
: -> cups webpage
BR
Armin
[ CCed the developers for driverless IPP printing support in the printer setup
tools of the GNOME, KDE, and COSMIC desktops ]
Armin,
thanks for the hint with "printer-more-info" in the printer properties reported in response to a "get-printer-attributes" IPP request and that the functionality accessible through this URI is often not accessible via the standard web admin interface of the same printer.
Anybody developing printer setup tools,
according to Armin's findings, it seems that for each IPP print destination listed by the printer setup tool there should not only be a button for opening the standard web admin interface, but also, if a "printer-more-info" attribute is reported, a button to open the link provided by this attribute.
Also, the "get-printer-attributes" IPP response should be checked for other interesting URI-type attributes which could deserve/need a button in the printer setup tool. Michael (Sweet), as master of IPP, anything worthwhile here?
Till
Quoted 23 lines · Armin Felder
Hi,
my printer app exposes
printer-more-info (uri) =http://127.0.0.1:8142/Brother_TD-2020_(USB)/
to cups, but in the web interface, I can not find any link pointing to this uri.
I think this is a bit confusing for users, as they only see/use the operating systems printer settings dialog, which points to http://localhost:631 , but from there they do not get to the printers own page,
where may settings/information not exposed via IPP (always on, reconfiguration
of generic buttons, phonebook etc.) are offered.I would suggest either:
print dialog -> cups webpage -> printer webpageprint dialog : -> printer webpage
: -> cups webpageBR
Armin
thanks Till,
just for information I created a related KDE bug: https://bugs.kde.org/show_bug.cgi?id=521508
Armin
Quoted 40 lines · Till Kamppeter
[ CCed the developers for driverless IPP printing support in the printer setup tools of the GNOME, KDE, and COSMIC desktops ]
Armin,
thanks for the hint with "printer-more-info" in the printer properties reported in response to a "get-printer-attributes" IPP request and that the functionality accessible through this URI is often not accessible via the standard web admin interface of the same printer.
Anybody developing printer setup tools,
according to Armin's findings, it seems that for each IPP print destination listed by the printer setup tool there should not only be a button for opening the standard web admin interface, but also, if a "printer-more-info" attribute is reported, a button to open the link provided by this attribute.
Also, the "get-printer-attributes" IPP response should be checked for other interesting URI-type attributes which could deserve/need a button in the printer setup tool. Michael (Sweet), as master of IPP, anything worthwhile here?
Till
Quoted 22 lines · Armin Felder
Hi,
my printer app exposes
printer-more-info (uri) =http://127.0.0.1:8142/Brother_TD-2020_(USB)/
to cups, but in the web interface, I can not find any link pointing to this uri.
I think this is a bit confusing for users, as they only see/use the operating systems printer settings dialog, which points to http://localhost:631 , but from there they do not get to the printers own page,
where may settings/information not exposed via IPP (always on, reconfiguration of generic buttons, phonebook etc.) are offered.I would suggest either:
print dialog -> cups webpage -> printer webpageprint dialog : -> printer webpage
: -> cups webpageBR
Armin
Till,
Quoted 7 lines · Till Kamppeter
[ CCed the developers for driverless IPP printing support in the printer setup
tools of the GNOME, KDE, and COSMIC desktops ]Armin,
Quoted 7 lines
thanks for the hint with "printer-more-info" in the printer properties reported in response to a "get-printer-attributes" IPP request and that the functionality accessible through this URI is often not accessible via the standard web admin interface of the same printer.
Anybody developing printer setup tools,
according to Armin's findings, it seems that for each IPP print destination listed by the printer setup tool there should not only be a button for opening the standard web admin interface, but also, if a "printer-more-info" attribute is reported, a button to open the link provided by this attribute.
Also, the "get-printer-attributes" IPP response should be checked for other interesting URI-type attributes which could deserve/need a button in the printer setup tool. Michael (Sweet), as master of IPP, anything worthwhile here?
From a current CUPS/PPD perspective, the APSupplies keyword (value of "printer-more-info" attribute) points to the printer's embedded web page, cupsChargeInfoURI (value of "printer-charge-info-uri" attribute) points to any accounting/paid printing page, and cupsPrivacyURI (value of "printer-privacy-policy-uri" attribute) points to any privacy/usage terms information for the printer. There are also other attributes ("printer-supply-info-uri" and "printer-home-page-uri") that point to the supply level and root/home pages on the printer (AirPrint requires "printer-more-info" to point to an AirPrint-friendly page, which isn't always the root/home page on the printer...)
Longer term (CUPS 3.0) I will probably extend PAPPL to mirror these value with an "smi55357-" prefix, so you'll see:
- "smi55357-charge-info-uri": The printer's "printer-charge-info-uri" value
- "smi55357-home-page-uri": The printer's "printer-home-page-uri" or "printer-more-info" (if the home page URI is available) value
- "smi55357-privacy-policy-uri": The printer's "printer-privacy-policy-uri" value
- "smi55357-supply-info-uri": The printer's "printer-supply-info-uri" value
________________________
Michael Sweet