HTML to PDF

C

Carolyn Marenger

wes said:
How do you convert html document to pdf?
Thanks
Wes

Wes,

I print the html document, directing it to my pdf generating print driver.

Ok, seriously now - you can buy adobe software. If you prefer you can sign
up for their on-line service, you get a few free prints and then pay a
monthly fee. Once you have done either of these, you would then print the
document to your pdf print driver.

Carolyn
 
W

wes

I do have adobe. i thought that there is some code that i could type in
html or php that would convert the html to adobe.

thanks
Wes
 
J

Jim Higson

wes said:
How do you convert html document to pdf?

I have no idea how or why you want to do this (a bit more information would
have been helpful!), but there's a program called Prince that does this
very well.

see http://www.princexml.com/

If it is useful or not depends how you want to use it. If you want to
automatically convert many pages it'd probably be useful.
 
W

wes

I have data in a table that i would like to convert to pdf. This would
make printing, saving and the security of the information easier.

Thanks
Wes
 
J

Jim Higson

wes said:
I have data in a table that i would like to convert to pdf. This would
make printing, saving and the security of the information easier.

Out of interest, how is it more secure?

OpenOffice can import HTML and export PDF. If it's just one document that
seems like the easiest way.
 
W

wes

I want the text to be uneditable. In html format, a user could alter
some details and print out a report with incorrect data

Wes
 
J

Jim Higson

wes said:
I want the text to be uneditable. In html format, a user could alter
some details and print out a report with incorrect data

PDF isn't exactly uneditable, just more difficult to edit. There's an office
suite called KOffice that supports quite well the importing (and therefore
editing) of PDFs.

If you want to make sure a file doesn't change (any file, not just HTML),
you can do that by taking an MD5 hash of it, and then in future checking
the file still gives the same hash. This is how, for example, Bittorrent
knows the files it downloads haven't been altered by network corruption or
attack[1].

If you're interested, Google links to plenty of articles on how to do this.

[1] I'm not certain BT uses MD5, but the principle's the same.
 
T

The Numerator

I use CutePDF, which can make practically convert any file to .PDF for
free. To convert it, all you have to do I get to the print setup window
(as thought you were going to print) and when you have to choose which
printer to print to, just select CutePDF, and press Print; then it will
ask you where you want to save the converted .PDF file; that's all).

Link: http://www.cutepdf.com/Products/CutePDF/Writer.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top