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

Re: Re: Re: Re: Problem converting HTML to PDF

by ehdonhon (Curate)
on Jan 29, 2003 at 23:10 UTC ( [id://231125]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Problem converting HTML to PDF
in thread Problem converting HTML to PDF

I also said that " I know that the second Write() call which outputs to STDERR does output a valid pdf file.". I didn't think anybody would find it useful for me to post the contents of the entire pdf file. Here's the first few lines of output produced from the second Write():

%!PS-Adobe-3.0
%%Creator: (ImageMagick)
%%Title: (GLOB(0x92ed52c))
%%CreationDate: (Wed Jan 29 18:07:37 2003)

And here are the last few lines:

%%EndData
%%PageTrailer
%%Trailer
%%BoundingBox: 0 0 611 791
%%EOF

UPDATE: I now realize this isn't what a pdf file looks like. This is what a postscript file looks like. Either I have totally missed the boat on how to use Image::Magick, or it doesn't quite work right for all combinations of conversions yet. In any event, thanks to everybody for their help, I've found a better solution to my problem.
  • Comment on Re: Re: Re: Re: Problem converting HTML to PDF

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-19 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found