Printed content scaled too large on Zebra ZD220 in version 2.2.1.r32.gd49e9284-1

Open
#300 2 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
34/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c, linux

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:

Image

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

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.