Add a printing framework & subsystem that applications can make use of on Firefox OS to print to network connected printers. - Enable window.print() as a means for gaia apps to print - Create print settings UI to display per job print options to user - Define mechanism by which the above print settings UI is invoked from window.print(). Is it a separate application or shared components for applications to use? - Define mechanism by which user modifications to the print setting can be reported back to the invoking application so content can be re-rendered if necessary.
Printing to pdf should be the easiest option. But need to figure out how to expose the API to web. Perhaps we could extend window.print() to take some params, and then possibly return a Promise which then gives a printed pdf to the web page, and it can then send it to the printer (using XHR? assuming the printer is just a web service.)