Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Simple Text to PDF

by tlm (Prior)
on Aug 06, 2005 at 13:26 UTC ( #481480=note: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://481480]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2018-12-17 14:10 GMT
Find Nodes?
    Voting Booth?
    How many stories does it take before you've heard them all?

    Results (73 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!