SlideShare a Scribd company logo
1 of 10
Download to read offline
6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 1
Crystal Reports
Adding barcodes to reports
Overview
This document provides an overview of barcodes, how barcodes work in the
Crystal Reports Designer, and examples of the barcode font types. This
document has been written for Crystal Reports 9 and earlier.
Contents
INTRODUCTION............................................................................................2
WHAT IS A BARCODE?.................................................................................2
Examples of standard barcode fonts .................................................................. 2
Example of non-standard barcode fonts............................................................. 3
USING BARCODES IN CRYSTAL REPORTS .....................................................3
Installing barcodes and the barcode UFL........................................................... 3
Steps to verify that the barcode UFL has been successfully installed................ 4
DISPLAYING BARCODES IN CRYSTAL REPORTS.............................................5
Code 39.............................................................................................................. 5
Code 128............................................................................................................ 6
Postnet ............................................................................................................... 7
PDF417.............................................................................................................. 8
WHAT FONT APPLIES TO WHICH BARCODE FUNCTION? ..................................9
FINDING MORE INFORMATION ....................................................................10
CONTACTING CRYSTAL DECISIONS FOR TECHNICAL SUPPORT....................10
Crystal Reports Adding barcodes to reports
6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 2
Scr_barcodes.pdf
Introduction
This document outlines the following:
โ€ข An explanation of barcode fonts
โ€ข Using barcode creation functions and the User Function Library (UFL) in
Crystal Reports
What is a barcode?
A barcode is a series of vertical black and white stripes that are read by a
barcode scanner. The vertical black and white lines can contain product
information, such as price, weight, and size. Once it has been scanned, the
barcode is translated and often printed out onto a receipt.
For example, in a retail store, the clerk can scan the barcode instead of manually
entering a 20-digit number for each product as it passes through the checkout
counter. This allowed a quick, easy and inexpensive method of data input for
retail stores.
There are different types of barcode fonts for the unique needs of various
industries.
For example, UPC symbols are used on, but not limited to, compact disks
(CDs), grocery items, and magazines while Code 39 is used in video rental
stores, on identification (ID) cards, and for labels. Code 128 is a code made up
of symbols used often by the shipping industry.
Examples of standard barcode fonts
Code 39
UPC
Code 128
Crystal Reports Adding barcodes to reports
6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 3
Scr_barcodes.pdf
Example of non-standard barcode fonts
PDF417
Using barcodes in Crystal Reports
Installing barcodes and the barcode UFL
To create barcodes in Crystal Reports, you must first purchase a barcode font set
from a vendor such as Azalea Software. Install the barcode fonts according to
the instructions provided by Azalea Software. Also, you need to download the
latest barcode User Function Library files (UFLs) from their web site at:
http://www.azalea.com/
Currently, there are two types of barcode UFLs available for download. One is
for use in creating the standard, conventional barcodes. This barcode UFL has
two versions; one is for use with the Azalea Software version 4-font set and one
is for use with the version 5-font set. The other type of barcode UFL is for use
with the PDF417 barcode font set only.
Once you have successfully downloaded the appropriate barcode UFL file, you
will need to extract the two UFL driver files to the correct locations depending
on the operating system, Crystal Reports version and the barcode UFL. Refer to
Table A for Crystal Reports 9 and Table B for Crystal Reports 8.5 and earlier.
Table A: File location of barcode UFL drivers for Crystal Reports 9
Operating
system
Barcode
UFL type
Driver File
names
File location
Barcode.dll C:winntsystem32Windows
NT
Barcode
UFL (for
standard,
conventional
barcode font
sets)
U2lbcode.dll C:Program FilesCommon FilesCrystal
Decisions2.0bin
Barcode.dll C:windowssystem32Windows 9x,
ME, XP
Barcode
UFL (for
standard,
conventional
barcode font
sets)
U2lbcode.dll C:Program FilesCommon FilesCrystal
Decisions2.0bin
Pdf417mba.dll C:winntsystem32Windows
NT
PDF417
UFL (for
PDF417 font
only)
U2lpdf417.dll C:Program FilesCommon FilesCrystal
Decisions2.0bin
Crystal Reports Adding barcodes to reports
6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 4
Scr_barcodes.pdf
Pdf417mba.dll C:windowssystem32Windows 9x,
ME, XP
PDF417
UFL (for
PDF417 font
only)
U2lpdf417.dll C:Program FilesCommon FilesCrystal
Decisions2.0bin
Table B: File location of barcode UFL drivers for Crystal Reports 8.5 and
earlier
Operating
system
Barcode UFL type Driver File names File location
Barcode.dll C:winntsystem32Windows NT Barcode UFL (for
standard, conventional
barcode font sets)
U2lbcode.dll C:winntcrystal
Barcode.dll C:windowssystem
32
Windows 9x,
ME, XP
Barcode UFL (for
standard, conventional
barcode font sets)
U2lbcode.dll C:windowscrystal
Steps to verify that the barcode UFL has been successfully
installed
1. Launch Crystal Reports.
2. From the Insert menu, select Field Object to open the Field Explorer
dialog box.
3. Select Formula Fields and click New.
4. Type a formula name. For example, โ€œtestโ€. The Formula Editor dialog box
opens.
5. Find the available barcode fonts under the section heading Additional
Functions.
Now that the barcodes fonts are available in Crystal Reports, you can create
barcodes in a report.
NOTE Creating barcodes in the Seagate Info Report Designer is the same as creating barcodes in the
Crystal Reports Designer. The same steps apply.
NOTE You can obtain the most up-to-date barcode font sets and UFLs from Azalea at
http://www.azalea.com
Crystal Reports Adding barcodes to reports
6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 5
Scr_barcodes.pdf
Displaying barcodes in Crystal Reports
Crystal Reports uses the barcode UFL to display barcodes in a report. In the
following sections, you will find examples of formulas, which contain barcode
functions and methods to be applied in Crystal Reports.
NOTE The following examples require that you are familiar with creating formulas in Crystal Reports. For
information on how to create formulas, refer to the Crystal Reports Online Help by pressing F1.
Code 39
Background
Code 39 barcode can contain an alphanumeric string. BarcodeC39() is a function
available in Crystal Reports that displays standard Code 39 barcodes. Code 39 is
an industry standard barcode as defined by the American National Standards
Institute (ANSI). This barcode is used as the standard for many government
institutions.
The arguments that are accepted by this function can contain the numbers 0-9,
the letters A-Z, both uppercase and lowercase, to a maximum formula output of
254 characters. The formula in this section returns a value that Code 39 can
understand when scanned.
Steps to display Code 39 barcodes
To display Code 39 barcodes, create a formula in Crystal Reports and then apply
the applicable barcode font format.
1. Create a formula in Crystal Reports similar to the following:
//Formula to display Code 39 barcodes
BarcodeC39(โ€œABC123abโ€)
2. Insert the formula field onto the report.
Notice that the following syntax is displayed on the report:
*ABC123+A+B*
The delimiter characters (*) at the beginning and at the end of the barcode
syntax indicate to the scanner where the barcodes starts and finishes.
Crystal Reports Adding barcodes to reports
6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 6
Scr_barcodes.pdf
3. Select the formula field and format it by selecting one of the Code 39
barcode fonts from the drop-down list.
Upon formatting the formula field with a Code 39 barcode font, a series of
vertical black and white lines that represent the barcode value appears.
When a barcode scanner reads the display, it will return the exampleโ€™s value of
ABC123abc.
For more information on this barcode, refer to:
http://www.mecsw.com/specs/code_39.html
Code 128
Background
Code 128 barcode fonts are selected due to its density for numeric data and its
wide selection of characters. Automatic Identification Manufacturers (AIM)
maintains this barcode.
To find out more about AIM, click on the following link:
http://www.aimi.org/
The Code 128 barcode function is divided into three subsets of data. Subsets A
and B can contain alphanumeric strings. Subset C can contain a numeric string.
All three Code 128 barcode functions use the same syntax. The difference
between these three codes is what each code supports, and how each code
calculates the checksum at the end of the code.
โ€ข BarcodeC128A() supports standard ASCII symbols, digits, upper case
characters and other code 128 control codes.
โ€ข BarcodeC128B() supports standard ASCII symbols, digits, upper and lower
case letters.
โ€ข BarcodeC128C() compresses two numeric digits so that the total length of
the barcode is half the length of the other two barcode subsets.
The formula in this section returns a value that Code 128 can understand when
scanned.
Crystal Reports Adding barcodes to reports
6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 7
Scr_barcodes.pdf
Steps to display Code 128 barcodes
To display Code 128 barcodes, create formulas in Crystal Reports and then
apply the applicable barcode font.
1. Create three formulas in Crystal Reports similar to the following:
Example formula A:
//Formula to display subset A of Code 128 barcodes
BarcodeC128A(โ€œA..234โ€)
Example formula B:
//Formula to display subset B of Code 128 barcodes
BarcodeC128B(โ€œ123ABCaโ€)
Example formula C:
//Formula to display subset C of Code 128 barcodes
BarcodeC128C(โ€œ4567โ€)
2. Insert the formulas onto the report.
Notice that the following syntax is displayed on the report:
โ€ข For example formula A, the syntax displayed is A 234.
โ€ข For example formula B, the syntax displayed is 123ABCa.
โ€ข For example formula C, the syntax displayed is 4567.
3. Select the formula field and format it by selecting one of the Code 128
barcode fonts from the drop-down list.
Upon formatting the formula fields with a Code 128 barcode fonts, a series of
vertical black and white lines that represent the barcode values appear.
When a barcode scanner reads the display, it returns the Code 128 examplesโ€™
values.
For more information on this barcode, refer to:
http://www.mecsw.com/specs/code_128.html
Postnet
Background
Postnet barcode contains a ZIP code. The American Postal Service uses this
barcode to automatically sort mail.
BarcodePostnet(ZIP code) is the function in Crystal Reports that displays an
American Postal Service barcode. The ZIP codes can be five-digit, nine-digit or
eleven-digit in length. This function also supports the hyphen (-) character. The
formula in this section returns a value that Postnet can understand when
scanned.
Crystal Reports Adding barcodes to reports
6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 8
Scr_barcodes.pdf
Steps to display Postnet barcodes
To display Postnet barcodes, create a formula in Crystal Reports and then apply
the applicable barcode font.
1. Create one of three formulas in Crystal Reports similar to the following:
Example formula for five-digit ZIP codes:
//Formula to display five-digit Postnet barcodes
BarcodePostnet(โ€œ12345โ€)
Example formula for nine-digit ZIP codes:
//Formula to display nine-digit Postnet barcodes
BarcodePostnet(โ€œ123456789โ€)
Example formula for eleven-digit ZIP codes:
//Formula to display eleven-digit Postnet barcodes
BarcodePostnet(โ€œ12345678901โ€)
NOTE Only select the BarcodePostNet font applicable to 5, 9, or 11 digit zip codes. Do not type all three
formulas into the Formula Editor. Select only the one that applies to you.
2. Insert the formula onto the report.
Notice that the following syntax is displayed on the report:
โ€ข For the five-digit example formula, the syntax displayed is 12345.
โ€ข For the nine-digit example formula, the syntax displayed is 123456789
โ€ข For the eleven-digit example formula, the syntax displayed is 12345678901.
3. Select the formula field and format it by selecting the ZipCodeBarcode font
from the drop-down list.
Upon formatting the formula fields with the PostNet barcode font, a series of
vertical black and white lines that represent the barcode values appear.
When a barcode scanner reads the display, it returns the PostNet examplesโ€™
values.
For more information on this barcode, refer to:
http://www.mecsw.com/specs/postnet.html
PDF417
Background
PDF417 is a two-dimensional, high-density, non-linear type of barcode. โ€œPDFโ€
stands for Portable Data File. PDF417 barcodes are capable of displaying more
information then the standard barcode types. PDF417 barcodes are currently
used for labeling hazardous materials, storing technical specifications and
calibration data on electronic instruments, and encoding fingerprints and
photographs on driversโ€™ licences.
Crystal Reports Adding barcodes to reports
6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 9
Scr_barcodes.pdf
Over 1800 alphanumeric characters or over 2700 numeric digits can be encoded
in a single PDF417 barcode. Up to 900 characters can be encoded per square
inch.
Steps to display PDF417 barcodes
To display PDF417 barcodes, create a formula in Crystal Reports and then apply
the applicable barcode font.
1. Create a formula in Crystal Reports similar to the following:
//Azaleaโ€™s example formula to display PDF417 barcodes
numberVar rows := simplePDF417DoIt({Your Field Here});
numberVar i := 0;
stringVar BarCode := "";
for i := 1 to rows step 1 do
BarCode := BarCode + simplePDF417GetIt(i);
2. Insert the formula onto the report.
3. Select the formula field and format it by selecting one of the PDF417
barcode fonts from the drop-down list.
Upon formatting the formula field with a PDF417 barcode font, a pattern of
black and white lines that represent the barcode value appears.
When a barcode scanner reads the display, it will return the exampleโ€™s value.
For more information on this barcode, refer to:
http://www.mecsw.com/specs/pdf417.html
What font applies to which barcode function?
The โ€˜Table of Azalea Font Setsโ€™ provides a list of font sets available for
purchase from Azalea Software. The table includes the corresponding functions
and font styles for each font set.
Table C: Azalea Font Sets
Azalea font set Functions Font style
C128Tools โ€ข BarcodeC128C
โ€ข BarcodeC128B
โ€ข BarcodeC128C
โ€ข BarcodeC128Auto
โ€ข BarcodeFNC1C
โ€ข BarcodeUCC128SSCC
โ€ข BarcodeUCC128SSCCPosta
l
Code 128
C39Tools โ€ข BarcodeC39
โ€ข BarcodeC39ASCII
Code 39
Crystal Reports Adding barcodes to reports
6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 10
Scr_barcodes.pdf
UPCTools โ€ข BarcodeUPCA
โ€ข BarcodeUPCE
โ€ข BarcodeBookland
โ€ข BarcodeISSN
โ€ข BarcodeEAN8
โ€ข BarcodeEAN13
UPC, OCR
PostTools โ€ข BarcodePostnet ZipCodeBarcode
I2of5Tools โ€ข Barcode2of5
โ€ข Barcode2of5SCCF
Interleaved 2 of 5
AzaleaMBA โ€ข PDF417 AzaleaMBA
CodaBar โ€ข BarcodeCodabarA
โ€ข BarcodeCodabarB
โ€ข BarcodeCodabarC
โ€ข BarcodeCodabarD
Codabar
Code93 โ€ข BarcodeCode93 Code 93
2of5 โ€ข Barcode2of5 2 of 5
Finding More Information
This is a list of references used to create this document. For more information on
barcodes, click the following links:
โ€ข Azalea Software
โ€ข The Barcode Software Center
โ€ข Rivers Edge
โ€ข CIAX
Contacting Crystal Decisions for Technical Support
We recommend that you refer to the product documentation and that you visit
our Technical Support web site for more resources.
Self-serve Support:
http://support.crystaldecisions.com/
Email Support:
http://support.crystaldecisions.com/support/answers.asp
Telephone Support:
http://www.crystaldecisions.com/contact/support.asp

More Related Content

Viewers also liked

Project_report_on_Attendance_system
 Project_report_on_Attendance_system Project_report_on_Attendance_system
Project_report_on_Attendance_systemAmi Goswami
ย 
report on monorail technolgy
report on monorail technolgyreport on monorail technolgy
report on monorail technolgyGopinath Chapagain
ย 
Dna Barcoding and Undergraduate Science
Dna Barcoding and Undergraduate ScienceDna Barcoding and Undergraduate Science
Dna Barcoding and Undergraduate ScienceJoe Cross
ย 
Qr codes
Qr codesQr codes
Qr codesniyaj ahmed
ย 
Barcode Scanner Project Instructions
Barcode Scanner Project InstructionsBarcode Scanner Project Instructions
Barcode Scanner Project InstructionsTCEAES
ย 
Barcode Technology
Barcode TechnologyBarcode Technology
Barcode TechnologyARUN SUNNY
ย 
SMART NOTE TAKER REPORT
SMART NOTE TAKER REPORTSMART NOTE TAKER REPORT
SMART NOTE TAKER REPORTVivek Jha
ย 

Viewers also liked (10)

Project_report_on_Attendance_system
 Project_report_on_Attendance_system Project_report_on_Attendance_system
Project_report_on_Attendance_system
ย 
Dwarakseminar1
Dwarakseminar1Dwarakseminar1
Dwarakseminar1
ย 
report on monorail technolgy
report on monorail technolgyreport on monorail technolgy
report on monorail technolgy
ย 
Dna Barcoding and Undergraduate Science
Dna Barcoding and Undergraduate ScienceDna Barcoding and Undergraduate Science
Dna Barcoding and Undergraduate Science
ย 
Qr codes
Qr codesQr codes
Qr codes
ย 
Recreated polyfuse
Recreated polyfuseRecreated polyfuse
Recreated polyfuse
ย 
Barcode Scanner Project Instructions
Barcode Scanner Project InstructionsBarcode Scanner Project Instructions
Barcode Scanner Project Instructions
ย 
Barcode Technology
Barcode TechnologyBarcode Technology
Barcode Technology
ย 
SMART NOTE TAKER REPORT
SMART NOTE TAKER REPORTSMART NOTE TAKER REPORT
SMART NOTE TAKER REPORT
ย 
Barcode technology
Barcode technologyBarcode technology
Barcode technology
ย 

Similar to Adding barcode to report (cr)

Tms320 c6000 programmer's guide
Tms320 c6000 programmer's guideTms320 c6000 programmer's guide
Tms320 c6000 programmer's guideLuisFernandoA
ย 
Understanding Bar Codes
Understanding Bar Codes  Understanding Bar Codes
Understanding Bar Codes NEPSLLC
ย 
Barcode Educational Guide - IDAutomation.com
Barcode Educational Guide - IDAutomation.com Barcode Educational Guide - IDAutomation.com
Barcode Educational Guide - IDAutomation.com IDAutomation.com, Inc
ย 
What is 2 d data matrix barcodes
What is 2 d data matrix barcodesWhat is 2 d data matrix barcodes
What is 2 d data matrix barcodesTarun Tyagi
ย 
Mb880 CAN BUS manual-How to Use MB880 CAN BUS Auto Scanner
Mb880 CAN BUS manual-How to Use MB880 CAN BUS Auto ScannerMb880 CAN BUS manual-How to Use MB880 CAN BUS Auto Scanner
Mb880 CAN BUS manual-How to Use MB880 CAN BUS Auto ScannerBill Zhao
ย 
Mb880 manual
Mb880 manualMb880 manual
Mb880 manualBill Zhao
ย 
A "STEP" Forward for Product Lifecycle Management
A "STEP" Forward for Product Lifecycle Management A "STEP" Forward for Product Lifecycle Management
A "STEP" Forward for Product Lifecycle Management CORETECHNOLOGIE
ย 
The Definitive Guide to Barcoding
The Definitive Guide to BarcodingThe Definitive Guide to Barcoding
The Definitive Guide to BarcodingADCBarcode
ย 
Intermediate Representation in Compiler Construction
Intermediate Representation in Compiler ConstructionIntermediate Representation in Compiler Construction
Intermediate Representation in Compiler Constructiontheizm1
ย 
A step forward to product lifecycle
A step forward to product lifecycleA step forward to product lifecycle
A step forward to product lifecycleCORETECHNOLOGIE
ย 
Bar code- Techlogogy : Seminar PPT
Bar code- Techlogogy : Seminar PPTBar code- Techlogogy : Seminar PPT
Bar code- Techlogogy : Seminar PPTBadshah34
ย 
Open design specification for DWG Files
Open design specification for DWG FilesOpen design specification for DWG Files
Open design specification for DWG FilesNaseer Mandu
ย 
Qr codes
Qr codesQr codes
Qr codesjaiksolanki
ย 
Limitations of Barcode and QR code Scanner
Limitations of Barcode and QR code ScannerLimitations of Barcode and QR code Scanner
Limitations of Barcode and QR code ScannerIRJET Journal
ย 
Standard embedded c
Standard embedded cStandard embedded c
Standard embedded cTam Thanh
ย 
Barcode presentation 2013
Barcode presentation 2013Barcode presentation 2013
Barcode presentation 2013JASON WOODHOUSE
ย 
Adv 64 Bit Env
Adv 64 Bit EnvAdv 64 Bit Env
Adv 64 Bit EnvRaghu veer
ย 
Advanced smart credential cum unique identification and recognition system
Advanced smart credential cum unique identification and recognition systemAdvanced smart credential cum unique identification and recognition system
Advanced smart credential cum unique identification and recognition systemIAEME Publication
ย 
Advanced smart credential cum unique identification and recognition system
Advanced smart credential cum unique identification and recognition systemAdvanced smart credential cum unique identification and recognition system
Advanced smart credential cum unique identification and recognition systemIAEME Publication
ย 

Similar to Adding barcode to report (cr) (20)

Tms320 c6000 programmer's guide
Tms320 c6000 programmer's guideTms320 c6000 programmer's guide
Tms320 c6000 programmer's guide
ย 
Understanding Bar Codes
Understanding Bar Codes  Understanding Bar Codes
Understanding Bar Codes
ย 
Barcode Educational Guide - IDAutomation.com
Barcode Educational Guide - IDAutomation.com Barcode Educational Guide - IDAutomation.com
Barcode Educational Guide - IDAutomation.com
ย 
What is 2 d data matrix barcodes
What is 2 d data matrix barcodesWhat is 2 d data matrix barcodes
What is 2 d data matrix barcodes
ย 
Mb880 CAN BUS manual-How to Use MB880 CAN BUS Auto Scanner
Mb880 CAN BUS manual-How to Use MB880 CAN BUS Auto ScannerMb880 CAN BUS manual-How to Use MB880 CAN BUS Auto Scanner
Mb880 CAN BUS manual-How to Use MB880 CAN BUS Auto Scanner
ย 
Mb880 manual
Mb880 manualMb880 manual
Mb880 manual
ย 
A "STEP" Forward for Product Lifecycle Management
A "STEP" Forward for Product Lifecycle Management A "STEP" Forward for Product Lifecycle Management
A "STEP" Forward for Product Lifecycle Management
ย 
The Definitive Guide to Barcoding
The Definitive Guide to BarcodingThe Definitive Guide to Barcoding
The Definitive Guide to Barcoding
ย 
Barcodes
BarcodesBarcodes
Barcodes
ย 
Intermediate Representation in Compiler Construction
Intermediate Representation in Compiler ConstructionIntermediate Representation in Compiler Construction
Intermediate Representation in Compiler Construction
ย 
A step forward to product lifecycle
A step forward to product lifecycleA step forward to product lifecycle
A step forward to product lifecycle
ย 
Bar code- Techlogogy : Seminar PPT
Bar code- Techlogogy : Seminar PPTBar code- Techlogogy : Seminar PPT
Bar code- Techlogogy : Seminar PPT
ย 
Open design specification for DWG Files
Open design specification for DWG FilesOpen design specification for DWG Files
Open design specification for DWG Files
ย 
Qr codes
Qr codesQr codes
Qr codes
ย 
Limitations of Barcode and QR code Scanner
Limitations of Barcode and QR code ScannerLimitations of Barcode and QR code Scanner
Limitations of Barcode and QR code Scanner
ย 
Standard embedded c
Standard embedded cStandard embedded c
Standard embedded c
ย 
Barcode presentation 2013
Barcode presentation 2013Barcode presentation 2013
Barcode presentation 2013
ย 
Adv 64 Bit Env
Adv 64 Bit EnvAdv 64 Bit Env
Adv 64 Bit Env
ย 
Advanced smart credential cum unique identification and recognition system
Advanced smart credential cum unique identification and recognition systemAdvanced smart credential cum unique identification and recognition system
Advanced smart credential cum unique identification and recognition system
ย 
Advanced smart credential cum unique identification and recognition system
Advanced smart credential cum unique identification and recognition systemAdvanced smart credential cum unique identification and recognition system
Advanced smart credential cum unique identification and recognition system
ย 

Recently uploaded

call girls in Dakshinpuri (DELHI) ๐Ÿ” >เผ’9953056974 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Dakshinpuri  (DELHI) ๐Ÿ” >เผ’9953056974 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Dakshinpuri  (DELHI) ๐Ÿ” >เผ’9953056974 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Dakshinpuri (DELHI) ๐Ÿ” >เผ’9953056974 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Delhi Call girls
ย 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...home
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service ๐Ÿงต
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service  ๐ŸงตCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service  ๐Ÿงต
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service ๐Ÿงตanilsa9823
ย 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja Nehwal
ย 
call girls in Kaushambi (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Kaushambi (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...call girls in Kaushambi (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Kaushambi (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...Delhi Call girls
ย 
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธ
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธCall Girls in Kalkaji Delhi 8264348440 call girls โค๏ธ
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธsoniya singh
ย 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...babafaisel
ย 
Verified Trusted Call Girls Adugodi๐Ÿ’˜ 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi๐Ÿ’˜ 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi๐Ÿ’˜ 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi๐Ÿ’˜ 9352852248 Good Looking standard Profil...kumaririma588
ย 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
ย 
Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdshivubhavv
ย 
RT Nagar Call Girls Service: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bang...RT Nagar Call Girls Service: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bang...amitlee9823
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun serviceCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun serviceanilsa9823
ย 
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...Call Girls in Nagpur High Profile
ย 
SD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxSD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxjanettecruzeiro1
ย 
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...Delhi Call girls
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
ย 
๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...sonalitrivedi431
ย 
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Servicearoranaina404
ย 

Recently uploaded (20)

call girls in Dakshinpuri (DELHI) ๐Ÿ” >เผ’9953056974 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Dakshinpuri  (DELHI) ๐Ÿ” >เผ’9953056974 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Dakshinpuri  (DELHI) ๐Ÿ” >เผ’9953056974 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Dakshinpuri (DELHI) ๐Ÿ” >เผ’9953056974 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
ย 
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
Best VIP Call Girls Noida Sector 44 Call Me: 8448380779
ย 
Call Girls Service Mukherjee Nagar @9999965857 Delhi ๐Ÿซฆ No Advance VVIP ๐ŸŽ SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi ๐Ÿซฆ No Advance  VVIP ๐ŸŽ SER...Call Girls Service Mukherjee Nagar @9999965857 Delhi ๐Ÿซฆ No Advance  VVIP ๐ŸŽ SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi ๐Ÿซฆ No Advance VVIP ๐ŸŽ SER...
ย 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service ๐Ÿงต
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service  ๐ŸงตCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service  ๐Ÿงต
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kalyanpur Lucknow best Female service ๐Ÿงต
ย 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
ย 
call girls in Kaushambi (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Kaushambi (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...call girls in Kaushambi (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Kaushambi (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
ย 
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธ
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธCall Girls in Kalkaji Delhi 8264348440 call girls โค๏ธ
Call Girls in Kalkaji Delhi 8264348440 call girls โค๏ธ
ย 
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
Kala jadu for love marriage | Real amil baba | Famous amil baba | kala jadu n...
ย 
Verified Trusted Call Girls Adugodi๐Ÿ’˜ 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi๐Ÿ’˜ 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi๐Ÿ’˜ 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi๐Ÿ’˜ 9352852248 Good Looking standard Profil...
ย 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
ย 
Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcd
ย 
RT Nagar Call Girls Service: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bang...RT Nagar Call Girls Service: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: ๐Ÿ“ 7737669865 ๐Ÿ“ High Profile Model Escorts | Bang...
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun serviceCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Aminabad Lucknow best Night Fun service
ย 
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
ย 
SD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxSD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptx
ย 
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
call girls in Vasundhra (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”...
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
ย 
๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
๐Ÿ’ซโœ…jodhpur 24ร—7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
ย 
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts ServiceVVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
VVIP CALL GIRLS Lucknow ๐Ÿ’“ Lucknow < Renuka Sharma > 7877925207 Escorts Service
ย 

Adding barcode to report (cr)

  • 1. 6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 1 Crystal Reports Adding barcodes to reports Overview This document provides an overview of barcodes, how barcodes work in the Crystal Reports Designer, and examples of the barcode font types. This document has been written for Crystal Reports 9 and earlier. Contents INTRODUCTION............................................................................................2 WHAT IS A BARCODE?.................................................................................2 Examples of standard barcode fonts .................................................................. 2 Example of non-standard barcode fonts............................................................. 3 USING BARCODES IN CRYSTAL REPORTS .....................................................3 Installing barcodes and the barcode UFL........................................................... 3 Steps to verify that the barcode UFL has been successfully installed................ 4 DISPLAYING BARCODES IN CRYSTAL REPORTS.............................................5 Code 39.............................................................................................................. 5 Code 128............................................................................................................ 6 Postnet ............................................................................................................... 7 PDF417.............................................................................................................. 8 WHAT FONT APPLIES TO WHICH BARCODE FUNCTION? ..................................9 FINDING MORE INFORMATION ....................................................................10 CONTACTING CRYSTAL DECISIONS FOR TECHNICAL SUPPORT....................10
  • 2. Crystal Reports Adding barcodes to reports 6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 2 Scr_barcodes.pdf Introduction This document outlines the following: โ€ข An explanation of barcode fonts โ€ข Using barcode creation functions and the User Function Library (UFL) in Crystal Reports What is a barcode? A barcode is a series of vertical black and white stripes that are read by a barcode scanner. The vertical black and white lines can contain product information, such as price, weight, and size. Once it has been scanned, the barcode is translated and often printed out onto a receipt. For example, in a retail store, the clerk can scan the barcode instead of manually entering a 20-digit number for each product as it passes through the checkout counter. This allowed a quick, easy and inexpensive method of data input for retail stores. There are different types of barcode fonts for the unique needs of various industries. For example, UPC symbols are used on, but not limited to, compact disks (CDs), grocery items, and magazines while Code 39 is used in video rental stores, on identification (ID) cards, and for labels. Code 128 is a code made up of symbols used often by the shipping industry. Examples of standard barcode fonts Code 39 UPC Code 128
  • 3. Crystal Reports Adding barcodes to reports 6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 3 Scr_barcodes.pdf Example of non-standard barcode fonts PDF417 Using barcodes in Crystal Reports Installing barcodes and the barcode UFL To create barcodes in Crystal Reports, you must first purchase a barcode font set from a vendor such as Azalea Software. Install the barcode fonts according to the instructions provided by Azalea Software. Also, you need to download the latest barcode User Function Library files (UFLs) from their web site at: http://www.azalea.com/ Currently, there are two types of barcode UFLs available for download. One is for use in creating the standard, conventional barcodes. This barcode UFL has two versions; one is for use with the Azalea Software version 4-font set and one is for use with the version 5-font set. The other type of barcode UFL is for use with the PDF417 barcode font set only. Once you have successfully downloaded the appropriate barcode UFL file, you will need to extract the two UFL driver files to the correct locations depending on the operating system, Crystal Reports version and the barcode UFL. Refer to Table A for Crystal Reports 9 and Table B for Crystal Reports 8.5 and earlier. Table A: File location of barcode UFL drivers for Crystal Reports 9 Operating system Barcode UFL type Driver File names File location Barcode.dll C:winntsystem32Windows NT Barcode UFL (for standard, conventional barcode font sets) U2lbcode.dll C:Program FilesCommon FilesCrystal Decisions2.0bin Barcode.dll C:windowssystem32Windows 9x, ME, XP Barcode UFL (for standard, conventional barcode font sets) U2lbcode.dll C:Program FilesCommon FilesCrystal Decisions2.0bin Pdf417mba.dll C:winntsystem32Windows NT PDF417 UFL (for PDF417 font only) U2lpdf417.dll C:Program FilesCommon FilesCrystal Decisions2.0bin
  • 4. Crystal Reports Adding barcodes to reports 6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 4 Scr_barcodes.pdf Pdf417mba.dll C:windowssystem32Windows 9x, ME, XP PDF417 UFL (for PDF417 font only) U2lpdf417.dll C:Program FilesCommon FilesCrystal Decisions2.0bin Table B: File location of barcode UFL drivers for Crystal Reports 8.5 and earlier Operating system Barcode UFL type Driver File names File location Barcode.dll C:winntsystem32Windows NT Barcode UFL (for standard, conventional barcode font sets) U2lbcode.dll C:winntcrystal Barcode.dll C:windowssystem 32 Windows 9x, ME, XP Barcode UFL (for standard, conventional barcode font sets) U2lbcode.dll C:windowscrystal Steps to verify that the barcode UFL has been successfully installed 1. Launch Crystal Reports. 2. From the Insert menu, select Field Object to open the Field Explorer dialog box. 3. Select Formula Fields and click New. 4. Type a formula name. For example, โ€œtestโ€. The Formula Editor dialog box opens. 5. Find the available barcode fonts under the section heading Additional Functions. Now that the barcodes fonts are available in Crystal Reports, you can create barcodes in a report. NOTE Creating barcodes in the Seagate Info Report Designer is the same as creating barcodes in the Crystal Reports Designer. The same steps apply. NOTE You can obtain the most up-to-date barcode font sets and UFLs from Azalea at http://www.azalea.com
  • 5. Crystal Reports Adding barcodes to reports 6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 5 Scr_barcodes.pdf Displaying barcodes in Crystal Reports Crystal Reports uses the barcode UFL to display barcodes in a report. In the following sections, you will find examples of formulas, which contain barcode functions and methods to be applied in Crystal Reports. NOTE The following examples require that you are familiar with creating formulas in Crystal Reports. For information on how to create formulas, refer to the Crystal Reports Online Help by pressing F1. Code 39 Background Code 39 barcode can contain an alphanumeric string. BarcodeC39() is a function available in Crystal Reports that displays standard Code 39 barcodes. Code 39 is an industry standard barcode as defined by the American National Standards Institute (ANSI). This barcode is used as the standard for many government institutions. The arguments that are accepted by this function can contain the numbers 0-9, the letters A-Z, both uppercase and lowercase, to a maximum formula output of 254 characters. The formula in this section returns a value that Code 39 can understand when scanned. Steps to display Code 39 barcodes To display Code 39 barcodes, create a formula in Crystal Reports and then apply the applicable barcode font format. 1. Create a formula in Crystal Reports similar to the following: //Formula to display Code 39 barcodes BarcodeC39(โ€œABC123abโ€) 2. Insert the formula field onto the report. Notice that the following syntax is displayed on the report: *ABC123+A+B* The delimiter characters (*) at the beginning and at the end of the barcode syntax indicate to the scanner where the barcodes starts and finishes.
  • 6. Crystal Reports Adding barcodes to reports 6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 6 Scr_barcodes.pdf 3. Select the formula field and format it by selecting one of the Code 39 barcode fonts from the drop-down list. Upon formatting the formula field with a Code 39 barcode font, a series of vertical black and white lines that represent the barcode value appears. When a barcode scanner reads the display, it will return the exampleโ€™s value of ABC123abc. For more information on this barcode, refer to: http://www.mecsw.com/specs/code_39.html Code 128 Background Code 128 barcode fonts are selected due to its density for numeric data and its wide selection of characters. Automatic Identification Manufacturers (AIM) maintains this barcode. To find out more about AIM, click on the following link: http://www.aimi.org/ The Code 128 barcode function is divided into three subsets of data. Subsets A and B can contain alphanumeric strings. Subset C can contain a numeric string. All three Code 128 barcode functions use the same syntax. The difference between these three codes is what each code supports, and how each code calculates the checksum at the end of the code. โ€ข BarcodeC128A() supports standard ASCII symbols, digits, upper case characters and other code 128 control codes. โ€ข BarcodeC128B() supports standard ASCII symbols, digits, upper and lower case letters. โ€ข BarcodeC128C() compresses two numeric digits so that the total length of the barcode is half the length of the other two barcode subsets. The formula in this section returns a value that Code 128 can understand when scanned.
  • 7. Crystal Reports Adding barcodes to reports 6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 7 Scr_barcodes.pdf Steps to display Code 128 barcodes To display Code 128 barcodes, create formulas in Crystal Reports and then apply the applicable barcode font. 1. Create three formulas in Crystal Reports similar to the following: Example formula A: //Formula to display subset A of Code 128 barcodes BarcodeC128A(โ€œA..234โ€) Example formula B: //Formula to display subset B of Code 128 barcodes BarcodeC128B(โ€œ123ABCaโ€) Example formula C: //Formula to display subset C of Code 128 barcodes BarcodeC128C(โ€œ4567โ€) 2. Insert the formulas onto the report. Notice that the following syntax is displayed on the report: โ€ข For example formula A, the syntax displayed is A 234. โ€ข For example formula B, the syntax displayed is 123ABCa. โ€ข For example formula C, the syntax displayed is 4567. 3. Select the formula field and format it by selecting one of the Code 128 barcode fonts from the drop-down list. Upon formatting the formula fields with a Code 128 barcode fonts, a series of vertical black and white lines that represent the barcode values appear. When a barcode scanner reads the display, it returns the Code 128 examplesโ€™ values. For more information on this barcode, refer to: http://www.mecsw.com/specs/code_128.html Postnet Background Postnet barcode contains a ZIP code. The American Postal Service uses this barcode to automatically sort mail. BarcodePostnet(ZIP code) is the function in Crystal Reports that displays an American Postal Service barcode. The ZIP codes can be five-digit, nine-digit or eleven-digit in length. This function also supports the hyphen (-) character. The formula in this section returns a value that Postnet can understand when scanned.
  • 8. Crystal Reports Adding barcodes to reports 6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 8 Scr_barcodes.pdf Steps to display Postnet barcodes To display Postnet barcodes, create a formula in Crystal Reports and then apply the applicable barcode font. 1. Create one of three formulas in Crystal Reports similar to the following: Example formula for five-digit ZIP codes: //Formula to display five-digit Postnet barcodes BarcodePostnet(โ€œ12345โ€) Example formula for nine-digit ZIP codes: //Formula to display nine-digit Postnet barcodes BarcodePostnet(โ€œ123456789โ€) Example formula for eleven-digit ZIP codes: //Formula to display eleven-digit Postnet barcodes BarcodePostnet(โ€œ12345678901โ€) NOTE Only select the BarcodePostNet font applicable to 5, 9, or 11 digit zip codes. Do not type all three formulas into the Formula Editor. Select only the one that applies to you. 2. Insert the formula onto the report. Notice that the following syntax is displayed on the report: โ€ข For the five-digit example formula, the syntax displayed is 12345. โ€ข For the nine-digit example formula, the syntax displayed is 123456789 โ€ข For the eleven-digit example formula, the syntax displayed is 12345678901. 3. Select the formula field and format it by selecting the ZipCodeBarcode font from the drop-down list. Upon formatting the formula fields with the PostNet barcode font, a series of vertical black and white lines that represent the barcode values appear. When a barcode scanner reads the display, it returns the PostNet examplesโ€™ values. For more information on this barcode, refer to: http://www.mecsw.com/specs/postnet.html PDF417 Background PDF417 is a two-dimensional, high-density, non-linear type of barcode. โ€œPDFโ€ stands for Portable Data File. PDF417 barcodes are capable of displaying more information then the standard barcode types. PDF417 barcodes are currently used for labeling hazardous materials, storing technical specifications and calibration data on electronic instruments, and encoding fingerprints and photographs on driversโ€™ licences.
  • 9. Crystal Reports Adding barcodes to reports 6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 9 Scr_barcodes.pdf Over 1800 alphanumeric characters or over 2700 numeric digits can be encoded in a single PDF417 barcode. Up to 900 characters can be encoded per square inch. Steps to display PDF417 barcodes To display PDF417 barcodes, create a formula in Crystal Reports and then apply the applicable barcode font. 1. Create a formula in Crystal Reports similar to the following: //Azaleaโ€™s example formula to display PDF417 barcodes numberVar rows := simplePDF417DoIt({Your Field Here}); numberVar i := 0; stringVar BarCode := ""; for i := 1 to rows step 1 do BarCode := BarCode + simplePDF417GetIt(i); 2. Insert the formula onto the report. 3. Select the formula field and format it by selecting one of the PDF417 barcode fonts from the drop-down list. Upon formatting the formula field with a PDF417 barcode font, a pattern of black and white lines that represent the barcode value appears. When a barcode scanner reads the display, it will return the exampleโ€™s value. For more information on this barcode, refer to: http://www.mecsw.com/specs/pdf417.html What font applies to which barcode function? The โ€˜Table of Azalea Font Setsโ€™ provides a list of font sets available for purchase from Azalea Software. The table includes the corresponding functions and font styles for each font set. Table C: Azalea Font Sets Azalea font set Functions Font style C128Tools โ€ข BarcodeC128C โ€ข BarcodeC128B โ€ข BarcodeC128C โ€ข BarcodeC128Auto โ€ข BarcodeFNC1C โ€ข BarcodeUCC128SSCC โ€ข BarcodeUCC128SSCCPosta l Code 128 C39Tools โ€ข BarcodeC39 โ€ข BarcodeC39ASCII Code 39
  • 10. Crystal Reports Adding barcodes to reports 6/23/2003 3:00 PM Copyright ๏ฃฉ๏ฃฉ๏ฃฉ๏ฃฉ 2003 Crystal Decisions, Inc. All Rights Reserved. Page 10 Scr_barcodes.pdf UPCTools โ€ข BarcodeUPCA โ€ข BarcodeUPCE โ€ข BarcodeBookland โ€ข BarcodeISSN โ€ข BarcodeEAN8 โ€ข BarcodeEAN13 UPC, OCR PostTools โ€ข BarcodePostnet ZipCodeBarcode I2of5Tools โ€ข Barcode2of5 โ€ข Barcode2of5SCCF Interleaved 2 of 5 AzaleaMBA โ€ข PDF417 AzaleaMBA CodaBar โ€ข BarcodeCodabarA โ€ข BarcodeCodabarB โ€ข BarcodeCodabarC โ€ข BarcodeCodabarD Codabar Code93 โ€ข BarcodeCode93 Code 93 2of5 โ€ข Barcode2of5 2 of 5 Finding More Information This is a list of references used to create this document. For more information on barcodes, click the following links: โ€ข Azalea Software โ€ข The Barcode Software Center โ€ข Rivers Edge โ€ข CIAX Contacting Crystal Decisions for Technical Support We recommend that you refer to the product documentation and that you visit our Technical Support web site for more resources. Self-serve Support: http://support.crystaldecisions.com/ Email Support: http://support.crystaldecisions.com/support/answers.asp Telephone Support: http://www.crystaldecisions.com/contact/support.asp