Package: gs
Version: 8.62.dfsg.1-3.2lenny5
Severity: normal

Hello,

gs ignores -dDuplex option when using
pswrite/psmono/pdfwrite output drivers, i.e. it
doesn't insert /Duplex true pagedevice entry:
> xrgtn@ux230p:/tmp$ cat hello.ps world.ps 
> %!PS
> /Courier 30 selectfont
> 100 400 moveto
> (|-|3110, ) show
> showpage
> %!PS
> /Courier 30 selectfont
> 100 400 moveto
> (\\/\\/0R1d!) show
> showpage
> xrgtn@ux230p:/tmp$ gs -dNOPAUSE -dBATCH -sDEVICE=pswrite -dDuplex 
> -sOutputFile=o.ps hello.ps world.ps 
> GPL Ghostscript 8.71 (2010-02-10)
> Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Loading NimbusMonL-Regu font from 
> /usr/share/fonts/type1/gsfonts/n022003l.pfb... 2528792 1197912 1920356 624719 
> 1 done.
> xrgtn@ux230p:/tmp$ grep -i duplex o.ps 
> xrgtn@ux230p:/tmp$ 

So when I need /Duplex, I'm forced to generate
.pdf instead of .ps and then convert .pdf back
to .ps via pstopdf (libpoppler):
> xrgtn@ux230p:/tmp$ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=o.pdf 
> -q hello.ps world.ps
> xrgtn@ux230p:/tmp$ pdftops -duplex o.pdf o.ps
> xrgtn@ux230p:/tmp$ grep -i duplex o.ps
>       { /Duplex true def } if
> xrgtn@ux230p:/tmp$ 

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'oldstable'), 
(500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gs depends on:
ii  ghostscript                 8.71~dfsg2-9 The GPL Ghostscript PostScript/PDF
ii  ghostscript-x               8.71~dfsg2-9 The GPL Ghostscript PostScript/PDF

gs recommends no packages.

gs suggests no packages.

-- no debconf information

-- 
With best regards,
xrgtn


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20120802130942.GA11663@ux230p

Reply via email to