allow for printer page orientation to adjust pdf printing rotation
Categories
(Core :: Print Preview, enhancement, P3)
Tracking
()
People
(Reporter: mozilla, Unassigned)
References
Details
In https://github.com/mozilla/pdf.js/pull/12023 , I changed pdf.js' enablePrintAutoRotate
behavior. Originally we would only rotate landscape pages while printing if the first page was portrait. Now we always rotate landscape pages to portrait before printing. This makes sense as long as our printer page is portrait.
However, if the printer page is landscape, we don't have a solution for automatically rotating portrait pages to landscape. If we were somehow able to detect which orientation the printer pages are, we could compare the pdf page orientation, and rotate if it doesn't match. This is probably the most correct behavior.
I think this is related to print preview, so I'm filing here.
Comment 1•4 years ago
|
||
I think bug 851441 (or one of its existing or still-to-be-filed dependencies) will give content (e.g. PDF.js) the ability to request a particular orientation for a given page (or for all of the pages), via CSS Named Pages.
Comment 2•4 years ago
|
||
(Also: seems similar to bug 862677; not sure if it's precisely a dupe, but adding to "see also" for now.)
Updated•4 years ago
|
Updated•4 years ago
|
Description
•