Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Re: Converting M$ Word --> PDF

by peterr (Scribe)
PDF NODE.owner = 295574 N.title = monktitlebar sitedoclet N.owner = 17342 -->
on Jan 24, 2004 at 01:12 UTC ( #323758=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Converting M$ Word --> PDF
in thread Converting M$ Word --> PDF

Hi neuroball,

you can just use the above concept also to covert from HTML to PDF. I have no idea where the limits are though.

Yes, I think I saw a module on Cpan to do it. Now, if there was also a Perl module to do HTML --> Word, that would be great.

Just use Perl to open the HTML file in OpenOffice and then make OpenOffice print it to PDF. I just tried it with a google page, and as long as the images are local, no problems should arise.

Okay, I will try that, seeing I have just d/loaded OpenOffice, all 52 Mb. Hope it handles tables, word templates, images,etc, okay

If you want another way you might try the following:

  • Download HTMLdoc, which is GPL'ed, and install it.
  • Download HTML::HTMLdoc from CPAN and install it.
    1. Do some perl magic to get what you want...
    2. ...Unknown step...
    3. Profit!

Okay, I will try that also. Wow, I sure have enough things to try now, thanks everyone for your help. :)

Peter

  • Comment on Re: Re: Re: Re: Converting M$ Word --> PDF

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://323758]
help
Chatterbox?
[ambrus]: Corion: as for that, I talked with schmorp, and looked a bit more at Prima
[ambrus]: Corion: from the docs, it definitely looks like it would be possible to write an AnyEvent driver for it using Prima::File and Prima::Timer.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2016-12-08 10:44 GMT
Sections?
PDF NODE.owner = 295574 N.title = Sections sitedoclet N.owner = 17342 -->
Information?
PDF NODE.owner = 295574 N.title = Information sitedoclet N.owner = 17342 -->
Find Nodes?
PDF NODE.owner = 295574 N.title = Find Nodes sitedoclet N.owner = 17342 -->
Leftovers?
    PDF NODE.owner = 295574 N.title = Leftovers sitedoclet N.owner = 17342 -->
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (139 votes). Check out past polls.