http://www.perlmonks.org?node_id=481480


in reply to Simple Text to PDF

In Unix I use something like

% enscript -Bp - file.txt | ps2pdf - file.pdf
If it needs to be from within perl, and quick-and-dirty is good enough, then use system with the above, and let 'er rip.

(I've seen mentions of text2pdf and txt2pdf online, but never bothered to get either; I just made a shell function to shorten the above.)

the lowliest monk