Your message dated Sun, 25 Feb 2024 14:20:59 -0600
with message-id <46192170.fMDQidcC6G@riemann>
and subject line Re: gs: -dDuplex ignored for pswrite/psmono/pdfwrite output 
devices
has caused the Debian Bug report #683641,
regarding gs: -dDuplex ignored for pswrite/psmono/pdfwrite output devices
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
683641: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683641
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On Thu, 2 Aug 2012 16:09:43 +0300 Alexander Gattin <xr...@yandex.ru> wrote:
> 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:

I believe that is by design, as the docs [1] only cover -dDuplex for IJS and 
Windows output devices.


[1] https://ghostscript.com/docs/9.54.0/Devices.htm

> > 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,

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to