Converting text to PDF

Here's a quick way to create PDF files with some text in them:

echo "contents for PDF" enscript -p - ps2pdf - file.pdf
posted: Feb 4 2009
tags: tips