LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-03-2008, 03:43 PM   #1
Luvz2Fly
LQ Newbie
 
Registered: Aug 2005
Location: Florida
Distribution: Fedora, CentOS
Posts: 15

Rep: Reputation: 0
HTML to PDF Command Line App


Greetings all,
I searched and searched but could not find a simple CLI driven app to convert HTML or TXT to PDF. ANY ideas? I think command line would be best as I need it to traverse a few hundred directories to do it to multiple files

Thanks in advance!
 
Old 12-03-2008, 04:14 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Make sure imagemagick is installed, then:

convert myfile.htm myfile.pdf.

This will do the whole job, including bringing in images etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cups-pdf command-line print .html pages without tags ? o5iri5 Linux - Software 1 08-06-2007 07:24 AM
PDF to Command line format Tux-O-Matic General 6 10-04-2006 08:05 AM
Is there an app which can convert pdf to, e.g., html? kornerr Linux - General 2 08-29-2005 12:59 PM
CMD line tool for PDF -> HTML or JPG/PNG/GIF ilhbutshm Linux - Software 5 10-23-2004 05:18 AM
print files in PDF or html format from the linux command line IBKnobel Linux - Software 3 07-12-2004 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration