When a Crystal report is printed from Crystal Reports web viewer, a prompt comes up installing Crystal ActiveX PrintControl.
This becomes an issue when the end user does not have install rights on the machine.
Is there a way to suppress the prompt?
- Visual Studio 2008 / Visual Studio 2010
- Crystal Reports 2008 / Crystal Reports for Visual Studio 2010
The ActiveX Print Control is wrapped in the PrintControl.cab file which gets shipped with Crystal runtimes.
In case of MSI deployment, PrintControl.cab file gets installed at below locations.
C:\Program Files\Business Objects\Common\4.0\crystalreportviewers12\ActiveXControls
C:\Inetpub\wwwroot\aspnet_client\system_web\2_0_50727\crystalrepor tviewers12\ActiveX Controls
It gets accessed from the application's ASPNet_Client folder when users click the viewer print button.
To enable the browser to install the ActiveX is the only way to facilitate the ActiveX Print control.
To work it around, PrintControl could be manually installed on every user machine, if it is feasible.
However, for ActiveX print mode, letting the Crystal ActiveX Print Control register on the user PC is the only supported solution.
To work this around, a custom print method could be built using Crystal print APIs such as ‘PrintToPrinter’ or PrintOutputController.
KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To