on 12-03-2012 11:44 AM
Hy, my program it's written in Visual basic 2010 vs2010 and use Crystal Reports 2008 engine.
In IDE enviroment I can see the CRw32.exe load c:\windows\system32\usp10.dll and C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\usp10.dll and there are no problems with justify text.
My exe program have problem because it load only c:\windows\system32\usp10.dll.
I can't understand why my executable program load this dll and not other ...
Anyone have some idea ?
Thanks
Filippo
Another specification: i'm on a 64-bit system and I compile application for x86. So che usp10.dll loaded from executable program is c:\windows\sysWow64\usp10.dll ....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If this is a WIn app, make sure you are using SP4. If this is a web app, use SP3:
http://scn.sap.com/docs/DOC-7824
- Ludek
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Umm, not with VS2010...
Not supported. Download Crystal Reports for Visual Studio 2010 from here:
http://scn.sap.com/docs/DOC-7824
Change the CR references to v. 13 and retest.
- Ludek
Ok, so the situation is this:
- Visual Studio 2010
- Crystal Reports for Visual Studio 2010
- Report made with Crystal Reports 2011
Now I can see that are loaded usp10.dll twice: from Syswow64 and another istance from the correct Business Object folder.
I have a memo field with justify option and Calibri Font.
- If I show a report with Crystalviewer and print from this all is ok.
- if I print a report from rdc.PrintOutputController.PrintReport where rdc is ISCDReportClientDocument the text spacing are bad. I hoped the prbolem was incorrect USP10.dll ut seems is not so.
If I export the report in PDF format all is ok.
Any idea ?
1) Running app.exe nothing change.
2) Using different printer driver nothing change.
3) Replace USP10 in the SysWow64 with the Crystal dll work.
But this is not a solution becasue is a system dll so any Windows or Office upate can change the dll again ...
The strange is that printing the same document from CrystalViewer object work fine ...
Another specification:
using rdc.PrintOutputController.PrintReport where rdc is ISCDReportClientDocument the text spacing are bad.
using PrintToPrinterof RecordDocument object text spacing are correct.
So I change my program and all work fine. Pitty that with PrintToPrinter is not possibile to customize the job printer title like you can do with PrintOutputController.
At the end I think, the problem is in the different mode to use USP10.dll of two methods ...
What is the version of the file crpe32.dll loaded by your app? Use Modules to find out.
- Ludek
Now I'm using PrintToPrinter and text justify it's ok CRPE32.dll it's 13.0.4.705 in
C:\program files (x86)\sap businessobjects\crystal reports for .net framework 4.0\common\sap businessobjects enterprise xi 4.0\win32_x86\crpe32.dll
I could change program to use PrintOutputController again and verify if it use the same
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.