[reportlab-users] newby: is importing eps possible?

andy at reportlab.com andy at reportlab.com
Mon May 23 13:21:21 EDT 2005


There is a contributed barcode module for ReportLab.

    http://www.reportlab.org/ftp/extensions/
   rlbarcode-0.9.2.zip
       or .tgz

Why not use this to generate them inline in the PDF?

Hope this helps,


Andy Robinson

-----Original Message-----
From: Giuseppe Bonelli <giuseppe.bonelli at tiscali.it>
To: Support list for users of Reportlab software 
<reportlab-users at reportlab.com>
Sent: Mon, 23 May 2005 19:03:54 +0200 (ora solare Europa occidentale)
Subject: Re: [reportlab-users] newby: is importing eps possible?

On Mon, 23 May 2005 andy at reportlab.com wrote:

>> So my question: is there any way to embed eps files in pdfs 
generated > by pdfgen/platipus?
>
> No. You would need to use an external application to preprocess
> them to a bitmap.
>
> If the number of images is known and finite then lots
> of packages can do this - Gimp, Paintshop Pro etc.

Thank for the quick reply. Unfortunatly this is not an option (at least 
at the moment) as the eps are small bar codes that must be printed in 
high resolution and transforming them to a raster format results in too 
much image degradation (probably..., not tryed yet).

Irony is that the eps are generated dinamically from a python script 
...

The use of gscript to make the conversion ends up with a missing font 
problem (...yes the eps use some custom fonts which apparently gs does 
not recognize).

Can someone give me a pointer to the reportlab code I heard someone use 
to produce bar codes so I can have a look at it and eventually modify 
my own bar code generation script?

Are there other options for a python based solution ?

Thanks.

__peppo

_______________________________________________
reportlab-users mailing list
reportlab-users at reportlab.com
http://two.pairlist.net/mailman/listinfo/reportlab-users 


More information about the reportlab-users mailing list