Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-14-2005, 09:24 AM   #1
LQ Newbie
Registered: Sep 2004
Posts: 7

Rep: Reputation: 0
command line text to pdf conversion

Hello all..

I need to convert a simple text file to a pdf file via command line. Anyone know of a good free text to pdf converter?

Old 02-14-2005, 09:39 AM   #2
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
There might be an easier way, but I always just dump it through my cups-pdf device.
Old 02-14-2005, 09:40 AM   #3
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Old 02-14-2005, 04:32 PM   #4
Registered: Jul 2004
Location: Palo Alto, CA
Distribution: #! Korora
Posts: 472

Rep: Reputation: 30
Look at text2pdf

Also, most word editor can convert to pdf.
Maybe there is a way to run a word processor
by command line???

Old 02-14-2005, 05:38 PM   #5
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Here's what I would do:

1) print text to postscript file
2) ps2pdf filename.pdf

ps2pdf output.pdf


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
PDF to Text Conversion limnephilidae Programming 5 01-03-2012 08:22 AM
How can I read pdf files at the command line? hansi umayangan Linux - General 8 09-02-2004 07:27 AM
print files in PDF or html format from the linux command line IBKnobel Linux - Software 3 07-12-2004 09:29 PM
PDF to Text Conversion limnephilidae Linux - Software 2 06-25-2003 12:36 PM
Command line Text Terri Linux - General 8 04-05-2002 03:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:39 PM.

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