landscape pdfs are printed portrait with pdf.js

NEW
Unassigned

Status

()

Firefox
PDF Viewer
P3
normal
4 years ago
3 months ago

People

(Reporter: abma, Unassigned)

Tracking

(Depends on: 1 bug)

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [pdfjs-c-integration][pdfjs-d-printing], URL)

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130215130331

Steps to reproduce:

for example load http://www.co.monterey.ca.us/planning/howto/landscape_plan.pdf with pdf.js

print the page


Actual results:

the page is printed portrait, with stuff cut off


Expected results:

the page should be printed landscape (->autorotated)
Component: Untriaged → PDF Viewer

Updated

4 years ago
Priority: -- → P3
Whiteboard: [pdfjs-c-integration][pdfjs-d-printing]
Another example is this MS Walk pledge sheet.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 19 Branch → Trunk
Duplicate of this bug: 847343

Comment 3

4 years ago
All plataforms... I have Windows 7 64bits and exist the problem.
Depends on: 851441

Comment 4

4 years ago
I can't provide a concrete example, but we use Oracle E-Business Suite where I do IT support and most of the generated reports in PDF format have this issue where the Adobe plug-in, with the 'Auto portrait/landscape' setting selected on the Print dialog, will automatically print these reports in landscape as our users expect.

The native PDF viewer in Google Chrome also automatically prints them in landscape.

PDF.js version 0.7.28 (Firefox 20), however, prints these reports in portrait.

Comment 5

3 years ago
Hello,

Got the same problème, windows 7 SP1 x64, and aurora 28.0a2 (2014-02-02).  Using http://www.co.monterey.ca.us/planning/howto/landscape_plan.pdf the printing is in protrait.

Comment 6

3 years ago
Created attachment 8369367 [details]
Printing result of a landscape PDF

This is the resulting printing of a landscape pdf with aurora 28.0a2 (2014-02-02).

Updated

2 years ago
Duplicate of this bug: 1125103

Comment 8

2 years ago
It's using the last state of portrait or landscape as chosen in Print Preview.
Instead of clicking the print button on the pdf.js toolbar you can press Alt-F-V to use print preview, then select portrait or landscape.  Can the pdf.js toolbar be customized to add a print preview button?

Comment 9

a year ago
A pdf open through Firefox internal previewer with only landscape pages should default print layout to landscape and print correctly.

Instead - with FF 45.0 (but even on 44.0.2 and 43.x) a PDF with all (just one, in my test) pages in landscape is shown correctly in landscape, but is printed on portrait since when I click on the print icon on the top right header toolbar of the preview, the popup windows with the printing options has "Portrait" as layout default...

Updated

3 months ago
Duplicate of this bug: 1305275

Updated

3 months ago
Duplicate of this bug: 1303061
You need to log in before you can comment on or make changes to this bug.