Barcode Technology

Barcode History

Barcode Label Paper

Barcode Printer

Barcode Application

Inventory Management

AI Barcode QRCode

Barcode Scanner

Barcode Software

Barcode Software B

Barcode Software C

Barcode Software D

Barcode Software E

New Technology A

New Technology B

Robot Technology

Barcode Types

Barcode Types B

Barcode Types C

Barcode Types D

Barcode Types E

Barcode Types F

Electronic Technology

Psychology at Work

Barcode Technology and Barcode Software Related   <<< Back to Directory <<<

Code 39 Barcodes: A Technical Deep Dive Into the Iconic (Code 3 of 9) (P40)

Chapter 40: Disadvantages - Poor Print Quality Sensitivity

Short Summary

This chapter addresses one of the most significant operational vulnerabilities of the Code 39 symbology: its acute sensitivity to print quality variations. Unlike many other barcode types that employ error correction or multiple encoding layers, Code 39 relies on a simple binary distinction between wide and narrow elements. This binary nature means that any distortion in the printing process, specifically ink spread or gain, can easily cause a wide bar to be read as a narrow bar or vice versa. This sensitivity is not merely a theoretical concern; it has tangible and often costly consequences across numerous industries. From retail point-of-sale systems to heavy manufacturing, from healthcare patient identification to logistics tracking, the print quality of a Code 39 symbol directly determines its readability. This chapter explores the technical root of this sensitivity, explains why print gain is such a persistent problem across different printing methods, and then examines a broad cross-section of real-world industries. For each sector, we will detail how this sensitivity manifests, the specific challenges it creates in daily operations, and the mitigation strategies that professionals have developed to cope with this fundamental design flaw. Ultimately, understanding this disadvantage is essential for any practitioner who relies on Code 39, as it informs everything from label design and printer selection to scanner configuration and quality assurance protocols.

1. The Binary Heart of the Problem

To understand why Code 39 is so sensitive to print quality, we must first revisit its fundamental encoding mechanism. Code 39 encodes each character using nine elements: five bars and four spaces. Of these nine elements, exactly three are wide and the remaining six are narrow. The distinction between a wide element and a narrow element is entirely binary. There is no intermediate state, no grayscale, and no redundancy in width measurement. A bar is either wide or it is not. This simplicity is what made Code 39 so easy to print with early dot-matrix printers and impact technologies, but it is also the source of its fragility.

The ratio between the wide and narrow element widths is typically specified as 2.5:1 to 3.0:1, with 2.5:1 being the most common. This means that a wide bar is two and a half times the width of a narrow bar. In a perfectly printed symbol, this ratio is easy for a scanner to detect. However, the real world is not perfect. Ink does not stay precisely where it is applied. Paper absorbs moisture, causing fibers to swell. Thermal transfer ribbons can smear. Laser printers have varying dot gain based on toner density and fuser temperature. Even direct thermal printing, which is widely used for shipping labels, suffers from print head wear, voltage fluctuations, and substrate variability.

When any of these factors cause the printed widths to deviate from the nominal ratio, the scanner's task becomes dramatically harder. If a narrow bar gains enough width, it can approach the threshold that the scanner uses to decide between wide and narrow. At that point, the scanner may misread a narrow bar as wide, or a wide bar that loses width (due to poor ink transfer) may be read as narrow. Because Code 39 has no check character by default, a single such error will result in an incorrect character being decoded, and because the symbology uses a self-checking pattern, the scanner will often not even know that an error has occurred. It will simply output the wrong data.

This is fundamentally different from two-dimensional barcodes like Data Matrix or QR Code, which use Reed-Solomon error correction. Those codes can sustain significant damage or print distortion and still recover the original data. Code 39 has no such safety net. Its only built-in protection is the asterisk start and stop characters, which tell the scanner where the symbol begins and ends, but they do nothing to correct width errors within the data characters.

2. The Mechanics of Print Gain

Print gain, also known as dot gain or ink spread, is the phenomenon where the printed mark is larger than the intended digital image. It occurs in virtually all printing processes, though the magnitude and character of the gain vary widely.

In flexographic printing, which is common for corrugated cardboard and packaging, the rubber printing plate compresses against the substrate, forcing ink outward from the center of each bar. This causes the bars to become wider and the spaces to become narrower. The gain is often anisotropic, meaning it is different in the direction of printing versus the cross direction, which can further complicate the scanner's task.

In thermal transfer printing, used for warehouse labels and asset tags, the print head applies heat to a ribbon that transfers wax or resin onto the label. The heat spreads laterally through the ribbon and the label substrate, so a single heated pixel can produce a printed dot that is significantly larger than the pixel. This is known as thermal diffusion gain. Over the life of a print head, individual heating elements wear unevenly, leading to variable dot sizes across the width of the label. A Code 39 symbol printed near a worn element may have bars that are consistently wider or narrower than those printed by a fresh element, creating a situation where the same symbol can be readable or unreadable depending on which part of the print head was used.

In laser printing, the gain comes from toner particle size, electrostatic charge uniformity, and fuser roller temperature. Toner tends to scatter slightly as it is fused onto the paper, creating a fuzzy edge. This fuzziness effectively increases the average width of each bar. The gain is usually a percentage of the nominal width, so wider bars gain more absolute width than narrow bars. This can actually reduce the effective wide-to-narrow ratio, because both wide and narrow bars increase in width, but the narrow bars increase proportionally more, moving them closer to the wide threshold.

Inkjet printing, which is common for small-batch label production, introduces gain through droplet spread on the porous or coated surface. Capillary action pulls the liquid ink outward from the drop center, creating a halo effect. The final bar width can be 20 to 30 percent larger than the digital file. For a Code 39 symbol with a narrow bar width of 10 mils (0.010 inch) and a wide bar of 25 mils, a 25% gain would make the narrow bar 12.5 mils and the wide bar 31.25 mils. The ratio drops from 2.5 to exactly 2.5, which is acceptable, but the absolute shift means that the scanner's threshold must be very precisely calibrated. If the gain is non-uniform across the symbol, perhaps because the inkjet head has clogged nozzles or because the paper has uneven coating, then some narrow bars may gain more than others. The scanner will then face a symbol where the ratio varies from one end to the other, making decoding highly unreliable.

3. The Binary Decision and Scanning Thresholds

A typical barcode scanner does not measure the exact width of every bar and space with micrometer precision. Instead, it uses a photodetector to measure reflected light as the beam sweeps across the symbol. The analog signal is converted to a digital waveform, where the transitions from black to white and white to black define the edges of bars and spaces. The scanner then measures the time between these transitions. Because the scan speed is assumed to be constant (or is corrected using the start and stop patterns), the time intervals are proportional to the physical widths.

The scanner must decide, for each element, whether that interval corresponds to a wide or a narrow element. It typically does this by calculating a threshold value, often the average of the longest and shortest intervals measured in the symbol, or by using a more sophisticated adaptive algorithm. If an interval is above the threshold, it is classified as wide; if below, it is narrow.

This thresholding is where the print gain sensitivity manifests. Consider a symbol with a nominal wide-to-narrow ratio of 2.5. The scanner measures all intervals and finds a distribution with two clusters: one around the narrow width and one around the wide width. If the print gain is uniform, the clusters remain distinct, and the threshold can be placed safely between them. But if the gain is variable, the clusters broaden and may overlap. A narrow bar that has gained excessive width may fall into the wide cluster, or a wide bar that has lost width (due to poor ink transfer, for instance) may fall into the narrow cluster.

Worse, the spaces are also subject to the same gain, but in the opposite direction. Ink spread reduces the width of spaces because the adjacent bars encroach into the white area. So while bars gain width, spaces lose width. This means the narrow spaces can become very narrow, possibly even disappearing if the gain is severe. A missing narrow space between two bars would merge two bars into one, completely changing the pattern and likely producing a decoding error or a misread.

The scanner's firmware often includes a 'quiet zone' check and a redundancy check, but these are not error correction. They can only reject a symbol if it is obviously malformed, such as having incorrect total element count or invalid start/stop patterns. They cannot recover a symbol where a wide/narrow decision is borderline. In such cases, the scanner will either output a wrong character, output a substitution character, or simply fail to decode and issue a 'no read' signal.

4. Industry Consequences: An Overview

The sensitivity to print quality is not an abstract nuisance. It has direct economic and operational impacts. A barcode that cannot be read slows down a checkout line, increases labor costs for manual entry, introduces data entry errors, disrupts inventory accuracy, and can even compromise patient safety in healthcare settings. The following sections explore how this sensitivity plays out across a diverse set of industries. We will look at retail, healthcare, manufacturing, logistics, automotive, aerospace, library services, the postal service, the pharmaceutical industry, the food and beverage sector, and the electronics industry. In each case, we will examine the specific printing methods used, the environmental conditions that exacerbate gain, the typical failure modes, and the practical workarounds that professionals employ.

5. Retail and Point-of-Sale

In the retail environment, Code 39 was historically used for non-grocery items, though it has largely been replaced by UPC and EAN for point-of-sale. However, many department stores, bookshops, and specialty retailers still use Code 39 for price lookup and inventory management. The printing method is usually thermal transfer or direct thermal for shelf-edge labels and price tags.

The sensitivity to print gain in retail manifests most acutely in high-turnover items where labels are printed in bulk on continuous rolls. If the printer's heat setting is too high, the ribbon melts excessively, causing bars to spread. If the label stock is slightly glossy, the ink may not adhere well, leading to variable gain. Retail staff are often not trained to recognize these subtle quality issues. They simply scan items at the register, and when a label fails to read, they manually key in the SKU number. This manual entry is slow and error-prone.

A more insidious problem occurs when a misread happens without a 'no read' indication. For example, a symbol encoding '12345' might be misread as '12349' due to a single wide/narrow error. The cashier does not notice because the system accepts the barcode and retrieves the wrong product information. The customer may be overcharged or undercharged, and inventory counts become inaccurate. Over a day, dozens of such misreads can accumulate, leading to significant shrinkage or overstock issues.

To mitigate this, retail operations often implement a 'double-scan' policy, where high-value items are scanned twice and the results are compared. They also use verification devices, such as hand-held barcode verifiers that grade the print quality according to ANSI or ISO standards. These verifiers measure the modulation, print contrast, and edge definition, and they assign a grade from A to F. Any symbol graded below C is typically discarded and reprinted. However, this verification process adds time and cost, and it is often skipped in busy stores.

Another workaround is to increase the magnification of the symbol. A larger Code 39 symbol has wider nominal bars, so the same absolute amount of print gain represents a smaller percentage of the bar width. For example, a 5-mil narrow bar with 1 mil of gain experiences a 20% increase, while a 20-mil narrow bar with the same 1 mil gain experiences only a 5% increase. Thus, many retailers specify a minimum narrow bar width of 15 mils for shelf labels and 20 mils for shipping cartons. This reduces the sensitivity but consumes more label space, which is a trade-off.

6. Healthcare and Patient Identification

Healthcare is one of the most critical applications of Code 39. Wristbands, specimen labels, medication administration records, and blood bag labels often use Code 39 because of its simplicity and its widespread support in legacy hospital information systems. However, the print quality sensitivity in this industry is not just a matter of operational efficiency; it is a patient safety issue.

Hospitals typically print wristbands on demand using thermal printers, often at the admissions desk or at the nursing station. These printers are used by a variety of staff, many of whom are not technical experts. The wristband material is often a soft, flexible synthetic paper that can be prone to wrinkling and smudging. Print gain occurs when the thermal print head is worn or when the wristband stock is from a different supplier than the one the printer was calibrated for.

A misread wristband can have catastrophic consequences. If a patient's ID number is incorrectly decoded, the medication administration system may deliver the wrong drug to the wrong patient. Even a 'no read' situation is dangerous because it forces the nurse to manually enter the ID, which is time-consuming and increases the risk of transcription errors. In emergency situations, where speed is critical, a non-readable barcode can delay treatment.

To combat this, hospitals have adopted several stringent measures. First, they use dual-verification systems: the wristband may have both a Code 39 linear barcode and a 2D Data Matrix code that contains the same information. If the Code 39 fails, the scanner can fall back to the 2D code, which has error correction. Second, many hospitals implement a 'readable at first pass' policy, requiring that every wristband must be verified by a stationary verifier before it is placed on the patient. This verifier grades the symbol and rejects any print that does not meet an ISO grade of B or higher. Third, they often use a narrow bar width of at least 20 mils, which is large enough to tolerate moderate gain. Fourth, they regularly clean and calibrate their thermal printers, replacing print heads at scheduled intervals.

Another healthcare-specific challenge is the presence of fluids, such as blood, saline, or hand sanitizer, which can smear the ink or cause the substrate to swell. Swelling of the paper can increase the bar widths unevenly, because the moisture is absorbed more in the dark ink areas than in the white spaces. This differential swelling changes the wide-to-narrow ratio in a non-uniform way. To mitigate this, many hospitals use laminated or synthetic labels that are fluid-resistant. However, the lamination adds cost and can alter the print contrast, which in turn affects the scanner's ability to distinguish bars from spaces.

7. Manufacturing and Work-in-Process Tracking

In manufacturing, Code 39 is heavily used for work-in-process tracking, tool crib management, and finished goods labeling. The environment is often harsh, with dust, oil, and temperature extremes. Labels are printed on metal tags, polyester labels, or high-tack paper, using either thermal transfer or industrial inkjet.

The print gain sensitivity in manufacturing is exacerbated by the variety of surfaces. A label printed on a smooth metal tag has very different ink absorption characteristics than one printed on a textured plastic bin. Thermal transfer ribbons are chosen for their durability, but they often have a higher melting point, which requires higher print head energy. That higher energy can cause more lateral heat diffusion, increasing gain. Operators often adjust the print darkness setting based on visual inspection, but visual inspection is not reliable for detecting subtle width changes.

A common failure mode in manufacturing is the 'ghost bar' or 'bridging.' When gain is excessive, adjacent narrow spaces become so narrow that they are no longer detectable. Two bars that should be separate merge into one wide bar. This corrupts the pattern completely. For example, the Code 39 character for 'A' (pattern wide-narrow-narrow-wide-narrow-narrow-narrow-wide-narrow) could become indistinguishable from another character if the narrow spaces are swallowed.

Manufacturing lines often use fixed-mount scanners that are mounted above conveyor belts. These scanners have a fixed focal distance and a fixed illumination angle. If a label's print gain causes the bars to be wider than expected, the reflectivity profile changes, and the scanner's threshold algorithm may become confused. The result is a 'reject' or 'no read,' which triggers an alarm and stops the conveyor. This downtime is costly, as it interrupts the entire production flow.

To mitigate these issues, manufacturers use several strategies. They often perform a 'print quality test' at the start of each shift, printing a test symbol on the same material and verifying it with a handheld verifier. They also use 'adaptive gain control' in their printers, where the printer measures the printed density and automatically adjusts the heat or voltage to maintain a consistent bar width. Some advanced printers even use a closed-loop feedback system with an optical sensor that reads the printed bars and adjusts the print head on the fly.

Another common practice is to use a higher wide-to-narrow ratio, such as 3.0:1 instead of 2.5:1. This provides more separation between the wide and narrow clusters, making the symbol more tolerant to gain. However, a higher ratio also means that the wide bars are physically wider, which reduces the number of characters that can fit in a given label area. In manufacturing, where labels can be large, this trade-off is often acceptable.

8. Logistics and Warehouse Management

In the logistics industry, Code 39 has been a mainstay for decades, particularly for shipping labels, pallet tags, and storage bin labels. The environment includes dusty warehouses, humid storage areas, and outdoor loading docks. Labels are often printed on large thermal transfer printers at high speeds, sometimes exceeding 10 inches per second.

At high print speeds, the thermal transfer process becomes less stable. The ribbon and label substrate have less time to reach thermal equilibrium, leading to uneven melting and adhesion. This results in variable print gain across the length of the label. A symbol printed at the beginning of a roll may have different bar widths than one printed at the end, because the print head temperature changes as it runs.

The logistics industry also uses Code 39 on corrugated cartons via flexographic pre-printing or large-format inkjet. Flexographic gain is notorious because the rubber plates compress and the ink penetrates into the porous cardboard fibers. The gain can be as high as 40% for fine details. A Code 39 symbol on a corrugated box might have a narrow bar that was intended to be 30 mils, but after printing, it measures 42 mils. If the wide bar was 75 mils, the ratio drops from 2.5 to 1.79, which is below the minimum specified by most scanner standards. The symbol becomes unreadable.

Warehouse operators have developed a set of practical workarounds. One is to use 'human-readable interpretation' (HRI) printed below the barcode. If the scanner fails, the worker can visually read the HRI and type it into the handheld terminal. This is slow but reliable. Another workaround is to use a 'redundant labeling' strategy, placing two identical Code 39 labels on opposite sides of a carton. If one label is damaged or suffers from excessive gain, the scanner can attempt to read the other.

Some warehouses also use 'composite barcodes' that combine a linear Code 39 with a 2D component, similar to the healthcare approach. However, this adds cost and complexity. More commonly, they simply increase the nominal bar width to 25 mils or even 40 mils for corrugated applications. At that size, the absolute gain of a few mils is negligible.

A less obvious challenge is the effect of label curvature. When a Code 39 label is applied to a cylindrical object, such as a pipe or a drum, the bar widths appear distorted from the scanner's perspective. The edges of the symbol curve away from the scanner, reducing the reflected light. This effectively darkens the outer bars, making them appear wider (gain-like effect) and the inner bars appear narrower. Combined with actual print gain, this can render the symbol unreadable. To overcome this, many logistics applications use a 'ladder orientation' where the bars are parallel to the axis of the cylinder, so that the curvature does not affect the width measurement as severely.

9. Automotive Industry

The automotive industry uses Code 39 for part identification, assembly tracking, and warranty claims. Parts are often marked directly on metal or plastic using dot-peen or laser engraving, as well as on adhesive labels for less critical components. The print gain sensitivity is particularly problematic for direct part marking.

Laser engraving is generally very precise, but it can suffer from a different form of 'gain' called 'heat-affected zone' gain. The laser melts a small area of the metal, creating a cavity. The molten metal re-solidifies around the edges, forming a raised rim. The optical scanner sees this rim as part of the dark bar, effectively making the bar wider than the laser's nominal spot size. This gain is usually consistent, but if the laser power fluctuates or the focal distance varies due to part warping, the gain can become non-uniform.

Dot-peen marking uses a stylus to indent dots into the metal. The bars are formed by a series of overlapping dots. The width of the bar depends on the dot diameter and the overlap. Variations in air pressure, stylus wear, or part hardness can change the dot diameter, thereby changing the effective bar width. A bar that is intended to be narrow may become wide if the dot overlap is too high.

In automotive assembly, scanners are often used in robotic arms that read part numbers from engine blocks, transmissions, and chassis frames. These robots operate in harsh environments with oil mist, metal shavings, and vibration. A misread can cause an assembly robot to pick the wrong part, leading to a defective vehicle that must be reworked. Rework costs in the automotive industry are enormous, often running into thousands of dollars per vehicle.

To address this, automotive engineers use a combination of techniques. First, they carefully calibrate the marking equipment and perform frequent 'first article' inspections using a barcode verifier. Second, they design the part number with a built-in check digit, even though Code 39 does not require one. By adding a modulo 43 check character, they can detect most misreads, although they still cannot correct them. Third, they often use larger 'data matrix' codes for critical safety parts, but they retain Code 39 for less critical tracking because it is easier to read with older equipment. Fourth, they apply a clear coating or varnish over the marking to protect it from oil and abrasion. This coating must be carefully chosen so that it does not alter the optical contrast or cause unwanted reflections that mimic gain.

10. Aerospace and Defense

Aerospace and defense applications demand the highest levels of traceability. Parts are tracked from raw material through assembly, testing, and maintenance. Code 39 is frequently used on shipping labels, maintenance tags, and inventory bins, though many aerospace companies are transitioning to 2D codes for critical parts. However, legacy systems and supplier requirements still mandate Code 39 in many cases.

The print quality sensitivity in aerospace is magnified by the extreme environmental conditions. Labels may be exposed to jet fuel, hydraulic fluid, de-icing chemicals, and temperature cycles from -65 degrees Fahrenheit to 300 degrees Fahrenheit. These conditions can degrade the label substrate and cause the ink to spread or shrink over time. A label that was perfectly readable when printed may become unreadable after a few months of service, even without physical damage.

Aerospace manufacturers and maintenance facilities use very strict quality standards. They typically require that every Code 39 label be verified to an ISO grade of A or B, and they often use labels made of polyester or polyimide with a permanent acrylic adhesive. The thermal transfer ribbons are specifically formulated for chemical resistance. Despite these measures, print gain still occurs due to variations in the ribbon coating thickness, label surface roughness, and print head pressure.

One particular challenge is the 'aging gain.' Over time, the label material can absorb moisture from the air, causing it to swell. The ink layer remains relatively rigid, so the swelling of the substrate forces the bars to expand in width. This is a slow process, but after a year in a humid environment, a 15-mil narrow bar can become 17 mils, shifting the ratio. Scanners that were calibrated at the time of printing may fail to read the aged label.

To mitigate this, aerospace companies often use a 're-verification' schedule. Every six months, they select a sample of labels from storage and verify them. If they find a downward trend in the grade, they adjust the printer settings to print with a slightly lower dark level, compensating for the anticipated future gain. They also use wide-to-narrow ratios of 3.0:1 to provide extra margin.

Another important measure is the use of 'redundant encoding.' For critical traceability, the part number is printed both as a Code 39 barcode and as a human-readable alphanumeric string. The human-readable string is large and clear, so that even if the barcode fails, a human inspector can read the number and manually enter it into the system. In some cases, they also print a 2D code alongside the Code 39, as mentioned earlier.

11. Library and Archival Systems

Libraries have been heavy users of Code 39 for decades, using it to encode book accession numbers, borrower IDs, and call numbers. The labels are typically printed on thermal transfer or laser printers, on adhesive labels that are then applied to the spine or inside cover of books.

The library environment is relatively benign compared to industrial settings, but it has its own challenges. Books are handled frequently, and the labels are subjected to rubbing, bending, and occasional spills. The print gain sensitivity in libraries manifests mainly due to the variety of label stocks and the aging of print heads. Many libraries have multiple printers from different manufacturers, and each has a different gain characteristic.

A common problem is 'gain mismatch' between the printer used to print the book label and the scanner used at the circulation desk. If the printer has a high gain (producing wider bars) and the scanner is calibrated for nominal widths, the symbol may be at the edge of the wide/narrow threshold. The scanner might read some books without issue but fail on others, especially those printed with a different printer.

Librarians have developed a simple and effective workaround: they use a standardized label layout with a large quiet zone and a relatively large bar width (typically 20 mils). They also use a 'test label' that is printed on every new roll of labels. This test label is scanned at the circulation desk before the roll is put into service. If the test label fails, they adjust the printer's darkness setting. They also keep a manual entry system as a backup.

Another interesting issue in libraries is the presence of 'security strips' and 'RFID tags' that are often placed near the barcode. These devices can cause magnetic interference or reflections that confuse the scanner. Print gain, when combined with such interference, can make an already marginal symbol completely unreadable. To avoid this, libraries place the Code 39 label on the front cover and the security strip on the back cover, maintaining physical separation.

12. Postal and Parcel Services

The postal services in many countries have used Code 39 for sorting and tracking packages, although they are increasingly adopting more advanced symbologies like IMB (Intelligent Mail Barcode) and 2D codes. However, for international shipments and for many private carriers, Code 39 remains a common choice for destination codes and routing numbers.

The postal environment is one of the most demanding. Packages are processed at high speeds on sorting machines that have scanners fixed in multiple orientations. The labels are printed on thermal transfer or on large inkjet systems. The print gain sensitivity is a major concern because the labels are often printed on low-cost, highly porous paper to save money. This paper absorbs ink, causing significant gain, sometimes exceeding 30%.

In addition, the labels are subjected to crushing, scuffing, and abrasion during transit. A scuff can remove ink from the edges of bars, making them narrower, which is the opposite of gain but equally damaging. The combination of gain and loss across the same symbol can produce a 'mixed distortion' that is very difficult for scanners to handle.

Postal services have addressed this by using a 'multiple read' strategy. A package passes through several scanning stations along its route. If one station fails to read the Code 39, the next station may succeed. The system only raises an exception if all stations fail. This redundancy reduces the operational impact of print gain, but it does not eliminate it.

They also use very large symbol sizes, often with a narrow bar width of 25 to 30 mils. This consumes a lot of label space, but it makes the symbol robust to both gain and loss. Furthermore, they use a check digit (usually modulo 43) to detect misreads, and they employ machine vision systems that can attempt to decode a symbol even if the wide/narrow ratios are inconsistent, by using edge-detection algorithms rather than simple thresholding.

13. Pharmaceutical Industry

The pharmaceutical industry uses Code 39 for vial labeling, blister pack tracking, and warehouse management. The regulatory environment is extremely strict, with agencies like the FDA requiring serialization and traceability for prescription drugs. The print quality sensitivity in pharma is a serious compliance risk.

Pharmaceutical labels are often printed on high-gloss, coated paper or on clear plastic films. The glossy surface can cause ink to bead up, leading to localized gain. Moreover, the labels are often small, because vials and ampoules have limited surface area. A small label means a small symbol with narrow bars, typically 10 mils or even 7 mils. At these small sizes, even a 1 mil gain represents a 10% to 14% change, which is significant.

A misread in pharma could lead to a drug being dispensed with the wrong dosage, the wrong active ingredient, or the wrong expiry date. This is not just a financial risk but a life-threatening one. As a result, pharma companies use multiple layers of protection. They print a human-readable lot number and expiry date in large font, and they often use color coding alongside the barcode. They also use verification equipment that measures the print gain and rejects any label that does not meet tight tolerance specifications.

Interestingly, pharma companies often use 'on-demand' printing in the packaging line, where the barcode is printed just before the label is applied to the vial. This allows them to control the print quality in real time. They use thermal transfer printers with high-resolution print heads (300 dpi or more) and they run a verification camera that checks every single label. If the verification camera detects excessive gain, it triggers a rejection mechanism that ejects the vial from the line.

Another common practice is to use a different barcode symbology for the primary product label, such as GS1-128 or Data Matrix, which are more robust. But for secondary packaging, such as shipping cases, they still use Code 39 because of its compatibility with older warehouse scanners. In these cases, they use larger symbols with a lower density, reducing the impact of gain.

14. Food and Beverage Industry

In the food and beverage industry, Code 39 is used for inventory management, rotation tracking, and shipping labels. The environment is often wet, cold, or hot, and labels are frequently exposed to condensation, oils, and cleaning chemicals.

Print gain in this industry is often caused by thermal transfer printers operating in cold storage rooms. The low temperature affects the ribbon viscosity, requiring higher print energy to achieve adequate transfer. This higher energy increases the lateral heat spread, resulting in gain. Additionally, the label stock may have a wax-based coating that is designed for low temperatures, but if the stock is mismatched with the ribbon, the gain can be highly variable.

A specific issue in the food industry is the use of 'flexible packaging' such as plastic pouches and shrink wrap. Printing on these substrates using inkjet or thermal transfer is challenging because the substrate can stretch or shrink during printing. A stretched substrate will cause the bars to be wider in the direction of stretch (gain) and narrower in the perpendicular direction. This anisotropic gain is particularly problematic because the scanner's threshold assumes uniform gain.

To handle this, food manufacturers often use a 'batch verification' process. They print a sample of labels at the start of each batch, verify the print quality, and then print the entire batch. If the substrate changes (e.g., a different film supplier), they re-calibrate the printer. They also use a 'contrast check' because print gain can reduce the contrast between bars and spaces, making it harder for the scanner to distinguish them. They increase the print contrast by using a dark ink on a very light substrate, or they use a colored substrate with a high-contrast ink.

Another workaround is to use a 'positive positioning' label, where the barcode is placed in a recessed area of the packaging, protected from physical contact. This reduces the chance of abrasion-induced loss, but it does not help with gain. Some companies have also moved to using QR codes on consumer-facing packages, while retaining Code 39 only for internal logistics, where the environment is more controlled.

15. Electronics and Semiconductor Industry

The electronics industry uses Code 39 for tracking circuit boards, component reels, and finished goods. The labels are often tiny, because components are small. A typical surface-mount resistor reel may have a label with a Code 39 symbol that is only half an inch wide. The narrow bar width might be 6 mils or even 4 mils. At this scale, print gain is a critical issue.

In this industry, the printing is usually done by high-resolution thermal transfer or by laser marking on the component itself. Laser marking on silicon or ceramic can produce very sharp edges, but the heat-affected zone still creates a gain of 0.5 to 1 mil. For a 4-mil narrow bar, a 0.5-mil gain is 12.5%, which pushes the symbol close to the threshold. If the laser power drifts by 5%, the gain could increase to 1 mil, making the symbol unreadable.

To mitigate this, electronics manufacturers use 'fine-tuned' calibration procedures. They print a test pattern on a sacrificial substrate and measure the bar widths with a microscope. They adjust the laser parameters until the measured wide-to-narrow ratio is exactly 2.75:1, then they print the production labels. They also use a 'character check' that verifies each character's pattern against a known table; if any character is borderline, the system flags it.

Another strategy is to use a 'redundant row' design. Some labels print the same Code 39 data twice, one above the other, with a small vertical offset. If one row suffers from gain, the other row might be readable. The scanner is programmed to read either row and compare the decoded data. This redundancy consumes more space but provides a reliable backup.

In semiconductor wafer processing, where dust and static are concerns, labels are often printed with conductive inks or on anti-static film. These inks have different rheological properties, which can affect gain. The ink may spread more on the film, or it may not spread enough, leading to inconsistent bar widths. Engineers in this field rely heavily on statistical process control, monitoring the gain over time and using control charts to detect drift before it causes decoding failures.

16. Mitigation Strategies: A Comprehensive Overview

Across all these industries, the fundamental solution to the print gain sensitivity of Code 39 is not a single silver bullet but a combination of design, process, and technology measures. We can categorize these into four main areas: design-time choices, printer calibration, verification, and scanner configuration.

Design-time choices include selecting a sufficiently large narrow bar width, using a high wide-to-narrow ratio (e.g., 3.0:1 instead of 2.5:1), and adding a modulo 43 check character. The check character does not correct errors, but it detects them, which is often sufficient to prevent misreads. Designers also choose the label material and ink/ribbon combination carefully, matching the thermal properties to the printer. They also consider the print orientation relative to the substrate's grain direction, especially for flexographic printing, because gain is often lower when bars are aligned with the grain.

Printer calibration is the most active mitigation. Operators use built-in darkness controls, but more sophisticated systems use automatic gain control. Some thermal printers have a 'print head energy calibration' routine that prints a series of patches and measures their density with an internal sensor. The printer then adjusts the pulse width or voltage to achieve a target bar width. This calibration is repeated at regular intervals, such as daily or weekly, and also whenever a new roll of ribbon or label stock is loaded.

Verification is the quality gate. Handheld verifiers, such as those from brands like RJS or Axicon, measure the actual bar and space widths, calculate the wide-to-narrow ratio, and assign an ISO grade. These verifiers also check the modulation, print contrast, and edge roughness. Any symbol that grades below a specified threshold is rejected and reprinted. In high-volume operations, inline verifiers are mounted directly on the printer or label applicator, checking every single label at production speed.

Scanner configuration also plays a role. Most advanced barcode scanners allow the user to set the decoding algorithm's tolerance. For Code 39, the scanner can be configured to accept a wider range of wide-to-narrow ratios, for example from 2.0:1 to 3.5:1, instead of the standard 2.25:1 to 2.75:1. This relaxed tolerance makes the scanner more forgiving of print gain, but it also increases the risk of misreads because the threshold is less discriminating. Therefore, this is a trade-off that must be carefully managed. Some scanners use 'adaptive thresholding' that dynamically calculates the threshold based on the histogram of measured intervals, which can handle non-uniform gain better than a fixed threshold.

Another advanced technique is the use of 'edge-to-edge' decoding. Instead of measuring absolute widths, the scanner measures the ratio of adjacent bars and spaces. This can compensate for uniform gain because if all bars and spaces are scaled by the same factor, the ratios remain constant. However, this fails if the gain is non-uniform, which is often the case. Some scanners also use a 'reconstruction' algorithm that attempts to determine the original digital pattern by modeling the gain as a convolution, but this is computationally intensive and rarely used in practice.

17. The Trade-offs with Other Symbologies

It is instructive to compare Code 39's sensitivity with other linear symbologies. Code 128, for example, has a more complex encoding with four different element widths (two narrow and two wide for each of the bars and spaces, though the actual structure uses 3 widths in practice). This gives Code 128 more 'symbolic' information per element, and it also has a built-in check character. More importantly, Code 128 uses a variable-width encoding that is less dependent on a single binary threshold. The scanner can use the relative widths of multiple elements to determine the decoding, which makes it more robust to moderate gain. However, Code 128 is more difficult to print at very small sizes because its narrowest element is typically smaller than Code 39's narrow element for the same data density.

Interleaved 2 of 5 (ITF) is another numeric-only symbology that is very dense, but it is even more sensitive to gain than Code 39, because it uses pairs of bars and pairs of spaces, and the wide/narrow distinction is still binary but with no inter-character gaps. So Code 39, despite its sensitivity, is actually more forgiving than ITF in some respects because it has a self-checking pattern and clear start/stop characters.

Two-dimensional codes like Data Matrix and QR Code are vastly superior in terms of print gain tolerance. They use error correction that can recover from up to 30% damage, including significant width distortions. However, they require higher-resolution scanners and are more expensive to implement in legacy systems. Thus, many industries stick with Code 39 for simple, low-cost applications where the environment is controlled and the print quality can be monitored.

18. The Economic Cost of Print Gain

The sensitivity to print gain is not just a technical nuisance; it has a measurable economic impact. Every 'no read' costs time and labor. A study in the logistics industry estimated that each failed scan costs approximately 2.5 minutes of manual intervention, including the time to walk to the package, type the number, and verify the entry. In a high-volume distribution center with thousands of packages per hour, even a 1% failure rate due to print gain can result in dozens of man-hours per day, translating to hundreds of thousands of dollars annually.

In healthcare, the cost is even higher, though it is harder to quantify. A single medication error caused by a barcode misread can lead to an adverse event, extended hospital stay, and litigation. The cost of a single adverse event is often in the tens of thousands of dollars, not to mention the human toll. As a result, hospitals are willing to invest significantly in high-quality printers, verification systems, and redundant labeling to minimize the risk.

In manufacturing, a misread can cause an entire production batch to be misrouted, leading to scrap and rework. For a high-value assembly, such as an automotive engine, the cost of scrapping a single unit can be over a thousand dollars. Multiplied by the number of units per shift, the economic incentive to control print gain is enormous.

Therefore, while Code 39 is a low-cost symbology to implement in terms of software and scanner hardware, the hidden cost of print quality management can be substantial. Many organizations find that the total cost of ownership for Code 39, when factoring in verification, reprints, downtime, and error correction, is actually higher than for a more robust symbology. Yet, they persist with Code 39 because of its installed base, its simplicity, and the ease of integrating it with legacy information systems.

19. Future Outlook and Recommendations

As technology advances, many industries are gradually moving away from Code 39. The adoption of GS1 standards, which encourage the use of GS1-128, and the proliferation of 2D codes for mobile scanning are slowly reducing the reliance on Code 39. However, the transition is far from complete. In many niche applications, especially those involving small-size labels, high-volume low-cost printing, or legacy scanners, Code 39 will remain in use for the foreseeable future.

For practitioners who must use Code 39, the key recommendation is to treat print quality as a first-class variable in the system design. Do not assume that the printer's default settings are adequate. Conduct a thorough print quality study at the outset, measuring the gain for the specific combination of printer, ribbon, label stock, and environment. Establish a baseline and set up a regular calibration and verification schedule. Use a check digit, even though it is optional, and consider using a wider narrow bar width than the minimum required by the application. If possible, use a scanner that allows adjustable decoding tolerances and that can output a 'quality index' for each read, so that you can monitor degradation over time.

It is also wise to train operators to recognize visual signs of excessive gain, such as bars that appear 'fat' or spaces that are barely visible. Provide them with a simple gauge or comparator card that shows acceptable and unacceptable bar widths. Encourage a culture of 'test before you print large batches,' and always keep a backup manual entry method.

Finally, for critical applications where human safety or high-value assets are involved, consider using a dual-symbology approach. Print a Code 39 for legacy compatibility, but also print a Data Matrix or QR Code for redundancy. This gives you the best of both worlds: the simplicity and wide compatibility of Code 39, combined with the robustness of 2D error correction.

20. Detailed Summary

In this chapter, we have explored in depth the most significant disadvantage of the Code 39 barcode symbology: its high sensitivity to print quality variations, specifically ink spread or print gain. We began by explaining the binary nature of the encoding, where each character comprises exactly three wide elements and six narrow elements, with no intermediate states. This design, while enabling simple printing and scanning, makes the symbology inherently vulnerable to width distortions.

We then delved into the physical mechanisms of print gain across various printing technologies. Flexographic printing suffers from plate compression and ink penetration into porous substrates. Thermal transfer printing deals with heat diffusion and print head wear. Laser printing exhibits toner scatter and fuser-roller-induced gain. Inkjet printing involves droplet spread and capillary action. Each technology introduces its own pattern of gain, which can be uniform or non-uniform, isotropic or anisotropic.

The core challenge lies in the scanner's decoding algorithm, which relies on a threshold to classify each bar or space as wide or narrow. When print gain broadens the width distribution and causes the clusters to overlap, the scanner faces a high risk of misreading or failing to read the symbol. We explained how even small amounts of gain, such as 1 mil on a 10-mil narrow bar, can move a symbol from a comfortable read to an unreliable one.

The chapter then presented a comprehensive tour of ten industries: retail, healthcare, manufacturing, logistics, automotive, aerospace, libraries, postal services, pharmaceuticals, food and beverage, and electronics. In each sector, we examined the specific printing methods, environmental stressors, operational consequences, and mitigation strategies. Retail relies on large symbols and double-scan policies. Healthcare invests in dual-symbology wristbands and stringent verification. Manufacturing uses adaptive gain control and frequent test prints. Logistics employs redundant labels and high wide-to-narrow ratios. Automotive and aerospace use direct part marking with careful calibration and protective coatings. Libraries use standardized label stocks and test scans. Postal services rely on multiple read stations and large symbol sizes. Pharmaceutical companies implement in-line verification and rejection systems. Food and beverage companies contend with anisotropic gain and use batch verification. Electronics manufacturers fine-tune laser parameters and use redundant rows.

We then synthesized a set of universal mitigation strategies, including design-time choices (larger bar widths, higher ratios, check digits), printer calibration (darkness control, automatic gain adjustment), verification (handheld and inline verifiers), and scanner configuration (relaxed tolerances, adaptive thresholding, edge-to-edge decoding). We also compared Code 39's sensitivity with other symbologies, noting that while Code 128 and 2D codes offer better robustness, Code 39 remains in use due to legacy and cost considerations.

Finally, we discussed the economic impact of print gain, highlighting that the hidden costs of quality control, reprints, downtime, and errors often outweigh the initial savings from using a simple symbology. We provided forward-looking recommendations for practitioners, emphasizing the importance of a proactive, systematic approach to print quality management, the value of training and operator awareness, and the potential benefits of a dual-symbology strategy for critical applications.

In conclusion, the poor print quality sensitivity of Code 39 is not a fatal flaw, but it is a persistent and demanding constraint. It requires constant vigilance, careful process control, and a willingness to invest in quality assurance. Those who ignore this sensitivity do so at their own peril, as the consequences can range from minor checkout delays to major safety incidents and financial losses. By understanding the root cause and the industry-specific manifestations, practitioners can implement effective countermeasures that ensure reliable decoding and maintain the operational integrity of their barcode systems. This chapter has aimed to provide that understanding and to equip the reader with the knowledge to navigate this challenge in any application environment.

 

EasierSoft Barcode Label Design & Bulk Printing Software

---- Use Excel Data to Batch Print Barcodes on Label Sheets or Roll Labels  

---- How to use this barcode software

Download:  Free Barcode Software + Barcode Label Designer

Download Free Barcode Software at Softonic

     Download at CNET

Once you obtain a GS1/UPC/EAN barcode, or other barcode type and QR code, you can use our free software to batch print barcode labels onto Roll label paper using a professional label printer, or to batch print barcodes onto Avery 5160 label sheets using a regular laser or inkjet printer. Our software has free and paid versions.

The free version fully meets your needs for batch printing GS1/UPC/EAN barcodes. The paid version can import data from Excel and databases to batch print barcode labels with different values.

How to Start

Input Data

Import Excel Data

Print Barcode

Barcode Format

Label Designer

All Screen Shot

Export Barcode Image

Save Template

Output Word Excel

How to Use & FAQ:

Example: Print barcodes to 5*3cm roll

Example: Print barcodes to 5161 label

Example: Print barcodes to 5162 label

Example: Print barcodes to 5163 label

Example: Print barcodes to 5164 label

Example: Print portrait orientation 5164

Example: Print barcodes to 5167 label

Example: Print barcodes to 5168 label

Example: Print portrait orientation 5168

Example: Print barcodes to 5169 label

Example: Print barcodes to 5660 label

Example: Print barcodes to 5661 label

Example: Print barcodes to 5662 label

Example: Print barcodes to 5663 label

Example: Print barcodes to 5664 label

Example: Print portrait orientation 5664

Example: Print barcodes to 5873 label

Example: Print barcodes to 5874 label

Two ways to import Excel data

Import Excel Data - Pro Edition

Import Excel Data - Std Edition

Import Data from Excel - Detail

Load Data From Excel File

Data Editing Table

Copy Data From Excel

Four ways to input barcode data

Add ASCII Key E

Input Multiple Lines of Text for Barcodes

Generates Sequential Serial Numbers

Import or copy data from Excel sheets

Special sequence number generation

Std Details: Simple Input Form

Std Details: Multiple Line Text Input

Details: Sequence Barcode Generator

Examples: Sequence Barcode Generator

Import Data From Excel Spreadsheet

Barcode Data Correspondence Diagram

Data Editor

Editing a Single Row Data in Form

Batch Editing Multiple Rows of Data

Batch Data Editing - Example 2

Design & print complex barcode labels

Configuring Text Elements on Label

Configuring Barcode Elements on Label

Configuring Image Elements on Label

Setting Line Elements on Label

Designing Labels for 5164 Sheet

Advanced Page Layout Settings

Add Barcode Elements to a Label

Configuring Parameters of a Barcode

Highlights

Excel integration: Import data directly from Excel to generate and print barcodes in bulk.

Label designer: Create complex labels with multiple barcodes, text, logos, and shapes.

Batch printing: Print thousands of barcodes at once using standard inkjet/laser printers or professional barcode printers.


Flexible editions:

Standard Edition: Simple batch printing with Excel data.

Professional Edition: Adds command-line automation for workflow integration.

Label Designer Edition: Advanced design features for complex labels.


Why Choose Our Barcode Solutions?

Cost-effective: Free online generator and permanent free desktop version available.

Easy to use: No technical expertise required—just input data and print.

Versatile: Supports nearly all 1D and 2D barcode types, including QR codes.

Trusted: Recommended by CNET and widely downloaded by users worldwide.


Suitable Use Cases

Small businesses and startups needing quick barcode labels for products.

Retailers and online sellers managing inventory with batch barcode printing.

Manufacturers requiring sequential or custom barcode labels for packaging.

Educational and testing environments where barcodes are used for tracking.

 

 

CONTACT

cs@easiersoft.com

If you have any question, please feel free to email us.

 

https://free-barcode.com

 

<<< Back to Directory <<<     Barcode Generator     Barcode Freeware     Privacy Policy