Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTMLDoc

Status
Not open for further replies.

1DMF

Programmer
Jan 18, 2005
8,795
GB
Can someone help, I've downladed the source code for HTMLDoc, what am I meant to do with it? How do I use it? Do I chave to compile it into something , if so what and how?

thanks

1DMF.

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Are you referring to the software here?
- if so, is that written in perl?

Or the module HTML::HTMLDoc?
If you need help compiling the module, are you in windows or Unix? Here's a FAQ on installing modules on Windows:

If you're installing the module in *nix, the usual steps are:
Code:
perl Makefile.PL
make
make test
make install
 
Are you referring to the software here?
- if so, is that written in perl?
yes, that's where i got it, but I have no idea what its written in, from what I can see it has a load of .c extensions, so am assuming it's written in C , I beleive the open source needs to be compiled into an .exe or .msi to then be installed, this is all way beyond my knowledge, I emailed HTMLDoc the same sort of question and I got back this response
HTMLDOC is available both as a commercial product and as open source software under the terms of the GNU General Public License. If you downloaded the open source software from htmldoc.org then please refer to the documentation at:

htmldoc.org/documentation.php

Please note that we do not provide support for this version.

If you downloaded the commercial version at then please refer to the software documentation at:


A software license is required for the commercial version. You can obtain a free 21-day trial license at:


If you have any other questions regarding our HTMLDOC software please contact me.

Have a nice day!

So am still none the wiser as to how i will get this installed, I'm gonna give up for the time being, my company will just have to accept I cannot create PDF's from HTML as they require.

Maybe I can convert them to RTF or something else instead, I am in the middle of a massive server move , so have more pressing things to be getting on with now.

I'll come back to this later when i have more time.

Thanks, 1DMF

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
yes, that's where i got it, but I have no idea what its written in, from what I can see it has a load of .c extensions, so am assuming it's written in C , I beleive the open source needs to be compiled into an .exe or .msi to then be installed,

Are you trying to use perl to compile this? I guess I'm missing the relationship to perl...
 
I'm not using anything to compile it, I'm asking the question HOW do I compile it, it is a required install for the PERL module HTMLDoc.pm,

The perl module is a wrapper for the HTMLDoc.exe, but I need a valid exe installed before I can use the PERL module.

Anyone here used the HTMLDoc system for converting HTML -> PDF , or aware of another module I could use as PDF::FromHTML doesn't seem to work either.



"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Thanks Brian, but what licence does it come with, any binary install from HTMLDocs only has a 21day trial licence, which is no good.

The open source has a free licence , hence me trying to work out how to use the open source version.

1DMF

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
I believe the link I gave you is a binary compiled from the GPL source.


He mentions this:
This HTMLDoc binary package is distributed under the terms of the GNU General Public Licence, in keeping with the terms of the original source distribution.

- this does not seem to be a 21 day trial.
 
excellent, i'll have a play, if it works, your a diamond!

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
well i have installed it and thought I was good to go, only when i run it via the PERL HTMLDoc module, I get the following output to the PDF...

============================================================
Content-Type: text/plain

HTMLDOC Version 1.8.24 Open Source Copyright 1997-2004 Easy Software Products, All Rights Reserved.
This software is governed by the GNU General Public License, Version 2, and is based in part on the work of the Independent JPEG Group.
============================================================

This is an open source GNU as it says so it should work , but alas I'm still having major problems?

Any ideas anyone?


"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
*bump* anyone? I've even tried HTML::RTF but again it doesn't work unable to handle tables or forms.

Is there a module available in PERL to convert X/HTML to either RTF, PDF or another document format that can handle CSS, Tables , Forms etc...

or am I trying to do something just not possible with PERL?

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top