[JSPlugin] Can not generate PDF file while using "Microsoft Print to PDF" driver in Win10

NEW
Unassigned

Status

()

P2
normal
a year ago
a year ago

People

(Reporter: fatseng, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
JSPlugin can not generate PDF file while using "Microsoft Print to PDF" driver in Win10.

Updated

a year ago
Assignee: nobody → lochang
After looking into the bug, it seems that the showprintdialog won't pass the correct paperWidth and paperHeight when we try to "print to PDF" which results in generating a PDF with empty content.
Currently, I can only think of setting a Default value to paperWidth and paperHeight. Since these values are got from OS directly.
(Reporter)

Comment 2

a year ago
Per check, paperWidth and paperHeight are zero while using "Microsoft Print to PDF" driver. If receiving unreasonable value, we should have a default size.

Updated

a year ago
Assignee: lochang → nobody
OS: Unspecified → Windows
Priority: -- → P2
Hardware: Unspecified → All
You need to log in before you can comment on or make changes to this bug.