cannot print to full page size after upgrade to Fedora 45

Open
#339 3 comments 1 reaction 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, linux
Domain
backend

Research direction

Start by reproducing the issue on Fedora 45 with the Brother HL-2280DW and compare the GUI print paths with the working lp command and its media, fit-to-page, and print-scaling options. The issue names no source files or tests, so trace how libcupsfilters handles scaling and margins for these print requests. Done means a Letter-size PDF prints at full page size without added margins, while the reported duplex page-range concern is also investigated.

Written by the indexing model from the issue text.

Description

Along with the Fedora 45 update came the upgrade to libcupsfilters (currently version 2.2.1-5), and I can no longer find a way to print to the full page on my Brother HL-2280DW printer (Brother's CUPS driver installed). Everything I print always has added margins. My work requires that I be able to print a Letter size PDF to a full Letter size page with no margins so that the measurements are accurate. The following options once worked to accomplish this, but no longer do since the Fedora 45 update:

  • Okular with PDF Options → Scale mode: "Fit to full page"
  • Evince with Page Handling → Page Scaling: "None"
  • Firefox with "Scale: 100" and "Margins: None"
  • MuseScore with the default print settings
  • LibreOffice with the default print settings

The only thing that successfully ignores the margins is using the lp command as follows:

lp -d HL2280DW -o media=Letter -o fit-to-page=false -o print-scaling=none file.pdf

However, I am having other issues using this method that prevent it from being a solution (it refuses to print a specified range of pages duplex). Perhaps there is a program or method somewhere that might work, but I've already burned through enough ink and paper for one day. I tried rolling back to libcupsfilters 2.1.1, but Fedora wanted to remove LibreOffice and a bunch of other packages that I need, so that won't do.

For now I must do my printing from a Windows virtual machine until a solution can be found. It's a pretty horrible workaround, but work must be done.

Anyway, please let me know what would be useful information to provide.

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.