Skip to content

WebView2 PDF printing should default to Actual Size, not Fit To Page #3691

Closed
@FalconFour

Description

@FalconFour

Is your feature request related to a problem? Please describe.
PDF documents are, by design, intended to be one-to-one representations of paper documents. When presented with a PDF, it's almost always the intended behavior to have the document printed "as-is", without scaling - cropped and centered, if needed.

A compounding factor (to make this doubly important) is that the PDF includes inherent margins - it already contains the page margins for printing. These are meant to be cropped into the printer's margins (they typically overlap - blank data is cropped and re-added as printer's margins, in effect), and thus you print an exact 1:1 replica of the PDF document.

This is especially important for printing labels, which are meant to be printed exactly as presented - instead of doing its one and only job, the PDF printing mechanism defaults to manipulating the size of the print, which causes distortion in print.

In "fit to page" mode, it takes the PDF's built-in margins (page size: 8.5" x 11") and shrinks the document to fit within the margins of the printer - typically around 0.1 to 0.25 inches on each side - thus shrinking the 8.5x11" document into about 8 x 10.5, inside a printed 8.5x11" sheet of paper. Thus, we live in a world of PDFs being shrunk ever-so-slightly compared to the original document size they were stored as.

It's almost never proper to print with scaling - which fits the PDF's (blank) margins into the scaled size of your printer's margins. If you were to repeat this, you would quickly experience a hall-of-mirrors effect as a page is "fit to page"'d into another page's margins, etc etc. It's wrong. "Fit to Page" should be a special option for edge cases, not the default.

Describe the solution you'd like and alternatives you've considered
Default setting for PDF printing should be changed to "Actual Size" (or 100%).
Alternatively, expose the setting on the page (do not bury it under "more settings" as it is today).
If it is a setting, it should be remembered between prints/between sessions/for all eternity.
Alternatively, determine if the PDF size is the same paper size as the printer, and default to Actual Size that way - or Shrink to Fit if there's a reasonably large difference.

This is a continuation from #2523 which was ended as "make a feature request", so I did.

AB#45893624

Metadata

Metadata

Labels

feature requestfeature requesttrackedWe are tracking this work internally.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions