[reportlab-users] problem with pdf2ps

John Leach reportlab-users@reportlab.com
Tue, 2 Dec 2003 16:01:15 +1100


You can also try pdftops.
This might be better - or at least assist in finding the problem.
Rgds,


On Thursday 27 November 2003 10:46, Jade Meskill wrote:
> I am having trouble with some of my ReportLab generated PDFs.  When I
> convert them to postscript using pdf2ps i get the following error:
>
> Error: /ioerror in --token--
> Operand stack:
>     --dict:6/6(L)--   2   --dict:82/82(ro)(G)--   --nostringval--
> 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   --nostringval--   2   1   1   --nostringval--
> %for_pos_int_continue   --nostringval--   --nostringval--
> --nostringval--   --nostringval--   %array_continue   --nostringval--
> false   1   %stopped_push   --nostringval--   %loop_continue
> --nostringval--   --nostringval--   --nostringval--
> Dictionary stack:
>     --dict:1051/1123(ro)(G)--   --dict:0/20(G)--   --dict:92/200(L)--
> --dict:92/200(L)--   --dict:97/127(ro)(G)--   --dict:229/230(ro)(G)--
> --dict:19/24(L)--   --dict:4/6(L)--   --dict:22/31(L)--
> Current allocation mode is local
> GNU Ghostscript 7.05: Unrecoverable error, exit code 1
>
> This is only happening in a few of my documents, and I can't seem to
> find a common thread between them.  If I open them up in Preview on Mac
> OS X or in Acrobat Reader I can print it just fine, but printing using
> lpr on linux causes invalid postscript to be sent to the printer.  Can
> someone give me a hint as to where I can look to see what is causing
> this error?
>
> Thanks,
> Jade
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users@reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users