[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#342374: setduplexmode broken



Package: gs-esp
Version: 8.15.1.dfsg.1-1
Severity: normal

Hi Bas, Masayuki,

FYI: The PostScript file you sent seems to be correct. gs-gpl has no
problem showing the contents but gs-esp breaks.

Further checking I found the attached minimal test case which should
work on any PostScript interpreter (References: PostScript Language
Reference Manual, 3rd edition; PostScript Language Reference Supplement;
see http://partners.adobe.com/public/developer/ps/index_specs.html

I'd say this qualifies as a bug report against gs-esp, therefore this
also opens a new bug report.

@Masayuki: gs-esp somehow seems to be unable to handle setduplexmode.
The attached test case should just quit gs without error but I get the
following using gs-esp: 

torsten@zagaban:~$ gs-esp duplex.ps
ESP Ghostscript 815.01 (2005-09-22)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /configurationerror in --setpagedevice--
Additional information: [/Duplex true]
Operand stack:
   --dict:1/1(L)--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
--nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1
3   %oparray_pop   1   3%oparray_pop   1   3   %oparray_pop   .runexec2
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push
--nostringval--   --nostringval--1   4   %oparray_pop   --nostringval--
--nostringval--   --nostringval--   --dict:1/2(L)--   --nostringval--
1   %dict_continue
Dictionary stack:
   --dict:1118/1686(ro)(G)--   --dict:0/20(G)--   --dict:80/200(L)--
--dict:87/89(L)--
Current allocation mode is local
Current file position is 81
ESP Ghostscript 815.01: Unrecoverable error, exit code 1
torsten@zagaban:~$ gs-gpl duplex.ps
GPL Ghostscript 8.15 (2004-09-22)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
torsten@zagaban:~$


Greetings

  Torsten

Attachment: duplex.ps
Description: PostScript document


Reply to: