in reply to Re: PDF::API2 script name instead of file name
in thread PDF::API2 script name instead of file name

Right. I tried:

print CGI::header( -type => 'application/pdf',
-Content_disposition => 'inline;filename=\"myfilename.pdf\"')

but that did not work either. Nor did "-Content-disposition" with a hyphen instead of an underscore.

Still perplexed.
  • Comment on Re^2: PDF::API2 script name instead of file name

Replies are listed 'Best First'.
Re^3: PDF::API2 script name instead of file name
by jethro (Monsignor) on Aug 17, 2009 at 17:14 UTC
    While the header name may be Content_Disposition the parameter seems to be -content_disposition, at least as shown in the thread I refered to.