Crystal Report Print issue after Hosted in Server in ASP.Net

Last Reply one year ago By YacharuP

Posted one year ago

Hi Guys,

I need to print a report using crystal report through a system connected printer. Well, it's working fine in my system but when i hosts my application through IIS server then the report is not printing at all in another system i.e. connected to a printer

Please help me...

You are viewing reply posted by: YacharuP one year ago.
Posted one year ago


<script type="text/javascript">
        function Print() {
            for (var i = 0; i < frames.length; i++) {
                var dvReport = document.getElementById("dvReport");
                var frame1 = dvReport.getElementsByTagName("iframe")[0];
                if (navigator.appName.indexOf("Internet Explorer") != -1) {
                else {
                    var frameDoc = frame1.contentWindow ? frame1.contentWindow : frame1.contentDocument.document ? frame1.contentDocument.document : frame1.contentDocument;

This function worked for me to print multiple pages...