Gutenprint 5.3.4: only on 32-bit failures with "Image is too long/wide for the page" for certain PPDs

jsmeix <[email protected]>
Newsgroups gmane.linux.printing.gimp-print.devel
Message-ID <[email protected]>
Hello,

in the openSUSE build service I run an automated test
where for each Gutenprint PPD a command like

# cupsfilter -p $PPD -e -m printer/foo -i application/pdf pdf_file

is run.

The input pdf_file is made by

# echo -e '%!\n100 200 300 400 rectstroke\nshowpage' >postscript_file

# ps2pdf postscript_file pdf_file

On my 64-bit (x86_64) laptop I get

# pdfinfo pdf_file
Producer:       GPL Ghostscript 9.54.0
CreationDate:   Thu Sep  2 12:12:18 2021 CEST
ModDate:        Thu Sep  2 12:12:18 2021 CEST
Tagged:         no
UserProperties: no
Suspects:       no
Form:           none
JavaScript:     no
Pages:          1
Encrypted:      no
Page size:      612 x 792 pts (letter)
Page rot:       0
File size:      2249 bytes
Optimized:      no
PDF version:    1.4

# gs -sDEVICE=bbox -dBATCH -dNOPAUSE postscript_file 2>&1 | grep 
'%BoundingBox'
%%BoundingBox: 99 199 401 601

# gs -sDEVICE=bbox -dBATCH -dNOPAUSE pdf_file 2>&1 | grep '%BoundingBox'
%%BoundingBox: 99 199 401 601

Only on 32-bit (i586) the cupsfilter command fails for the PPDs
listed below with output excerpts from the full test log file.

It works on 64-bit (x86_64) but I do not have a 32-bit computer
to try out things on my own - I only have the test log file.

Perhaps my test page is really too big but I wonder
why it works on 64-bit but only fails on 32-bit?

The full log is available at

https://build.opensuse.org/public/build/Printing/openSUSE_Tumbleweed/i586/gutenprint53-testing/_log

Failed PPDs with excerpts from the test log file:
-----------------------------------------------------------------------
cupsfilter failed for stp-citizen-cw-02.5.3.ppd
with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-citizen-cw-02.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-citizen-cx-02.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-citizen-cx-02.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-citizen-cx.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-citizen-cx.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-citizen-cy-02.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-citizen-cy-02.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-citizen-cy.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-citizen-cy.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-citizen-op900ii.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-dnp-ds40.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-dnp-ds40.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-dnp-ds620.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-dnp-ds620.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-dnp-dsrx1.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-dnp-dsrx1.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too long for the page:
  top margin is 44.640000, height 371.520000, bottom edge is 416.160000

cupsfilter failed for stp-kodak-1400.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too wide for the page:
  left margin is 18.179402, width 576.000000, right edge is 594.179402

cupsfilter failed for stp-kodak-1400.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too wide for the page:
  left margin is 18.179402, width 576.000000, right edge is 594.179402

cupsfilter failed for stp-kodak-805.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too wide for the page:
  left margin is 18.179402, width 576.000000, right edge is 594.179402

cupsfilter failed for stp-kodak-805.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too wide for the page:
  left margin is 18.179402, width 576.000000, right edge is 594.179402

cupsfilter failed for stp-magicard-rio-2e.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too wide for the page:
  left margin is 3.600000, width 154.080000, right edge is 157.680000

cupsfilter failed for stp-magicard-rio-2e.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too wide for the page:
  left margin is 3.600000, width 154.080000, right edge is 157.680000

cupsfilter failed for stp-magicard-tango-2e.5.3.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too wide for the page:
  left margin is 3.600000, width 154.080000, right edge is 157.680000

cupsfilter failed for stp-magicard-tango-2e.5.3.sim.ppd
  with this cupsfilter stderr output:
  Gutenprint: Image is too wide for the page:
  left margin is 3.600000, width 154.080000, right edge is 157.680000
-----------------------------------------------------------------------


Kind Regards
Johannes Meixner
-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5 - 90409 Nuernberg - Germany
(HRB 36809, AG Nuernberg) GF: Felix Imendoerffer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.