[IPP] Question concerning the "presentonoff" key for "printer-finisher"

[IPP] Question concerning the "presentonoff" key for "printer-finisher"

Kennedy, Smith (Wireless & IPP Standards) smith.kennedy at hp.com
Fri Dec 18 21:16:31 UTC 2020


Greetings,

In PWG 5100.1-2017, one of the keys defined for the "printer-finisher" Printer Status attribute is "presentonoff". Yesterday in the IPP WG <https://ftp.pwg.org/pub/pwg/ipp/minutes/ippv2-concall-minutes-20201217.pdf> we discussed how that key should become RECOMMENDED in our Finishings 2.2 update. The definition of this key in the ABNF on page 48 of Finishings 2.1 <http://ftp.pwg.org/pub/pwg/candidates/cs-ippfinishings21-20170217-5100.1.pdf#page=48> is:
finisher-presentonoff = "presentonoff" "=" 1*ALPHA
    ; string value as an alpha string mapped directly from ; PresentOnOff in [RFC3805]

RFC 3805 defines PresentOnOff thus:

PresentOnOff ::= TEXTUAL-CONVENTION
    STATUS    current
    DESCRIPTION
        "Presence and configuration of a device or feature."
    SYNTAX    INTEGER {
                  other(1),
                  on(3),
                  off(4),
                  notPresent(5)
                  }

I think this ABNF definition should be fixed to be more like this to limit the set of values:
finisher-presentonoff = "presentonoff" "=" "other" / "on" / "off" / "notPresent"
    ; string value as an alpha string mapped directly from ; PresentOnOff in [RFC3805]

Perhaps we need to do it with two rules:

finisher-presentonoff = "presentonoff" "=" 1*presentonoffvalue
finisher-presentonoff-value = "other" / "on" / "off" / "notPresent"
    ; string value as an alpha string mapped directly from ; PresentOnOff in [RFC3805]

Thoughts?

Smith

/**
    Smith Kennedy
    HP Inc.
*/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pwg.org/pipermail/ipp/attachments/20201218/5c741fc4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://www.pwg.org/pipermail/ipp/attachments/20201218/5c741fc4/attachment.sig>


More information about the ipp mailing list