Skip to content

pdftopdf: assume print-scaling=auto by default. Fixes #237 - #238

Merged
tillkamppeter merged 1 commit into
masterfrom
237-pdftopdf-print-scaling-auto
Sep 8, 2026
Merged

tillkamppeter merged 1 commit into
masterfrom
237-pdftopdf-print-scaling-auto

Conversation

@ValdikSS

@ValdikSS ValdikSS commented Sep 7, 2026

Copy link
Copy Markdown
Member

cups-filters 1.x rotate already-landscape documents according to printer paper path, and libcupsfilters 2.1.x do the same at least since V2.0rc1, where print-scaling=auto was used as default.

Use print-scaling=auto as default for PDFio pdftopdf as well.

cups-filters 1.x rotate already-landscape documents according to printer
paper path, and libcupsfilters 2.1.x do the same at least since V2.0rc1,
where print-scaling=auto was used as default.

Use print-scaling=auto as default for PDFio pdftopdf as well.
@ValdikSS

ValdikSS commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

@uddhavphatak please check if this is appropriate. Works for me.

@ValdikSS ValdikSS linked an issue Sep 7, 2026 that may be closed by this pull request
@ValdikSS ValdikSS linked an issue Sep 7, 2026 that may be closed by this pull request
@tillkamppeter
tillkamppeter merged commit 1973c4a into master Sep 8, 2026
28 checks passed
@uddhavphatak

uddhavphatak commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

@ValdikSS just checked it, this works! I had set the tag as NONE by default, as I was not aware of the functionality of this filter. Thanks for debugging and solving the issue!

@ValdikSS
ValdikSS deleted the 237-pdftopdf-print-scaling-auto branch September 12, 2026 22:08
@alerque

alerque commented Sep 20, 2026

Copy link
Copy Markdown

This is not a good assumption, and I can't seem to override it. When using a rotation, the print scaling seems to be getting set to auto now, and ever -o print-scaling=none seems to have no effect when rotating pages. I already had to work around the media box rotation settings not being honored by manually setting the output rotation, but now I can't get rid of the scaling at all!

I have had to downgrade to libcupsfilters 2.1.x because the 2.2.x releases seem to be an unmitigated disaster. Proper PDF handling does not seem to have been considered at all and all my production print jobs are scrambled and there seem to be no combination of options to fix them.

@ValdikSS

Copy link
Copy Markdown
Member Author

Make a new issue with its description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PDFio pdftopdf does not fall back to autoprint print-scaling=auto Auto-rotation not working after update to 2.2.1

4 participants