Closed Bug 1309441 Opened 6 years ago Closed 6 years ago

[jsplugins][Meta] Implement the back-end part of printing pdf file functionality

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1347444

People

(Reporter: lochang, Assigned: lochang)

References

Details

This bug is to implement the back-end part of printing pdf file functionality.
Assignee: nobody → lochang
No longer depends on: 1286498
Blocks: 1309444
No longer blocks: 1309444
Set this bug as Meta bug of implementing pdf printing functionality in runtime.

And the rough flow of the printing is as below:
User press the print button
-> We first call |PPP_Messaging::HandleMessage| with type "print" to PDFium.
-> PDFium then call |PPB_PDF::Print|.
-> In |PPB_PDF::Print| we should somehow get print settings from user. Next, we successive call |PPP_Printing::Begin|, |PPP_Prining::PrintPages| and |PPP_Printing::End| to get the PDF binary from PDFium. -> At last, PDFium will call |PPP_PDF::UserMetricsRecordAction| with action "PDF.PrintPage".
-> Then we could somehow send the binary to gecko and print it.
Summary: [jspluigins] Implement the back-end part of printing pdf file functionality → [jspluigins][Meta] Implement the back-end part of printing pdf file functionality
Depends on: 1328495
Blocks: 1269760
No longer blocks: 1269760
Summary: [jspluigins][Meta] Implement the back-end part of printing pdf file functionality → [jsplugins][Meta] Implement the back-end part of printing pdf file functionality
Blocks: 1269760
No longer blocks: 1264551
Group: mozilla-employee-confidential
No longer depends on: 1328495
Depends on: 1346682
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.