how to generate PDF (with data) using PDF static forms?

51 views
Skip to first unread message

Carlos

unread,
Aug 13, 2011, 10:06:14 AM8/13/11
to web...@googlegroups.com
Hi,

I will soon need to generate PDF files by "filling the blanks" in an already existing PDF static form ('template').

It's like a merge of a PDF file (static form) with my dynamic data, filling blanks in specific positions.

Is there any way to accomplish this with web2py / utils?.

Many thanks,

   Carlos

Mariano Reingart

unread,
Aug 13, 2011, 11:02:57 PM8/13/11
to web...@googlegroups.com
I think that not even ReportLab could merge an existing PDF, IIRC
there are other tools to open and possibly modifiy files.
If you can make your design and fill it, then you can use PyFPDF
(there is an Invoice example).
Also, sometimes I put an image as background (+-300dpi) and then I
only complete the text fields.

YMMV

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com

Carlos

unread,
Aug 14, 2011, 12:51:44 PM8/14/11
to web...@googlegroups.com
Thanks for your suggestion Mariano.

   Carlos

Reply all
Reply to author
Forward
0 new messages