SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software

Kodyaz Development Forums for Programmer, Administrators and Users

Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Windows, Windows Phone, SAP and ABAP, like SAP UI5, Screen Personas, etc.

Reporting Services Client-Side Printing and Silent Deployment of RSClientPrint.cab ActiveX file

Last post 02-28-2012, 3:03 AM by asimjabbar. 1 replies.
Sort Posts:
  •  10-19-2011, 9:30 PM 22749

    • Malik is not online. Last active: 10-19-2011, 9:32 PM Malik
    • Joined on 10-20-2011

    Reporting Services Client-Side Printing and Silent Deployment of RSClientPrint.cab ActiveX file

    I have problem with RS printing features, it's show pop up message
    Image
    http://cdn-u.kaskus.us/66/wc4jlvyu.jpg

    I try to register RSClientPrint.dll in Windows\System32\
    it's failed when I open command prompt with user privillege

    http://cdn-u.kaskus.us/66/tip2xcev.jpg

    but when I use Administrator privilleged, I got success register
    btw dont use \s for status information success/failed

    dont
    c:\regsvr32.exe /s c:\winnt\system32\rsclientprint.dll
    should
    c:\regsvr32.exe c:\winnt\system32\rsclientprint.dll
  •  02-28-2012, 3:03 AM 22840 in reply to 22749

    Re: Reporting Services Client-Side Printing and Silent Deployment of RSClientPrint.cab ActiveX file

    Hi Tech Guys

    I have an issue with Reporting Services Client-Side Printing of RSClientPrint.cab ActiveX file.
    in JavaScript error console it gives error

    RSClientPrint is not defined

    Here is My Code

    <body>
        <form id="form1" runat="server">
        <div>
            <object id="RSClientPrint" classid="CLSID:5554DCB0-700B-498D-9B58-4E40E5814405" codebase="RSClientPrint-x86.cab" VIEWASTEXT>
            </object>

            <script language="javascript" type="text/javascript">
                function Print() {

                    if (RSClientPrint.Print == "undefined") {
                        alert("Unable to load client print control.");
                        return;
                    }
                    RSClientPrint.MarginLeft = 10;
                    RSClientPrint.MarginTop = 10;
                    RSClientPrint.MarginRight = 10;
                    RSClientPrint.MarginBottom = 10;
                    RSClientPrint.PageHeight = 297;
                    RSClientPrint.PageWidth = 210;
                    RSClientPrint.Culture = 1033;
                    RSClientPrint.UICulture = 9;
                    RSClientPrint.UseEmfPlus = true;
                    RSClientPrint.Print("http://localhost/PrintReport.aspx", "/Patient Report1/StudentReport", "Financial Report");
                }
            </script>

            <input id="btnPrint" type="button" value="Print" onclick="Print()" />
        </div>
        </form>
    </body>


    Some Help would be highly appreciated

    Regards
    Asim
View as RSS news feed in XML
Copyright © 2004 - 2017 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems