Firefox prints rotated ouptut to CUPS-PDF's "Ledger" page-size target
Categories
(Core :: Printing: Output, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
STR:
- On Ubuntu (or similar), install the
printer-driver-cups-pdfandsystem-config-printerpackages (the latter one is optional but has nice UI for following steps). - Run
system-config-printerand double click the printer called "PDF", and in Printer Options, set Page Size to Ledger, and then click Apply. (You can also optionally set this as your default printer.) - Start Firefox with a fresh profile and visit https://example.org/ (or any site)
- Ctrl+P, and choose "PDF" as the Destination (not Firefox's own Save-to-PDF print target.) Notice that the preview shows a short-and-wide page which is nonetheless presented to you as "Portrait" orientation (since it's the native size of the print target).
- Click Print, and then look at the resulting file in
~/PDFfolder on your file-system.
ACTUAL RESULTS:
I end up with a page that's tall-and-skinny, with the content rotated sideways on it.
EXPECTED RESULTS:
I should end up with a page that's short-and-wide, with the content not-rotated.
Chrome gives EXPECTED RESULTS.
I suspect this has the same root cause as bug 1836028.
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 1•1 year ago
|
||
| Reporter | ||
Comment 2•1 year ago
|
||
| Reporter | ||
Comment 3•1 year ago
|
||
Note that our output is essentially the same as Chrome's except that we're showing the paper as-a-whole as being rotated to be tall-and-skinny.
This makes our tall-and-skinny rendering incorrect for the "Ledger" paper-size (which is natively wider-than-it-is-tall), and I think it leads to a mismatch & clipping if our rendering actually makes it onto physical paper (as in bug 1836028).
| Reporter | ||
Comment 4•1 year ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #0)
STR:
- On Ubuntu (or similar), install the
printer-driver-cups-pdfandsystem-config-printerpackages (the latter one is optional but has nice UI for following steps).
Side note, I think this bug is testable on other OS's as well (though I haven't tested) by simply sharing this^ PDF printer over the network from Ubuntu and then printing to it as a network-printer from a macOS or Windows system.
Description
•