Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Print PDF Problem

by thezip (Vicar)
on Jul 11, 2008 at 21:11 UTC ( #697088=note: print w/ replies, xml ) Need Help??


in reply to Print PDF Problem

I've used a header such as this with success:

my $header = qq(Content-type:application/pdf\n) . qq(Content-Disposition: attachment;filename=foo.pdf\n\n); print $header;

YMMV, so please adapt as needed.


Your wish is my commandline.


Comment on Re: Print PDF Problem
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-09-19 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (128 votes), past polls