Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2018-07-15 23:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (327 votes). Check out past polls.

    Notices?