I have a NPAPI plugin to integrate a web application with printer. I am looking for some resources on how to port existing NPAPI plugin to new WebExtension standard.
First question is, what are WebExtension limitations so I ll evaluate if it's even possible ?
My current plugin is loaded through:
<embed id="myprinter" type="application/mozilla-printer-scriptable-plugin" width=200 height=200>
Then we can interact with the plugin using methods exposed by the object e.g
myprinter.print(), myprinter.clear(), myprinter.render(imageurl)
And properties
myprinter.status, myprinter.retcode
The plugin interacts with an old version of zebra printer to print a image.
My knowledge of how current NPAPI works internally is also limited as the current extension is written by some other developer.