Pathologically Eclectic Rubbish Lister | |
PerlMonks |
how to output to pdf from a perl scriptby thaigrrl (Monk) |
on Jan 16, 2001 at 19:38 UTC ( [id://52253]=CUFP: print w/replies, xml ) | Need Help?? |
I had problems when trying to generate a pdf file with perl and outputting to MSIE 5.0. To fix this, I did content type = application/pdf. Thanks to help from wonderful perl monks I found out that I could do this. :) Thanks for the nifty trick! I just thought I'd share for those who don't know.
by simply adding .pdf to the end of the URL, Microsoft's dumb MIME content override was tricked.
Back to
Cool Uses for Perl
|
|