Open Bug 1555592 Opened 1 year ago Updated 1 year ago

PDFjs adding Top and Bottom Magins to Printout


(Firefox :: PDF Viewer, defect, P3)

67 Branch





(Reporter: joe, Unassigned, NeedInfo)


(Whiteboard: [pdfjs-c-printing])


(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

Steps to reproduce:

Set Applications >PDF > Preview in Firefox
Print a PDF.
I have tried/checked:

  • Set in about:config , all magins for the printer to 0 (print.printer_4100DN_USB.print_margin_top etc)
  • Ensure there are no additional Gutter or Margins added by the Printer properties.
  • Ensure the Application adds no add'l margin
    Page size is set correctly in Printer settings

Actual results:

PDFjs preview window shows correct layout, without any additional margins.
Then when actually Print, or print Print Preview, additional margins are added.
Heres the problem:
FF v52.2.1esr Win 7 : Added ~0.5" to Left and Top margins (possibly R & B also).
FF v67.0 (latest) Win 7 : Added ~0.5" to Top and Bottom margins
FF v67.0 MX Linux : No added margins, however cannot use due to another bug with the Linux version of PDF.js (or FF)

Expected results:

No additional margins should be added. Or if must be , there needs to be a menu item to set these magins.
We print to 4 labels per sheet and 3 labels per sheet, so addition of margins is NOT acceptable. This is a deal-breaker for us.
We are forced to use the FF Preview in FF because there is no Adobe Acrobat Reader plugin support since v57. With the old v52.2.1 FF with Acrobat Plugin everything worked perfectly.

User Agent incorrect:
This relates to FF v67.0 + Win 7

Umm, is that a request of some kind? If so Pls explain.

The priority flag is not set for this bug.
:bdahl, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(bdahl)

Would it be possible to email me the PDF?

Flags: needinfo?(bdahl) → needinfo?(joe)
Priority: -- → P3
Whiteboard: [pdfjs-c-printing]
You need to log in before you can comment on or make changes to this bug.