Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: convert text file to pdf with PDF::Create

by ramrod (Chaplain)
on Apr 06, 2009 at 17:09 UTC ( #755796=note: print w/ replies, xml ) Need Help??


in reply to convert text file to pdf with PDF::Create

Have you tried using the module yet?
The example in the documentation at PDF::Create is:

my $f1 = $pdf->font('Subtype' => 'Type1', 'Encoding' => 'WinAnsiEncoding', 'BaseFont' => 'Helvetica'); $page->string($f1, 20, 306, 396, "some text");
I would start by reading in your text document, and putting what you read in the "some text" area.
Post your results - I'm just as interested in how this turns out as you are.


Comment on Re: convert text file to pdf with PDF::Create
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (13)
As of 2015-07-07 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls