Printing Bar code from Crystal Report
2 posts • Page 1 of 1
Printing Bar code from Crystal Report
Crystal Report is the most widely used reporting and analysis software.
Morovia Barcode fontware is fully compatible with Crystal report because a UFL (User Function Library) is contained in the package.
1. Launch Crystal report, click menu View, Field Explorer, then select Formula Fields. Right click to create a new formula, type in MyBarcode and choose OK.
2. Please copy and paste the following into the Formula Editor:
stringVar DataToEncode:={Data.xxx};
stringVar BarcodeStr:=MrvPDF417Barcode2DEncode(DataToEncode);
BarcodeStr;
Now, you can replace Data.xxx with your database field.
3. Drag and drop the formula on your report. Resize it so as to accomodate the barcode.
Don't forget to change its font name to one of Morovia PDF417 true type fonts.
Now, choose Print Preview, you will be able to see barcode appear in your report.
Morovia Barcode fontware is fully compatible with Crystal report because a UFL (User Function Library) is contained in the package.
1. Launch Crystal report, click menu View, Field Explorer, then select Formula Fields. Right click to create a new formula, type in MyBarcode and choose OK.
2. Please copy and paste the following into the Formula Editor:
stringVar DataToEncode:={Data.xxx};
stringVar BarcodeStr:=MrvPDF417Barcode2DEncode(DataToEncode);
BarcodeStr;
Now, you can replace Data.xxx with your database field.
3. Drag and drop the formula on your report. Resize it so as to accomodate the barcode.
Don't forget to change its font name to one of Morovia PDF417 true type fonts.
Now, choose Print Preview, you will be able to see barcode appear in your report.
- viceroy(Legacy Member)
Re: Printing Bar code from Crystal Report
Morovia Barcode Fontware Formula List
When you edit a formula in Crystal Report 9, click Functions, then Additional Functions, Visual Basic UFLs. You will be able to see all Morovia Barcode Functions provided.
MoroviaBarcodeCode39 encodes code 39 symbology, with no check digit.
MoroviaBarcodeCode39Mod43 encodes code 39 symbology, with mod 43 checksum.
MoroviaBarcodeCode39Ascii
MoroviaBarcodeCode39Extended
MoroviaBarcodeCode93 encodes code 93 symbology.
MoroviaBarcodeEAN13 encodes ean-13 symbology.
MoroviaBarcodeEAN8 encodes EAN-8 symbology.
MoroviaBarcodeUPCA encodes upc-a symbology.
MoroviaBarcodeUPCE encodes upc-e symbology.
MoroviaBarcodeBookland encodes bookland symbology.
MoroviaBarcodePostnet encodes postnet symbology.
MoroviaBarcodeCode128A encodes code 128 (set a) symbology.
MoroviaBarcodeCode128B encodes code 128 (set b) symbology.
MoroviaBarcodeCode128C encodes code 128 (set c) symbology.
MoroviaBarcodeCode128Auto encodes code 128 symbology.
MoroviaBarcodeSCC14
MoroviaBarcodeSSCC18
MoroviaBarcodeUSPS_EAN128
MoroviaBarcodeUSPS_USS128
MoroviaBarcodeRoyalMail encodes royal mail symbology.
MoroviaBarcodeCodabar encodes codabar symbology.
MoroviaBarcodeCode25 encodes code 25 symbology with no checksum.
MoroviaBarcodeCode25Check encodes code 25 symbology with checksum digit.
MoroviaBarcodeITF25 encodes interleaved 25 symbology without checksum.
MoroviaBarcodeITF25Check encodes interleaved 25 with checksum.
MoroviaBarcodeMSIMod10 encodes MSI/Plessey symbology.
MoroviaBarcodeCode11 encodes code 11 symbology.
Edited by viceroy on December 17 2003 at 7:19pm
When you edit a formula in Crystal Report 9, click Functions, then Additional Functions, Visual Basic UFLs. You will be able to see all Morovia Barcode Functions provided.
MoroviaBarcodeCode39 encodes code 39 symbology, with no check digit.
MoroviaBarcodeCode39Mod43 encodes code 39 symbology, with mod 43 checksum.
MoroviaBarcodeCode39Ascii
MoroviaBarcodeCode39Extended
MoroviaBarcodeCode93 encodes code 93 symbology.
MoroviaBarcodeEAN13 encodes ean-13 symbology.
MoroviaBarcodeEAN8 encodes EAN-8 symbology.
MoroviaBarcodeUPCA encodes upc-a symbology.
MoroviaBarcodeUPCE encodes upc-e symbology.
MoroviaBarcodeBookland encodes bookland symbology.
MoroviaBarcodePostnet encodes postnet symbology.
MoroviaBarcodeCode128A encodes code 128 (set a) symbology.
MoroviaBarcodeCode128B encodes code 128 (set b) symbology.
MoroviaBarcodeCode128C encodes code 128 (set c) symbology.
MoroviaBarcodeCode128Auto encodes code 128 symbology.
MoroviaBarcodeSCC14
MoroviaBarcodeSSCC18
MoroviaBarcodeUSPS_EAN128
MoroviaBarcodeUSPS_USS128
MoroviaBarcodeRoyalMail encodes royal mail symbology.
MoroviaBarcodeCodabar encodes codabar symbology.
MoroviaBarcodeCode25 encodes code 25 symbology with no checksum.
MoroviaBarcodeCode25Check encodes code 25 symbology with checksum digit.
MoroviaBarcodeITF25 encodes interleaved 25 symbology without checksum.
MoroviaBarcodeITF25Check encodes interleaved 25 with checksum.
MoroviaBarcodeMSIMod10 encodes MSI/Plessey symbology.
MoroviaBarcodeCode11 encodes code 11 symbology.
Edited by viceroy on December 17 2003 at 7:19pm
- viceroy(Legacy Member)
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest