Open Bug 1046261 Opened 10 years ago Updated 2 years ago

[feature] Add print framework

Categories

(Core :: Printing: Setup, enhancement)

All
Gonk (Firefox OS)
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: jorge.delhierro, Unassigned)

Details

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.
Component: Gaia → Printing: Setup
Flags: needinfo?(bugs)
Product: Firefox OS → Core
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.)
Flags: needinfo?(bugs)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.