The web content printed on paper is too small #45080
Labels
33-x-y
34-x-y
35-x-y
component/printing
platform/all
status/confirmed
A maintainer reproduced the bug or agreed with the feature
Preflight Checklist
Problem Description
Problem : The web content printed on physical paper is too small
This issue ( ref to #39179 ) is closed but it seems wasn't resolved and many develpers complain about it so i want to reopen this issue
Proposed Solution
As my investigation , chromium changes in https://chromium-review.googlesource.com/c/chromium/src/+/5349263?tab=comments indicate that kCenterShrinkToFitPaper doesn't scale up when web content is small relative to paper size .
@codebytere Please review this changes and consider set kFitToPrintableArea for default option when silent mode is enable.
Alternatives Considered
Other solution is add "printScaleOption" to electron webContent.print() settings and pass it to settings.print_scaling_option's printer module in chromium
Additional Information
No response
The text was updated successfully, but these errors were encountered: