Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2018-09-25 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (198 votes). Check out past polls.

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