Skip to main content
Barcodes provide a simple and inexpensive method of encoding text information that is easily read by inexpensive electronic readers. Barcoding also allows data to be collected rapidly and with extreme accuracy. A barcode consists of a series of parallel, adjacent bars and spaces. Predefined bar and space patterns or “symbologies” are used to encode small strings of character data into a printed symbol. Barcodes can be thought of as a printed type of the Morse code with narrow bars (and spaces) representing dots, and wide bars representing dashes. A barcode reader decodes a barcode by scanning a light source across the barcode and measuring the intensity of light reflected back by the white spaces. The pattern of reflected light is detected with a photodiode, which produces an electronic signal that exactly matches the printed barcode pattern. This signal is then decoded back to the original data by inexpensive electronic circuits. Due to the design of most barcode symbologies, it does not make any difference if you scan a barcode from right to left or from left to right. The basic structure of a barcode consists of a leading and trailing quiet zone, a start pattern, one or more data characters, optionally one or two check characters, and a stop pattern. There are a variety of different types of barcode encoding schemes or “symbologies”, each of which was originally developed to fulfill a specific need in a specific industry. Several of these symbologies have matured into de-facto standards that are used universally today throughout most industries. The symbologies supported by B-Coder Pro, the TAL Barcode ActiveX control, and the TAL Barcode DLLs are those most commonly used across all industries. The different symbologies have different capabilities for encoding data. For example, the UPC symbology used to identify retail products always contains 12 numeric digits, whereas the general purpose Code 39 or Code 128 barcode symbologies can encode variable length alphanumeric data up to about 30 characters in length. These types of barcodes are called “linear symbologies” because they are made up of a series of lines of different widths. Most commercially available barcode scanners are able to read all of the different linear barcode symbologies, so you do not need different readers for different types of barcodes. New “2-Dimensional” barcode symbologies like PDF417, Aztec Code and Data Matrix are also now available that can encode several thousand bytes of data in a single barcode symbol including text or binary data. The newer 2D barcode symbologies typically require special barcode readers that are designed specifically for reading them. The primary purpose of a barcode is to identify something by labeling the item with a barcode containing a unique number or character string. Barcodes are typically used with a database application where the data encoded in the barcodes is used as an index to a record in the database that contains more detailed information about the item that is being scanned. For example, when a checkout clerk scans a barcode on a product in a grocery store, the barcode data is fed to a computer that looks up the information in a central database and returns more detailed information about the item that was scanned including possibly a description of the item and a price. By using barcodes, the grocery store does not need to put a price tag on each item in the store and they can also change the price for a particular item by modifying a single entry in the central database. They can also track how much of a product is currently in stock so that they know when to re-order more of each item as the number of items in stock falls. Barcodes also provide a quick and error-free means for inputting the data into an application running on a computer. By using barcodes, the potential for errors from manual data input is eliminated. Another typical application for barcodes is therefore for inputting data without having to type. For example, you could encode name or address data in a barcode on an ID badge and then scan the ID badges to input a person’s name into a computer program instead of typing the information.

How much data can you actually encode?

The different barcode symbologies support different types and amounts of data, so you normally choose a particular symbology based on the type and amount of data that you want to encode in your barcodes. You are generally free to use any type of barcode that you like and encode whatever data that you like for applications in a closed system. If you want to place barcodes on retail items that will be commercially distributed (UPC or EAN barcodes), you will need to apply for a company prefix from GS1 US in the USA, Tel: +1 937-435-3870. If you plan to distribute your products outside of the United States, apply to the GS1 member organization in your country, which you can find on the GS1 website.
Last modified on November 3, 2026