HTML to PDF via command line

Hi All

I am looking for a pdf tool that can convert a web page/html to pdf. The converter needs to be command line.
It also need to be compatable with Linux Enterprise Server 5.2.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi there;

OpenOffice you can make anything a .pdf, that's a nice feature.


Best regards...
devguru001DevAuthor Commented:
i need it to be command line, because i need to do it programmatically not manually.

e.g. html2pdf "thefile.html" "thefile.pdf"

is that possible?
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

You need software called htmldoc, try to install it via command "yum install htmldoc"

Full manpage found after the install via "man htmldoc" or via this site:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
devguru001DevAuthor Commented:
hi ifreq

i am trying to evaluate this htmldoc, i am trying to tested it on my local laptop and it's a windows machine. i've downloaded the windows binary version and installed, but it's asking for a license key.

so i just want to find out, does the linux version also require a license purchase?

what about my link?
Linux version is free.
devguru001DevAuthor Commented:
sorry i ommitted Red Hat in my question. So i dont think the Suse link will work for me.
and i also need it to be command line.

i am testing out htmldoc, and so far it working for my on my windows machine at least, trying to install it on the linux server now to test...
devguru001DevAuthor Commented:
hey guys, i posted another question on how to install htmldoc (fltk missing).
if you know how to solve it, please assist:

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.