Duplex Printing misbehaving after upgrading to Fedora 45.

Open
#355 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
backend

Research direction

The report identifies a duplex printing regression between libcupsfilters 2.1.1 and 2.2.1, with print-scaling=none and Duplex=DuplexNoTumble as workarounds. Start by reproducing it on the listed Fedora and CUPS versions, then trace how libcupsfilters handles duplex options alongside print scaling. Done when two-sided printing produces correctly oriented pages without requiring either workaround.

Written by the indexing model from the issue text.

Description

After upgrading to Fedora 45 and libcupsfilters 2.2.1, when I try to print a document 2-sided, it doesn't matter if I choose Long Edge or Short Edge of the paper. Page 2 will always be upside down. Worked fine on Fedora 44, (libcupsfilters 2.1.1).

I tried from the command line:

lp -d Brother_DCP-L2520DW -o sides=two-sided-long-edge test.pdf

Page 2 was upside down.

lp -d Brother_DCP-L2520DW -o sides=two-sided-long-edge -o print-scaling=none test.pdf

Fixed the issue.

lp -d Brother_DCP-L2520DW -o Duplex=DuplexNoTumble test.pdf

Also fixed the issue.

rpm -q libcupsfilters cups-filters cups
libcupsfilters-2.2.1-8.fc45.x86_64
cups-filters-2.0.1-17.fc45.x86_64
cups-2.4.19-4.fc45.x86_64

The print-scaling workaround I found here:
https://discussion.fedoraproject.org/t/fedora-45-printer-issues-after-update-from-44/207192/4

Dominant language
C
Stars
20
Forks
89
Avg merge
13h 37m
Merged PRs (30d)
50

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenPrinting/libcupsfilters

All issues in OpenPrinting/libcupsfilters

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.