Dear Group, I am trying the following code use PDF::API2; $in_pdf = PDF::API2->open('input.pdf'); for my $p (1 .. 4) { my $in_page = $in_pdf->openpage($p); ...
Aqua
aqua@...
Aug 1, 2007 10:35 pm
3275
It would be useful if carp and croak were used in all modules instead of warn and die, thus also displaying the line number of the calling program, as well as...
... Yes. eval { foobar }; if( $@ ){ # error trapped } This works regardless of if die, croak or exit was used. See `perldoc perlvar` and search for $@ and...
... Whilst that will work, I agree with Jeffrey. All modules should be using croak and carp for most almost all errors. That way, you know exactly what caused...
... You know what caused the error by the error message. The difference between carp and die is that carp gives the line number in the calling package and die...
... The error message doesn't necessarily tell you enough to know which line in the calling package caused the error - hence my preference for croak and carp. ...
Dear Group One of my colleague would like to know if it is possible to enable the "Text Threading" option in a PDF? This is something similar to using "Article...
aqua
aqua@...
Aug 3, 2007 5:57 am
3286
Internet Marketer Gets $87 Million inGoogle Pay-Per-Click Ads FREE! ... And Makes Over $314 Million as a Result! ... And Now He's Going to Give You This Same...
earn $200 to $1000+ every day. Work From Home. THIS IS ALL YOU NEED TO DO: 1- Activate Your Website 2- Login and access your website training material 3-...
perldoc PDF::API2 brings up examples as well as: http://search.cpan.org/dist/PDF-API2/lib/PDF/API2.pm and or the documentation at...
Mark Fowle
mfowle@...
Aug 7, 2007 8:31 pm
3290
I would like to use PDF::API2 to create a pdf that includes javascript. What I am trying to actually accomplish is have an updated print date appear at the...
... Hash: SHA256 ... to use other fonts with pdfapi2 you use the ttfont/psfont methods. C fredo - -- Schonmal davon gehoert, dass nicht jeder linux user gleich...
... I don't remember Javascript being mentioned inside PDF. But you can look yourself at http://www.adobe.com/devnet/pdf/pdf_reference.html -- Just my...
... format to ... code? ... Am paraphrasing and simplifying here, but saw in some docs to use a new postscript font you just need to load it, but didnt see a...
Are there any image manipulation options in PDF:API. What I am looking for is being able to set the width or height of the image, or crop an image to a certain...
... See `perldoc PDF::API2::Content` and search for '$gfx->image'. -- Just my 0.00000002 million dollars worth, Shawn "For the things we have to learn before...
forgive me if I am not understanding what exactly you want, but if all you need is a date inside the pdf why not do something like this use PDF::API2; use...
here is a start for you setImage($imageName, $x, $y, $width, $hieght); sub setImage{ my $photo_file=$pdf->image_png($_[0] ,-lossless => 1); my $photo =...
Ben, Thanks for that input. I will most likely do something like that. It really does make sense to do it that way. My goal though was to get an updated ...
There are a fair number of image manipulation options in PDF::API2 http://search.cpan.org/dist/PDF-API2/lib/PDF/API2/Content.pm has a lot of options outlined ...
Mark Fowle
mfowle@...
Aug 9, 2007 1:16 pm
3300
The only thing I can think of is using PDF form of sometype, I have never used it, but could be possible to get somekind of input or something, Since PDF is a...
... If you're not overly particular about the date format, simply: return scalar localtime(shift || time); is much better ;-) Beats trying to stuff localtime()...
I am scanning images (which are patient documents) and placing the images in a pdf I create with pdf::api2. Is there an image format that would work the best? ...
Noting that I have no idea exactly what you are doing. I think the choice of image format should be more based on the image and output quality needed. PDF...