Open Bug 1406098 Opened 2 years ago Updated 3 months ago
.enable Print Auto Rotate doesn't work
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20170921064520 Steps to reproduce: Set the preference pdfjs.enablePrintAutoRotate to true, opened a landscape-oriented PDF, printed. Actual results: It printed in portrait. Expected results: It should have printed in landscape.
More information: https://github.com/mozilla/pdf.js/pull/8043
Was this previously working for you?
(In reply to Brendan Dahl [:bdahl] from comment #4) > Was this previously working for you? I wasn't using it previously, I just learned about the feature now. From what I understand, it was added in 54. https://hg.mozilla.org/mozilla-central/rev/e28772b44058 Our users have been asking for this feature ever since we switched from the Adobe Reader plugin to PDF.js. It's standard behaviour across different applications I've tried that the document's orientation determines the default print orientation. I see no reason why it shouldn't be the same for PDF.js. I guess what I'm saying is not only should this preference be working, its default should be true.
Perhaps Ryan VanderMeulen, the change author, can help us.
I just do the syncs with the upstream repository. Not a pdf.js coder otherwise :) More discussion upstream if it helps: https://github.com/mozilla/pdf.js/pull/8043
You need to log in before you can comment on or make changes to this bug.