Public bug reported:
cups encode.c treats parameter ppi as an integer, but it should be a
string.
the image filter drivers expect the form ppi=300x600
to specify source image dpi for images where it is asymmetric.
I encountered this issue trying to print full-sized images without scaling on a
dymo 450 label printer.
This bug causes images to print across 2 labels when trying to use the
300x600dpi graphics mode.
This should print a single label:
lpr -o ppi=300x600 -o scaling=0 -o PageSize=w167h288 -o PageRegion=w167h288 -o
Resolution=300x600dpi -o DymoHalftoning=Default -o DymoPrintDensity=Medium -o
DymoPrintQuality=Graphics -o MediaDimensions=w167h288
~/Desktop/test_Graphics_portrait.png
where the png is a 664*2224 image without any dpi metadata.
Instead the ppi option gets sanitized to 300, and the image gets printed across
2 labels.
Description: Ubuntu 20.04.2 LTS
Release: 20.04
cups:
Installed: 2.3.1-9ubuntu1.1
Candidate: 2.3.1-9ubuntu1.1
Version table:
*** 2.3.1-9ubuntu1.1 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages
100 /var/lib/dpkg/status
2.3.1-9ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
** Affects: cups
Importance: Undecided
Status: New
** Affects: cups (Ubuntu)
Importance: Undecided
Status: New
** Affects: cups-filters (Ubuntu)
Importance: Undecided
Status: New
** Tags: focal groovy
** Also affects: cups-filters (Ubuntu)
Importance: Undecided
Status: New
** Also affects: cups
Importance: Undecided
Status: New
** Tags added: focal groovy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1917074
Title:
cups ppi parameter should be a string
To manage notifications about this bug go to:
https://bugs.launchpad.net/cups/+bug/1917074/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs