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

Robin Becker robin at reportlab.com
Wed Aug 31 05:04:01 EDT 2005


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
> 
> Thanks.
It would be nice to get a small sample file produced with the following 
environment variables set

RL_pageCompression=0
RL_invariant=1

Is there any particular construct that causes a problem? Does it open ok in 
acrobat/convert with distiller?


-- 
Robin Becker


More information about the reportlab-users mailing list