Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^3: PDF through perl

by jdtoronto (Prior)
on Nov 06, 2006 at 15:12 UTC ( #582452=note: print w/replies, xml ) Need Help??

in reply to Re^2: PDF through perl
in thread PDF through perl

Did you read the PDF::API2 documentation? If you did, then why are you doing this:
use PDF::API2::Win32; $pdf = PDF::API2::Win32->new;
when the docs say to do this:
use PDF::API2; $pdf = PDF::API2->new; $fnt = $pdf->corefont('Helvetica-Bold'); $page = $pdf->page; $page->mediabox('A4'); $gfx = $page->gfx; $gfx->textlabel(200,700,$fnt,20,'Hello World !'); $pdf->saveas('/this/new/document.pdf'); $pdf->end;

Replies are listed 'Best First'.
Re^4: PDF through perl
by leelavenu (Initiate) on Nov 07, 2006 at 03:47 UTC
    I got where was wrong. Thanks for the support. leela

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://582452]
[stevieb]: Perhaps my experience with HP is a bit different as I always bought the highest end models through business.
[Corion]: 1nickt: At least the machines that $work is introducing to replace the Lenovo T60 here do not inspire confidence with me

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (19)
As of 2017-03-27 13:31 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.