Differences
This shows you the differences between two versions of the page.
using_barcode_fonts_on_a_crystal_report [2019/01/17 09:04] |
using_barcode_fonts_on_a_crystal_report [2019/01/17 09:04] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Overview ====== | ||
+ | |||
+ | |||
+ | |||
+ | Barcode fonts may be used on Crystal Reports to allow users to scan barcode information into external programs or devices. | ||
+ | |||
+ | |||
+ | |||
+ | ===== Requirements ===== | ||
+ | * Must have the relevant barcode fonts installed on each system in the C: | ||
+ | * Must have the barcode dll installed on each system in the C: | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | |||
+ | ===== Cautions ===== | ||
+ | |||
+ | |||
+ | |||
+ | None | ||
+ | |||
+ | |||
+ | |||
+ | ====== Bar Code Types ====== | ||
+ | |||
+ | |||
+ | |||
+ | ===== Code 39 ===== | ||
+ | * Best to use Code39AzaleaWide2 as the font within Crystal Reports. | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | * All barcodes must have an asterisk at the front and end of every barcode. These serve as delimiters, if they are not present then it will not be read as a valid barcode. | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | |||
+ | " | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===== DAR 128 ===== | ||
+ | * Best to use DAR28 Code 128 as the font within Crystal Reports. | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | * All barcodes must begin with a tilde ~ at the front of every barcode. The tilde serves as a delimiter, if it is not present then it will not be read as a valid barcode. | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | |||
+ | " | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===== Within Control ===== | ||
+ | |||
+ | |||
+ | |||
+ | If you intend to use barcodes within Control then you must use a custom function named DLFontCR( ) to allow Control to read and know how to act on those barcodes. | ||
+ | * Control only supports DAR 128 barcodes. | ||
+ | * Every barcode must follow this format. ~ ClassTypeID.DatabaseField | ||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | |||
+ | DLFontcr (" | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | * The decoded format of a barcode in Cyrious is **~cccccc.iiiiii** where: | ||
+ | * ~ (tilde) indicates that what follows is a bar code. | ||
+ | * cccccc is the ClassTypeID of the particular data item. | ||
+ | * iiiii is the database ID of the particular data item. | ||
+ | * The scanner should be set up to send a CR/LF after each scan. This may be the default, but many scanners are configurable. | ||
+ | |||
+ | |||
+ | |||
+ | ====== Tools ====== | ||
+ | * [[https:// | ||
+ | |||
+ | |||
+ | |||
+ | ====== Source ====== | ||
+ | |||
+ | |||
+ | |||
+ | Contributor: | ||
+ | |||
+ | |||
+ | |||
+ | Date: 7/28/2014 | ||
+ | |||
+ | |||
+ | |||