[feature] Add print framework

UNCONFIRMED
Unassigned

Status

()

Core
Printing: Setup
--
enhancement
UNCONFIRMED
3 years ago
3 years ago

People

(Reporter: Jorge Del Hierro, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

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