Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: PDF::API2 module prints junk characters ( CAM::PDF / pdfinfo.pl)

by Anonymous Monk
on Sep 02, 2015 at 00:17 UTC ( [id://1140734]=note: print w/replies, xml ) Need Help??


in reply to PDF::API2 module prints junk characters

Apparently, PDF::API2 is for creating PDFs, it will read them, but a lot of the fields/records will just be binary junk ... which you can replace with various calls

What you're after is CAM::PDF/https://metacpan.org/pod/distribution/CAM-PDF/bin/pdfinfo.pl

$ pdfinfo Test-Results-Cookstove-Performance.pdf File: Test-Results-Cookstove-Performance.pdf File Size: 16123625 bytes Pages: 128 CreationDate: Thu Nov 3 01:02:54 2011 Creator: Adobe Acrobat Pro 9.4.6 ModDate: Thu Jan 5 00:52:01 2012 Producer: Adobe PDF Library 9.9 Trapped: False Page Size: variable Optimized: yes PDF version: 1.7 Security Passwd: none Print: yes Modify: yes Copy: yes Add: yes

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-03-28 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found