Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Convert a text file to postscript, program on DSL< Next Oldest | Next Newest >
joeo Offline





Group: Members
Posts: 32
Joined: Mar. 2006
Posted: April 05 2006,14:07 QUOTE

Is there a program on DSL that will convert a text file to postscript?

Thank you!


--------------
Best Regards,

Joe O
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: April 05 2006,18:12 QUOTE

Not directly, but there is one to convert an *.rtf file into a *.ps file.  So what you can do is open your text file in Ted (which lets you open it but might give you a warning that it isn't an rtf file).  You'll need to show all files to see the file you want.  Then save it as an rtf file, and run the rft2ps.sh script to convert it.  You need the name of the existing file and the new file to create as arguments to the script:

/KNOPPIX/usr/share/ted/Ted/rtf2ps.sh myfile.rtf myfile.ps

Then you can view your new postscript file using ghostscript:

gs myfile.ps
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: April 05 2006,18:49 QUOTE

From the command line we have:

$ a2ps -o myfile.ps myfile.txt

This will convert the text file myfile.txt into postscript myfile.ps

You can also view postscript files by using  gvu
Back to top
Profile PM WEB 
joeo Offline





Group: Members
Posts: 32
Joined: Mar. 2006
Posted: April 06 2006,21:06 QUOTE

Hi Clacker & Roberts,
Thank you for your help!


--------------
Best Regards,

Joe O
Back to top
Profile PM 
3 replies since April 05 2006,14:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Convert a text file to postscript

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code