Printed content scaled too large on Zebra ZD220 in version 2.2.1.r32.gd49e9284-1
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 34/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c, linux
- Domain
- operating-systems
Research direction
The report bisects the regression to the range between libcupsfilters 2.1.1-4 and 2.2.1.r32.gd49e9284, so start by diffing that range for changes to raster/scaling handling in the filter chain. Reproduce by sending the same gLabels-qt job to the ZPL driver on both versions and capturing the intermediate raster, then narrow which filter scales the content while leaving label height correct. Done means printed output matches the 2.1.1 sizing with the label dimensions unchanged.
Written by the indexing model from the issue text.
Description
Summary
I haven't upgraded my PC for months. After upgrading it last night, I faced an issue where print jobs to a Zebra ZD220 label printer come out about 2.5x larger than before. The label height is still correct, but the content is enlarged and cropped to the label size.
Here is the photo. Right is the correct one, and the left is how it looks with new version:
After debugging, I found out this issue happened because Arch Linux upgraded libcupsfilter to version 2.2.1.r32.gd49e9284. After downgrading back to version 2.1.1-4, it works properly.
Environment
- Distro: Endeavor OS
- libcupsfilters: 2.2.1.r32.gd49e9284-1 (broken), 2.1.1-4 (works)
- cups: 2:2.4.20-1
- cups-filters: 2.0.1-3
- ghostscript: 10.08.0-1
- poppler: 26.10.0-1
- Printer: Zebra ZD220 with ZPL driver
- Application used: gLabels-qt
- 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