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

Re: PDF::API Editing PDf files

by ikkon (Monk)
on Nov 13, 2006 at 20:52 UTC ( #583828=note: print w/ replies, xml ) Need Help??


in reply to PDF::API2 Editing PDf files

I don't have to much to brag about yet all i have thus far is opening the file and saving it as something else I can get much else to work, also never worked with this module or pdf's before...lol

#!/usr/bin/perl use PDF::API2; $pdf = DF::API2->open('Maturity Assess3.pdf'); $pdf->saveas("new.pdf"); #####to import a page and place it on another page ## $pdf = PDF::API2->new; ## $old = PDF::API2->open('my/old.pdf'); ## $page = $pdf->importPage($old,2); # get page 2 into page 1 ## $pdf->saveas("our/new.pdf");


Comment on Re: PDF::API Editing PDf files
Download Code
Re^2: PDF::API Editing PDf files
by GrandFather (Sage) on Nov 13, 2006 at 21:12 UTC

    Nothing to do with your immediate problem, but we strongly urge you to add use strict; use warnings; to all the Perl you write. In the long run it will save us a lot of time answering your questions ;).


    DWIM is Perl's answer to Gödel

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2015-07-05 14:39 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 (67 votes), past polls