New Forum | Previous | Next | (P-PDF) Acrobat 6.0
Topic: ActiveX viewer and emailing
Conf: (P-PDF) Acrobat 6.0, Msg: 97005
From: twiggy
Date: 9/24/2003 06:19 AM
We are in the process of rolling out a PDF based reporting system. We use a report generator that generates PDF binary. I take this binary, convert to Base 64, store it in a db, and feed it to the browser.
I used an Object tag since we only need it to work in IE. The src parameters is a very long URL to a script. Something like
http://www.ourserver.com/ourapp/reports/load_a_report.script?report_id=12&sessionid=12345, you get the picture.
I set the SRC to this and the PDF is streamed and viewed with a probelm.
The issue is when the user clicks save or email.
The save works pretty well, but defaults to the name of the script, usually index.pdf.
The send as link will not work due to security reasons. I would actually like to disable it. The send as copy does not work at all. The subject defaults to the url address, and nothing is attached.
All my research has shown that these things are not possible, but perhaps there is something like #page=5 that I can append to the end of the pdf source that will get me what I need.
1) Is there a way to override the default file name.
2) Is there a way to disable sending the report as a link.
3) Is there a way to get the send as a copy working.
4) Is there a way to disable the send as email button all together.
Right now I've added a button on our page that sends the email to the user who can then forward it along with more control. I've got the binary so it is not that hard for me to generate the email on the server side.
Any ideas?
Thanks