|
i've built a website that uses Crystal Reports to display formatted data from a database. the problem with the Crystal Reports engine that comes with .Net (the development tool I used) is that it doesn't have any printing capabilities other than the browser's print menu ... this is not acceptable because the browser is not able to print multi-page reports ... it can only print what is actually downloaded to the client in the browser ...
by outputting the html to a PDF file, the multi-page report can be printed by instantiating Adobe Acrobat Reader inside the browser ... Adobe knows it has a multi-page report and using Adobe's print option allows the entire report to be printed from the client's browser ...
that's the good news ... here's the problem:
i'm running all this website / database stuff on a lan ... the hosting machine (running XP pro) refuses to open the Adobe session inside the browser window ... it always pops open a second window although it does correctly display the report ... this machine is running Adobe Reader 6.0 ... another machine (Windows 2000) opens the Adobe Reader (version 4.0) inside the IE browser window as intended ... it does not open a second window for the Adobe session ...
so, the same website is producing different behavior on two different machines ... this seems to indicate the problem is being caused by browser/security settings rather than the website code ...
i found a "preferences setting" inside Adobe reader that says: "Display PDF in browser". When the box is checked, the PDF output does not display at all (i.e. not in the browser and not in a separate Adobe window) ... When I uncheck the box, the PDF displays in a separate Adobe window ...
the question is, what setting or settings need to be changed to get the Adobe Reader to open inside IE?
one last clue: when i access websites (not the one i've built) that open a PDF file, they open correctly inside IE ... how's that for confusing??
any ideas would be greatly appreciated ...
|