[IPP] canonical ipp json encoding

[IPP] canonical ipp json encoding

Kennedy, Smith Wireless & IPP Standards smith.kennedy at hp.com
Thu Apr 27 21:38:19 UTC 2023


HI Benjamin,

Just to satisfy my own curiosity, can you describe use cases where it is necessary for JavaScript scripts executing in a web page would want to formulate their own IPP requests? What value does that provide, and why is calling out to the browser's native print system inadequate?

Smith

/**
    Smith Kennedy
    HP Inc.
*/

> On Apr 27, 2023, at 2:49 PM, Benjamin Gordon <bmgordon at chromium.org> wrote:
> 
> CAUTION: External Email
> Resending since it seems that the original email got dropped
> somewhere. From today's call, it sounded like the JS library at
> https://github.com/williamkapke/ipp <https://github.com/williamkapke/ipp> and/or
> https://github.com/sealsystems/node-ipp <https://github.com/sealsystems/node-ipp> has a representation that's
> already along the right lines, but there might be some cases that they
> don't address. What do people think about formalizing something based
> on those?
> 
> Thanks,
> Benjamin
> 
> On Thu, Mar 23, 2023 at 4:33 AM Benjamin Gordon <bmgordon at chromium.org> wrote:
> >
> > Hi all,
> >
> > We have recently started some discussions internally about what a web-based printing API might look like. Rather than inventing yet another new way to describe printers and states and jobs and so on, I've been advocating for building on all the PWG's hard work with IPP. The sticking point is that binary IPP frames aren't very ergonomic to work with in Javascript. Has there ever been any consideration of defining a canonical JSON encoding? If we brought forward a proposal for such a thing in the next couple of months, would there be interest in moving it through the whole standardization process?
> >
> > Thanks,
> > Benjamin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pwg.org/pipermail/ipp/attachments/20230427/6da6dede/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/20230427/6da6dede/attachment.sig>


More information about the ipp mailing list