Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 122026

Summary: psset (part of a2ps) fails with different printers and gs when activating duplex printing
Product: Gentoo Linux Reporter: Christian Mandel <chris.spacelab>
Component: New packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal CC: cjk
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Mandel 2006-02-07 12:39:47 UTC
psset (part of a2ps) fails with different printers and gs when activating duplex printing.

The reason is a 
Comment 1 Christian Mandel 2006-02-07 12:39:47 UTC
psset (part of a2ps) fails with different printers and gs when activating duplex printing.

The reason is a »wrong« dependency. The sed script inside /usr/bin/psset replaces PostScript code. This code contains the word »countdictstack« 2 times at the beginning of a line. But a »c« on this position is a keyword in newer versions of GNU sed. So an older version of sed or a newer version of a2ps (if available) should be installed.

A workaround would be to enter a space before the word countdictstack begins (2 times in the file) in the file /usr/bin/psset.

We've tested this (bug and workaround) on different systems with different duplex-capable printers.
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-02-07 14:20:35 UTC
Can you please submit this bug and fix upstream?

I fixed it in portage, thanks.