locked
PDF open/save prompt RRS feed

  • Question

  • User1510859543 posted

    We are using a URL to open SSRS reports in a new window (window.open(url)) with url like http://server/ReportServer?/folder/reportname...etc and include the parameter rs:Format=PDF.  How can we avoid the open or save popup and just always open the PDF?  In a related question, is there a way to also send the report directly to the default printer without user intervention?  Thanks.

    Friday, January 8, 2016 2:49 PM

Answers

  • User2053451246 posted

    Weather or not the end user is asked to open or save a file is a browser setting the end user is in control of.  You can't control it with code.

    Printing without user intervention from a web browser is not possible either.  If it was there would be millions of malicious sites out there that send an ad to your printer as soon as you visit the site (on accident or not).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, January 8, 2016 3:38 PM