Using Arview2.ocx PrintReport in Windows 10

Posted by: bntconan on 30 July 2018, 12:47 am EST

  • Posted 30 July 2018, 12:47 am EST

    Hi,

    My clients has upgraded their PC to Windows 10 recently and they reported that our web system has printing slow problems. We soon found out that the slow problem come from the function “PrintReport” in arview2.ocx (version 2.4.1.1283).

    It is found that it kept “spooling…” and hang for some times but actually just 100 KB size.

    But we dont know why as it is running fine in when clients PC is Windows 7.

    Any hints on it? Are there any configuration setting need on Windows 10?

    IE11 with 32bit is used for both Windows 7 / 10.

    Thank you!

  • Posted 30 July 2018, 3:18 am EST

    Hello,

    AR2 had declared as a legacy product a long time ago and it is out of development mode. Hence, we don’t provide the support for AR2. However, we have many customers for whom issue has resolved after uninstalling the ‘KB4048955’ update. If the issue does not resolve after uninstalling the above update, we recommend you to update to our latest release(AR12) as no fixing will be done in AR2.

    You can refer to the following link for the new features and enhancements:

    https://help.grapecity.com/activereports/webhelp/AR12/webframe.html#WhatsNew.html

    You could use the trial version AR12 which can be downloaded from the following link:

    https://www.grapecity.com/en/download/activereports-developer

    Thanks,

    Mohit

  • Posted 30 July 2018, 6:21 am EST

    Hi Mohit,

    We are using the activeX control arview2.ocx in our web system to print report directly. Do you mean AR12 also provide a updated version of the activeX control?

    Thanks!

  • Posted 30 July 2018, 7:23 am EST

    Hello,

    Actually, AR12 does not have an updated version of ActiveReport Com. AR2 Com is the last version that was released in ActiveX technology. Therefore, you need to move from ActiveX to .net technology in order to use AR12. Also, AR2 Com is our very old product. It is never tested on Win10. Hence, we do not recommend to use AR2 Com with Win10.

    Thanks,

  • Posted 30 July 2018, 9:31 pm EST

    Hi,

    To obsolete AR2 ActiveX, we need to have the same feature that to print report directly from our web system (no print prompt). Can AR12 perform the same feature? Any sample code for us?

    Thank you so much for your reply!

  • Posted 31 July 2018, 3:18 am EST

    Hello,

    Can you please explain your requirements in detail so that I can create an application implementing the same for you?

    1: Do you want server-side printing or client-side printing?

    2: AR12 has Web Viewer and HTML5 viewer for web-based application. Please refer to the following links:

    http://help.grapecity.com/activereports/webhelp/AR12/webframe.html#ActiveReportsandtheWeb.html

    http://help.grapecity.com/activereports/webhelp/AR12/webframe.html#HTML5UsingtheViewer.html

    3: Could I create the sample by hosting WinForms control in web page?

    Thanks,

  • Posted 31 July 2018, 10:09 pm EST

    Hi,

    We want to have a feature that after clickiing a button the report will be printed directly to a dedicated printer without a print prompt. It should be a client-side printing.

    Currently it can be archived by using arview2.ocx.

    Thanks.

  • Posted 1 August 2018, 12:35 am EST

    Hello,

    It is not possible with .net technology. Printing with predefined/chosen printer is not possible on the client side as this would be a security vulnerability i.e. it is not even possible to get the list of available printers for the same reason. For example, if I set the print command on page load then printing is started on the client’s printer without acknowledges him. Hence, it is not possible due to security reason.

    Hope it clarifies.

    Thanks

  • Posted 6 August 2018, 10:03 pm EST

    Hi,

    Thanks for your reply. We will develop a new method to replace the features that arview2.ocx provided.

    And for whom encounter the same issue, we finally found out this can be solved by setting Windows 10 PC’s system locale the same as the IIS server’s.

    Thanks.

  • Posted 8 August 2018, 2:40 am EST

    Hello,

    I am glad that problem has been solved at your end.

    Sorry for the inconvenience caused.

    Thanks,

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels