Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Writing a paragraph to a pdf [PDF::API2]

by pvaldes (Chaplain)
on Apr 19, 2016 at 23:22 UTC ( #1160950=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use PDF::API2;
    ...
    ...
    $txt->translate(50,500);
    
    $txt->text("This should be a text \n in four lines \n in coordinates x
    +=50, y=500, \n but is printed in a single line that reaches the borde
    +r of the page and escapes toward mars");
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2019-12-15 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?