PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/
__________________________________________________________________

Here is a problem that seems simple but I tried everything I could, and got
nowhere. 

I populate a PDF File by passing a query string into an ASP file, and try to
run some commands via this ASP file before opening this PDF file
automatically from this ASP file (When user clicks on the link, the ASP file
runs and presents the populated PDF form over the web on client's PC). Now
if I click on Save button, to save this PDF File, in the save dialogue box,
the default file name is the whole query string that I passed to this ASP
file (with all the variables and their values). 

I want to get rid of this default file name, and tried to use following ASP
codes, but neither worked:

1.      Response.AddHeader "Content-Disposition",
"attachment;filename=MyFile"
        In this way, a dialogue box opens and asks if I want to save or Open
the PDF file, which the default file name will be "MyFile.pdf "
        This is OK, but it is not a neat solution, as saving or viewing the
PDF File must pass through a dialogue box.
2.      Response.AddHeader "Content-Disposition", "inline;filename=MyFile"
And surprisingly this does not work! And when I try to save the PDF File, it
still presents the query string in the filename box, and I started to think
this might be a problem with Acrobat 6.0 (I use Adobe Acrobat 6.0 Pro)

I would appreciate any help or comments

Easa


This e-mail is only for the use of the addressee. It may contain information
which is legally privileged, confidential and exempt  from disclosure. If
you are not the intended  recipient you must not copy, distribute or
disseminate this e-mail or attachments to any person other than the
addressee. If you receive this communication in error please advise us by
telephone at once. 
AESSEAL plc Tel. +44 1709 369966 

 Visit our Website at http://www.aesseal.com

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html

Reply via email to