Creating pdf files

28 views
Skip to first unread message

NENAD CIKIC

unread,
Mar 25, 2012, 9:48:04 AM3/25/12
to Django users
Hello!
I am novice django user, and now i want to create pdf documents.
Following the official docs at https://docs.djangoproject.com/en/dev/howto/outputting-pdf/
it seems the reportlab is suggested to be used.
The problem is that the installer does not work for python 2.7.2, for
windows. I have succesfully installed the reportlab on my ubuntu
virtualbox, but if it is possible i would like to continue development
on windows.
Are there any way to install reportlab on windows?
On the same page other options are listed:
pdflib
pisa

On pip there is a pypdflib. Is this the same as pdflib?

In anycase, what is the suggested way to generate simple pdf files
(invoices with a logo and some text). Any example?

Thanks
Nenad
Message has been deleted
Message has been deleted

Matthias Mintert

unread,
Mar 25, 2012, 8:37:43 PM3/25/12
to django...@googlegroups.com

This should help with reportlab issues on windows:

NENAD CIKIC

unread,
Mar 25, 2012, 9:39:23 PM3/25/12
to Django users
Thanks, the install worked.

NENAD CIKIC

unread,
Mar 25, 2012, 10:55:15 PM3/25/12
to Django users
I think i will use the pdfdocument wrapper
pip install pdfdocument
The author Matthias Kestenholz has created a wrapper for reportlib; at
first glance it seems easy to use.
Acknowledges to another one Matthias:)

https://github.com/matthiask/plata/tree/master/plata/reporting
Reply all
Reply to author
Forward
0 new messages