LinuxQuestions.org
Help answer threads with 0 replies.
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: 115Reputation: 115
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


All times are GMT -5. The time now is 04:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration