[reportlab-users] script conveting text to pdf
Timothy Kong
recnelis7 at gmail.com
Wed Mar 14 11:08:38 EDT 2007
A Paragraph sounds like it can also do what your script does. That way, you
can have platypus handle the page layout and have Paragraph format your text
rather than manually positioning text strings. drawString and pdfgen are
more direct ways to interact with pdfs.
The chapters 5 and 6 in the userguide have examples of using flowables (like
Paragraph) with platypus.
- Tim
On 3/13/07, Paul Tremblay <phthenry at iglou.com> wrote:
>
> I have written a simple script to convert text to PDF. My script seeks
> to imitate using a typewritter. It breaks lines where lines are broken
> in the text file. It does not change font or font face. Except for the
> two exceptions I list below, it prints exactly what the txt file looks
> like, including blank lines.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20070314/beebfc8f/attachment.html>
More information about the reportlab-users
mailing list