in reply to
Re^2: PDF::API2 is confusing me to death..
in thread PDF::API2 is confusing me to death..
I know what creates the additional pages, but what says "hey, write to me now buddy!"
That's what the openpage()
method does. It will return the page object. From that you can add whatever you want to that page. This is how I usually do that:
my $current_page = $pdf->openpage($page_num);
100, # X coord
200, # Y coord
"Some text to write",
-- More people are killed every year by pigs than by sharks, which shows you how good we are at evaluating risk. -- Bruce Schneier