Re: Creating PDF output on demand
Re: Creating PDF output on demand
- Subject: Re: Creating PDF output on demand
- From: Lachlan Deck <email@hidden>
- Date: Sat, 3 Dec 2005 19:25:47 +1100
Hi there,
On 01/12/2005, at 11:19 PM, Helmut Tschemernjak wrote:
we have a similar problem for WO generated forms, reports, etc. One
idea is the following:
Capture the HTML output from a generated page and save this to an
HTML temp file, automate Safari or FireFox to open and print this
document via AppleScript, capture the PostScript output via a cups
backend filter and convert it via the OS X "pstopdf" tool or
Distiller into PDF.
I would prefer FireFox because in printouts the page wraps of
tables better than Safari.
Are there any better ideas?
For a server app you don't really wanting to be involving desktop
software do you? It'd be more desirable to utilise a Java library or
command line utility that you could pipe the input/output.
If you've got your generated html you could try something like
htmldoc which supposedly converts html to PDF or Postscript.
http://www.easysw.com/htmldoc/
If on Mac OS X and using DarwinPorts:
$ sudo port install htmldoc
That ought to cut out most of the above steps. You want the process
to be as simple as possible...
with regards,
--
Lachlan Deck
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden