Last post Aug 29, 2011 01:45 PM by MoezeddinK
Aug 31, 2009 06:38 AM|SG_himadri|LINK
I need print report from print button viewer direct to printer. I added to web.config file
<configSections> <sectionGroup name="businessObjects"> <sectionGroup name="crystalReports"> <section name="printControl" type="System.Configuration.NameValueSectionHandler, System, Version=10.2.0.1078, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null" /> </sectionGroup> </sectionGroup> </configSections> <businessObjects> <crystalReports> <printControl> <add key="url" value="http://localhost/PrintControl.cab" /> </printControl> </crystalReports> </businessObjects>
how it is indicated in MSDN, but when I try to print a empty window appear but inmediately close and nothing happen.
Somebody knows which is the problem?
Where can I download PrintControl.Cab file? I was searching in BusinessObjects but I can't find it.
Sep 09, 2009 08:39 AM|sagnikmukh|LINK
Jan 16, 2010 02:49 PM|backSlashZero|LINK
i had the same problem I found PrintControl.cab at
but it didn’t work as it was for VS2005, I tried to find 2008 version of the file for a while and then tried my luck by changing the url by replacing 2005 with 2008 as follows
it worked. I downloaded the file and place on server as stated in above msdn article. Now printing is running file.
Aug 29, 2011 01:45 PM|MoezeddinK|LINK
I am not sure if this is related to the same problem that we had at our Company, User would access Crystal Reports on the Local Intranet and once the report was open, user would click on the Print Icon to print the Document (Report) and would get an error
message related to "Crystal Report Print Control".
The Fix was to copy several dll Files and to the C:\Windows Directory. This files to be kept under the Folder Name, called Activexviewer. Once these Files were copied, I created a Batch File to Register the files which made the Printer Control to work
(Only under Windows XP). I hope this Help...
Batch file as follow:
Rem rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\Activexviewer\crviewer.inf
Rem rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\Activexviewer\PrintControl.inf
regsvr32 /s %windir%\Activexviewer\CRViewer.dll
regsvr32 /s %windir%\Activexviewer\PrintControl.dll
regsvr32 /s %windir%\Activexviewer\swebrs.dll
regsvr32 /s %windir%\Activexviewer\sviewhlp.dll
regsvr32 /s %windir%\Activexviewer\csprintdlg.dll
regsvr32 /s %windir%\Activexviewer\pvlocale-1-0.dll
regsvr32 /s %windir%\Activexviewer\xerces-c_2_7.dll