Print SSRS Reports in aspx Page

  • Hi All,

    I have Custom toolbar which contains print and preview for my reportviewer control.

    My Requirement is i must be able to print the report directly if i click the Print Button in Custom Toolbar and if i click preview only preview of the report should come.

    Can any one help me in this.

    Thanks in Advance.

    Regards

    T.Siva

  • To print the report directly from aspx page

    <script type="text/javascript">

    function Print()

    {

    RSClientPrint.MarginLeft = 12.7;

    RSClientPrint.MarginTop = 12.7;

    RSClientPrint.MarginRight = 12.7;

    RSClientPrint.MarginBottom = 12.7;

    RSClientPrint.Culture = 1033;

    RSClientPrint.UICulture = 9;

    RSClientPrint.Print('http://localhost/reportserver', '/ReportFolder/Report1', 'TestReport')

    }

    </script>

    -----------------------------------------------------------------------------------------------------------------------------------------------------------
    Please feel free to let me know if you are not clear or I’ve misunderstood anything.

    Thanks,
    Arunkumar S P

  • Hi, Thanks for Your Reply.

    What i need is to Print The Reports with out any preview.I have Print Button In my custom toolbar if i click that button it has to print the reports with out any preview.

    But RsclientPrint Activex Control again Works as the same way as Reportviewer Print Control.

    I need Print Function with out any preview.

    Thanks in Advance!!

    Regards

    T.Siva

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply