Status in upstream github is closed wontfix.
The reason is that ppi is defined as an integer, and the cups-filters usage is 
broken.

Reported the issue to cups-filters at https://github.com/OpenPrinting
/cups-filters/issues/347

** Bug watch added: github.com/OpenPrinting/cups-filters/issues #347
   https://github.com/OpenPrinting/cups-filters/issues/347

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1917074

Title:
  cups ppi parameter should be a string

Status in CUPS:
  New
Status in cups package in Ubuntu:
  New
Status in cups-filters package in Ubuntu:
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/cups/+bug/1917074/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to