Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Text::PDF documentation???

by k2 (Scribe)
on Oct 27, 2001 at 21:03 UTC ( [id://121762]=note: print w/replies, xml ) Need Help??


in reply to Text::PDF documentation???

Thank's LostS for giving me a hint of how to do this.
I tried the 0.06 version with your script (removed parts that I didn't need) just to see if it would include jpg's as expected,
but no...
I get the following:
Not a JPEG file. Can't use string ("1.2") as a HASH ref while "strict refs" in use at D:/Perl/site/lib/PDF/Create/Page.pm

I'm 100% sure that it's a JPG-picture so I'm a bit confused...

Second, when I try and open the file after removing the part with the image (just trying to create a PDF-document)
Acrobat Reader says:
"This file is damaged and is beeing repaired"
Anyone got a clue about this???

Thanks for your posting ronzo. It might be an idea to go through a postscript-file, but I'm trying to avoid it as far as I can...
This should be posible to do with the PDF::Create even if I can't get it working at the moment ;-)

/k2
(I tried to include the code I used but I can't post my message when the code is included...)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found