TXT to PDF: any tools?

H.S. hs.samix at gmail.com
Fri Mar 16 13:36:36 UTC 2007


Ali Milis wrote:
> Hi,
> 
> Is there any (free) tool that converts TXT to PDF files?
> Or is there any OpenOffice line command options that
> can do that?
> 
> thanks,
> 


given a text file foo.txt, first convert it to pdf:
$> a2ps -o foo.ps foo.txt

then convert resulting ps file to a pdf file:
$> ps2pdf foo.ps

and you will get foo.pdf.

->HS






More information about the ubuntu-users mailing list