Re: Suggested way to programatically produce PDFs
Re: Suggested way to programatically produce PDFs
- Subject: Re: Suggested way to programatically produce PDFs
- From: Nicholas Riley <email@hidden>
- Date: Wed, 28 Jan 2004 15:36:45 -0600
- Mail-followup-to: Hunt Sparra <email@hidden>, email@hidden
On Wed, Jan 28, 2004 at 02:21:21PM -0600, Hunt Sparra wrote:
>
I am looking to create PDFs programatically. They will take one of two
>
forms:
>
>
1. The bulk of the PDF will be fixed, such as legal language, layout,
>
etc. Only particular elements, such as name will be dynamic.
>
2. Some PDFs may be more tabular, ie. mostly dynamic data.
>
>
Number 1 is the primary type of PDF layout I will be generating. Does
>
anyone have any suggestions? I have used the iText library for Java in
>
the past, but it requires you to "code" the fixed text portions. Other
>
languages would work for my purposes, including Objective-C, Ruby,
>
Python, etc.
Since Quartz uses PDF natively, it's a good choice; you can use the C
interfaces directly, or Cocoa with any of the above languages. There's
also CoreGraphics bindings for Python which Apple has released with
Panther.
If you want something platform-neutral, or more geared toward
reporting, try ReportLab <
http://www.reportlab.org/>. I've used it
quite a bit on Windows at work, and it produces very high-quality
results easily. I've been using the open-source version, but there's
also a commercial version (not cheap) with many additional features
geared towards sophisticated reports.
You might want to check out Dinu Gherman's page
<
http://starship.python.net/crew/gherman/> - he's worked extensively
with ReportLab, Mac OS X/CoreGraphics/Cocoa and the combination thereof.
--
=Nicholas Riley <email@hidden> | <
http://www.uiuc.edu/ph/www/njriley>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.