|
 |
|
|
Crystal Reports Server is a reporting tool for mid-size business.
Crystal Reports Server 2008 is designed for companies that need to deliver reports via Internet to targeted viewers.
If you want to generate linear or 2D barcode in Crystal Reports Server, you don't need to look any further.
Barcodesoft Java library is a smart and simple font-based solution for creating bar codes in Crystal Reports Server for Linux.
Here are the instructions
1. Download Crystal Reports plugin for EClipse from the following URL
http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e-all-in-one-win_2.0.7.zip
You can unzip and install it.
2. Start EClipse, then click menu Windows->Preferences->Crystal Reports->Engine. Click "File..." button on the right side, and choose Barcodesoft jar file.
If you want to get Barcodesoft Java library, please click "Download Demo" button at the top of this page.
3. Click "New..." button at lower right corner. type in 'qrcode.ufl.QRCodeLibrary' as shown below.
|
|
4. Create a new project in EClipse by click menu File->New->Project->General->Project, and fill in project name.
5. Add a blank Crystal Report by click menu New->Other, then choose Blank Report from Crystal Reports.
6. Right click Formula under Field Explorer to create a new formula field: QRCode as shown below
|
|
7. Double click formula field to edit it as get_qrcode_string("StrToEncode", ErrorLvl) or get_qrcode_string({Data.Field}, ErrorLvl) as shown below.
Parameter ErrorLvl is the Error Correction Level for encoding. Its value should be an integer between 1 and 4.
|
|
8. Drag and drop the formula field to your report page as shown below.
|
|
9. Hilight the formula field in your report, then from its property setting, choose "BcsQrcode" as its Font Name.
|
|
10. Choose Preview mode and bar code will be shown as below.
|
|
|