Auto-rotate for printing does not work
See original GitHub issueAttach (recommended) or Link to PDF file here: http://www.co.dutchess.ny.us/CountyGov/Departments/StopDWI/DontBlowIt.pdf
Configuration:
- Web browser and its version: Firefox 57.0.2 (64 bits)
- Operating system and its version: Arch Linux
- PDF.js version: 1.9.583
- Is a browser extension: no (embedded in Firefox)
Steps to reproduce the problem:
- Enable
pdfjs.enablePrintAutoRotate
inabout:config
. - Open the file.
- Open the print preview.
- Notice that the landscape pages are not rotated.
What is the expected behavior? (add screenshot) They should be rotated to fill the entire landscape page.
What went wrong? (add screenshot) They are sized onto a portrait page.
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:23 (6 by maintainers)
Top Results From Across the Web
Auto rotate on print settings not working
Solved: I have a pdf document with mostly portrait pages but some landscape pages at the back. My printer settings are on portrait...
Read more >Autorotate does not work - HP Support Community - 8117676
I have a Designjet T790ps printer that will not autorotate the print to fit across the 36" roll. I'm printing plans from PDF...
Read more >Prints are not rotated correctly - Support
Go to Settings > Printing > Set Printer Properties, and change the paper orientation to the opposite of what it is. Go to...
Read more >Auto-Rotate in Print dialog not working - Nitro Pro
Workaround: Select 'Use PDF page size to select paper source' in Page Scaling settings. This will automatically rotate and center pages.
Read more >auto rotate and center will not work when printing on a HP ...
I would check the printer driver for the HP 1055n to see what the default orientation for the device is. Is the carriage...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s most likely going to be in Firefox 80 which is the currently nightly version.
I have done all the fix issues on the link above and still have the same problem, testing between each step. Here is a pdf I did a search for and used for my testing: http://www.calendarpedia.co.uk/download/weekly/weekly-calendar-2019-landscape-time-management-1-hour.pdf
To clarify, Chrome, Internet Explorer, Edge and the new Edge browsers all autorotate the page so it comes out in landscape as intended, Firefox does not. And the print icon you click to print in the pdf render doesn’t have an option on the initial page to change the orientation you have to dig down to locate it. Most of my users just hit the button and print so there is a lot of wasted paper, the worse of the users I have moved to another browser to stop the whining.