[reportlab-users] reportlab pdf and esp-ghostscript pdftops errors

Fernando M. Maresca fmaresca at speedy.com.ar
Wed Aug 31 13:02:49 EDT 2005


On Wed, Aug 31, 2005 at 10:04:01AM +0100, Robin Becker wrote:
> Fernando M. Maresca wrote:
> >Hello.
> >I'm using python reportlab to produce some pdf files.
> >I'm getting errors passing this .pdf files trhu pdf2ps:
> >
> >fmaresca at homero:/tmp$ pdf2ps ot_py.pdf ot_py.ps
> >Error: /undefined in /TextSaveMatrix
> >Operand stack:
> >   --dict:7/7(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   --nostringval--   
> >   --nostringval--   2   1   1   --nostringval--   %for_pos_int_continue   
> >   --nostringval--   --nostringval--   --nostringval--   --nostringval--   
> >   %array_continue   --nostringval--   false   1   %stopped_push   
> >   --nostringval--   %loop_continue   --nostringval--
> >Dictionary stack:
> >   --dict:1120/1686(ro)(G)--   --dict:0/20(G)--   --dict:85/200(L)--   
> >   --dict:85/200(L)--   --dict:104/127(ro)(G)--   --dict:241/347(ro)(G)--  
> >   --dict:20/24(L)--   --dict:4/6(L)--   --dict:23/31(L)--
> >Current allocation mode is local
> >ESP Ghostscript 815.00: Unrecoverable error, exit code 1
> >
> >
> >Xpdf's pdftops converts the same file with no trouble.
> >Somebody else is getting this problem?
> >
> >System is up to date Debian stable.
> >ESP Ghostscript 815.00
> >Xpdf 3.01
> >python2.4-reportlab  1.20debian-2
> >
> 
> Is there any particular construct that causes a problem? Does it open ok in 
> acrobat/convert with distiller?
It's open in Acroread 7.0 with the warning: "Illegal operation 'Tm'
outside text object" but the file is displayed correctly. Printing or
converting to .ps produces truncated output. The .ps file diplayed shows
only the bottom part of the pdf.

Best regards,
-- 
Fernando M. Maresca
- - - - - - - - - - - - -
Cel: 221 15 545 8196
Tel: 221 489 8196


More information about the reportlab-users mailing list