ps2pdf produces wrong pdf files

Paul Smith phhs80 at gmail.com
Tue Apr 4 10:38:33 UTC 2006


On 4/3/06, Mike Klinke <lsomike at futzin.com> wrote:
> > Whenever I produce a pdf file with ps2pdf, I get a pdf file that
> > the pdf viewers cannot view it: kpdf crashes, acroread reports a
> > drawing error,...
>
> file:///usr/share/doc/ghostscript-<your version>/Ps2pdf.htm
>
> Lists some limitations, hints, comparisons, etc.

Thanks to both. When I open the pdf file with gsview, I get the following:

GSview 4.7 2005-03-25
play_sound: not implemented
debug=0
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.
WM_GSTEXTINDEX not implemented
Scanning PDF file
%GSVIEW_PDF_PAGES: 1 2
Displaying PDF page 1
%GSVIEW_PDF_PAGE: 1
%GSVIEW_PDF_MEDIA: [0 0 612 792]
%GSVIEW_PDF_ROTATE: 0

   **** Warning: File has insufficient data for an image.
Error: /typecheck in --closefile--
Operand stack:
   --dict:6/6(L)--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --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--   --nostringval--  
--nostringval--   --nostringval--   %array_continue   --nostringval-- 
 false   1   %stopped_push   --nostringval--   %loop_continue  
--nostringval--   5005
Dictionary stack:
   --dict:1119/1686(ro)(G)--   --dict:0/20(G)--   --dict:89/200(L)--  
--dict:104/127(ro)(G)--   --dict:241/347(ro)(G)--   --dict:20/24(L)-- 
 --dict:4/6(L)--   --dict:20/20(L)--   --dict:1/1(ro)(G)--  
--dict:1/1(ro)(G)--   --dict:1/1(ro)(G)--
Current allocation mode is local
Last OS error: 2
pdf_page failed

Paul




More information about the fedora-list mailing list