Printing via foomatic/ghostscript to ljet4 with /UseWTS true lets Ghostscript error out

Bug #659398 reported by hede
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
foomatic-db (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ghostscript

Printing to some HP LaserJet 4 printer with "Well-Tempered Screening" Halftoning Algorithm does not work.

Reporting this via Ubuntu 10.04, but it also happens with 10.10 the same way.
Both are using ghostscript version 8.71

BUT: Debian 5.0 and older Ubuntu 9.04 are fine! (Ghostscript 8.61/8.64)

Seems to be some bug in newer laserjet code in ghostscript or foomatic or... don't know.

(/tmp/foomatic-eMDeqa is some pdf which prints fine in Debian and Ubuntu 9.04 or in Ubuntu 10.XX with WTS disabled)
####
gs -dFirstPage=1 -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=ljet4 -dMediaPosition=0 -dDEVICEWIDTHPOINTS=595 -dDEVICEHEIGHTPOINTS=842 -r600x600 -sOutputFile=/tmp/foomatic-eMDeqa.testout -c '/Default << /SpotFunction { 180 mul cos exch 180 mul cos add 2 div } bind /HalftoneType 1 /AccurateScreens true /Frequency 137 /Angle 37 /HalftoneName (Round Dot Screen) >> /Halftone defineresource sethalftone << /HalftoneMode 1 /UseWTS true /AccurateScreens true >> setuserparams' -f /tmp/foomatic-eMDeqa
Error: /unknownerror in --.postinstall--
Operand stack:
   --dict:7/16(L)-- --dict:6/6(L)-- --nostringval-- --dict:48/48(ro)(L)-- --dict:6/6(L)-- --dict:1/10(L)-- --dict:49/61(ro)(L)-- false
Execution stack:
   %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 6 --nostringval-- %for_pos_int_continue --nostringval-- 1846 2 7 %oparray_pop 1848 7 7 %oparray_pop --nostringval--
Dictionary stack:
   --dict:1159/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:108/127(ro)(G)-- --dict:288/300(ro)(G)-- --dict:21/25(L)--
Current allocation mode is local
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
####

Simply editing "/UseWTS" from true to false completes without error.

I tried different -sDEVICE values. All non-Laserjet values (like Epson EPS output or PNG output) are fine. Most Laserjet values I tried are broken (laserjet, ljetplus, ljet2p, ljet4, lj3100sw). One is fine (lj4dithp).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ghostscript 8.71.dfsg.1-0ubuntu5.3
ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic x86_64
Architecture: amd64
Date: Tue Oct 12 20:15:10 2010
Lpstat: device for HP_LaserJet_6L: hp:/par/HP_LaserJet_6L?device=/dev/parport0
MachineType: System manufacturer System Product Name
Papersize: a4
PpdFiles: HP_LaserJet_6L: HP LaserJet 6L Foomatic/ljet4 (recommended)
ProcCmdLine: root=/dev/md2 ro quiet splash acpi_enforce_resources=lax processor.max_cstate=1 crashkernel=384M-2G:64M,2G-:128M
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 PATH=(custom, user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: ghostscript
dmi.bios.date: 06/19/2006
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080012
dmi.board.name: A8V-VM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080012:bd06/19/2006:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnA8V-VM:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
hede (michael-heide) wrote :
summary: - Printing via foomatic/ghostscript to ljet4 with /UseWTS true crashes
+ Printing via foomatic/ghostscript to ljet4 with /UseWTS true lets
+ Ghostscript error out
Changed in ghostscript (Ubuntu):
status: New → Triaged
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

WTS in Ghostscript is not supported any more according to the upstream developers. The db/source/opt/GS-HalftoningAlgorithm-Gray.xml file has to get removed from foomatic-db. I will fix it in one of the next foomatic-db uploads.

affects: ghostscript (Ubuntu) → foomatic-db (Ubuntu)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Removed the Halftoning Algorithm option in foomatic-db upstream as it does not work any more with recent Ghostscript versions.

Changed in foomatic-db (Ubuntu):
importance: Undecided → Medium
Changed in foomatic-db (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package foomatic-db - 20110831-0ubuntu1

---------------
foomatic-db (20110831-0ubuntu1) oneiric; urgency=low

  * New upstream release
     - The Lexmark E120n does not work in PostScript mode when using
       generic PostScript PPD files. Updated comment and removed support
       by "Postscript" driver. Rated down to "Mostly" (LP: #802285).
     - Removed "Halftoning Algorithm" option, it does not work any more
       with current Ghostscript (LP: #659398).
     - Updated entry for the Lexmark E230: Added Device ID, support by
       PCL-5e drivers (LP: #821818).
     - Added the Brother HL-2070N (LP: #778620).
 -- Till Kamppeter <email address hidden> Wed, 31 Aug 2011 16:21:03 +0200

Changed in foomatic-db (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.