Native landscape PDF is scaled down into portrait page instead of rotated (no print-scaling set)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Reproduce the issue with a native landscape A4 PDF using lp -d PRINTER landscape.pdf and inspect the cfFilterUniversal -> pdftopdf -> cfFilterGhostscript chain from the CUPS debug log. Compare the behavior with print-scaling=fit or fill and verify that the default path rotates the landscape page to fill the portrait A4 sheet without requiring orientation-requested.
Written by the indexing model from the issue text.
Description
Distribution: Manjaro KDE
Versions: cups 2:2.4.19, cups-filters 2.0.1, libcupsfilters 2.2.1, libppd 2.1.1, ghostscript 10.07.1
Printers: Canon PIXMA G3430 (driverless IPP / Canon driver) and HP Deskjet 1515 (hplip), same behaviour on both
Steps to reproduce:
- Create a PDF with a native landscape A4 page (842x595)
- lp -d PRINTER landscape.pdf (no options)
Expected: page is rotated to fit the portrait A4 sheet, filling it.
Actual: the page is scaled down and printed in the top third of the portrait sheet.
Notes:
- Printing from LibreOffice behaves the same. The job options contain only
PageSize=A4 sides=one-sided ...; no orientation-requested is sent. - lp -o landscape on a portrait PDF works.
- lp -o print-scaling=fit and -o print-scaling=fill on the landscape PDF
rotate the page correctly. - Filter chain from the CUPS debug log: cfFilterUniversal -> pdftopdf ->
cfFilterGhostscript (gs with DEVICEWIDTHPOINTS=595 DEVICEHEIGHTPOINTS=842).
- Dominant language
- C
- Stars
- 20
- Forks
- 89
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 50
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenPrinting/libcupsfilters
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
OpenPrinting/libcupsfilters#257 · 22 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
OpenPrinting/libcupsfilters#222 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenPrinting/libcupsfilters#174 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
OpenPrinting/libcupsfilters#355 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
OpenPrinting/libcupsfilters#339 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
All issues in OpenPrinting/libcupsfilters
Similar issues
-
`sha256()` returns a wrong hash when libsql-ffi is built with gcc 11 or laterPossibly taken @colinhacks claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tursodatabase/libsql#2333 ·
Maintainers usually reply within 11 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenPrinting/cups#1826 ·
Maintainers usually reply within 1 day
-
Backport to 3.0 advertises a suffix that does not existPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
389ds/389-ds-base#8152 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RetroAchievements/rcheevos#580 · 1 comment ·
Maintainers usually reply within 5 days