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

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

Ira McDonald blueroofmusic at gmail.com
Sat Dec 19 01:03:13 UTC 2020


Hi Smith and Mike,

+1

Cheers,
- Ira

*Ira McDonald (Musician / Software Architect)*

*Chair - SAE Trust Anchors and Authentication TF*
*Co-Chair - TCG Trusted Mobility Solutions WG*

*Co-Chair - TCG Metadata Access Protocol SG*








*Chair - Linux Foundation Open Printing WGSecretary - IEEE-ISTO Printer
Working GroupCo-Chair - IEEE-ISTO PWG Internet Printing Protocol WGIETF
Designated Expert - IPP & Printer MIBBlue Roof Music / High North
Inchttp://sites.google.com/site/blueroofmusic
<http://sites.google.com/site/blueroofmusic>http://sites.google.com/site/highnorthinc
<http://sites.google.com/site/highnorthinc>mailto: blueroofmusic at gmail.com
<blueroofmusic at gmail.com>(permanent) PO Box 221  Grand Marais, MI 49839
906-494-2434*


On Fri, Dec 18, 2020 at 4:36 PM Kennedy, Smith (Wireless & IPP Standards)
via ipp <ipp at pwg.org> wrote:

>
>
> On Dec 18, 2020, at 2:26 PM, Michael Sweet <msweet at msweet.org> wrote:
>
> Smith,
>
> On Dec 18, 2020, at 4:16 PM, Kennedy, Smith (Wireless & IPP Standards) via
> ipp <ipp at pwg.org> wrote:
> ...
> 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]
>
>
> That would be fine with me - these mappings often get pretty obtuse and
> including the list of values in the ABNF would be a welcome improvement for
> me...
>
> 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]
>
>
> Doesn't 1*SOMETHING allow one or more values?  If you really want to split
> the values out (not necessary IMHO) you just need
> "finisher-presentonoff-value".
>
>
> You are right about the "1*" part. I'll use the first proposal with some
> added hard wraps and a clarified origin:
>
> finisher-presentonoff = "presentonoff" "=" "other" / "on" /
>                            "off" / "notPresent"
>    ; string value as an alpha string mapped directly from
>    ; finDevicePresentOnOff in [RFC3806] which imports the
>    ; definition of PresentOnOff from [RFC3805]
>
> _______________________________________________
> ipp mailing list
> ipp at pwg.org
> https://www.pwg.org/mailman/listinfo/ipp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pwg.org/pipermail/ipp/attachments/20201218/f172f4a5/attachment.html>


More information about the ipp mailing list