question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Auto-rotate for printing does not work

See original GitHub issue

Attach (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:

  1. Enable pdfjs.enablePrintAutoRotate in about:config.
  2. Open the file.
  3. Open the print preview.
  4. 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:23 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
timvandermeijcommented, Jul 23, 2020

It’s most likely going to be in Firefox 80 which is the currently nightly version.

1reaction
JRC18commented, Aug 28, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found