SPUG: html->pdf conversion?

O'neil, Jerome joneil at cobaltgroup.com
Wed Oct 22 12:22:25 CDT 2003


Have you thought about using the OpenOffice API's to do this?  Version 1.1
reads and writes PDF.

-Jerome

-----Original Message-----
From: Alan [mailto:alan at ufies.org]
Sent: Wednesday, October 22, 2003 10:10 AM
To: spug-list at pm.org
Subject: Re: SPUG: html->pdf conversion?


> I have the same need for my book project, in which I'm writing
> in a (modified) POD format, and then having to convert to MS-Word
> and PDF for distribution to various parties.  I too have found the
> standard converters to be deficient, so I have compromised on
> this routine that works best:
> 
> 	* convert POD to Html using pod2html
> 	* use Netscape Navigator to save HTML as PS
> 	  (works much better than the Linux html2ps command itself)
> 	  I looked to see if Navigator was running an external
> 	  command to do this conversion, but AFAIK it's doing it
> 	  internally
> 	* run ps2pdf
> 
> The PDF comes out looking great!

I've considered this, but it has to run on an internet server and server
any number of clients :(  Someone already suggested having it run
applescript to use acrobat to do the conversion :)

However, if there's a way to run mozilla/netscape from the command line
and do this, let me know! :)

-- 
Alan <alan at ufies.org> - http://arcterex.net
--------------------------------------------------------------------
"There are only 3 real sports: bull-fighting, car racing and mountain 
climbing. All the others are mere games."                -- Hemingway
_____________________________________________________________
Seattle Perl Users Group Mailing List  
POST TO: spug-list at mail.pm.org  http://spugwiki.perlocity.org
ACCOUNT CONFIG: http://mail.pm.org/mailman/listinfo/spug-list
MEETINGS: 3rd Tuesdays, U-District, Seattle WA
WEB PAGE: http://www.seattleperl.org





This e-mail transmission contains information intended only for the use of
the recipient(s) named above. Further, it contains information that may be
privileged and confidential. If you are not the intended recipient, you are
hereby notified that any dissemination, distribution, or copying of this
message (including any attachments) is strictly prohibited. If you have
received this e-mail in error, please notify the sender by reply e-mail and
then delete this message from your mail system. Thank you for your
compliance.



More information about the spug-list mailing list