Open
Bug 1265440
Opened 9 years ago
Updated 2 years ago
PDF Viewer is not using print.print_margin
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: drichard, Unassigned)
References
Details
(Whiteboard: [pdfjs-integration][pdfjs-printing])
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160315153207
Steps to reproduce:
When you load a PDF into pdfjs it's rendering he PDF very nicely these days. However some PDFs are designed for printers that print all the way to the edge, which do not work correctly on HP laser printers which must have a 1/2 inch margin all the way around. On Linux (untested other OS's), an exact copy of the document is set to the printer and print.print_margin in about:config is not used at all. It attempts to print all the way to the edge, and the laser printers cut it off.
Actual results:
Print job was sent to the printer exactly as seen on the screen, and because of the difference in margins between hardware -- the PDF is cut off.
Expected results:
PDFJS should understand the margins in print.print_margin and shrink to fit the document within that space.
Comment on attachment 8742404 [details]
IMG_0038.JPG
This document was created to print all the way to the edge, and pdfjs is sending that exactly to the printer...the HP printers are then cropping off the 1/2 inch area that cannot be used.
Component: Untriaged → PDF Viewer
Summary: PDFJS Is Not Using print.print_margin → PDF Viewer is not using print.print_margin
Updated•8 years ago
|
Priority: -- → P3
Whiteboard: [pdfjs-c-integration][pdfjs-d-printing]
Here is my test PDF as requested. This document was created with no margins, text goes all the way to the left and right edges of the paper. A inkjet printer can print this way, a laser printer cannot. So because it's not given 1/2 inch margins when printing (shrink to fit), the laser printer does not print the text within that space.
Flags: needinfo?(drichard)
Updated•3 years ago
|
Whiteboard: [pdfjs-c-integration][pdfjs-d-printing] → [pdfjs-integration][pdfjs-printing]
Updated•3 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•