The ultimate barcode guide: From 2D codes to UPCs – How to print and use them effectively in 2026

Videojet Knowledge Hub Team
2D codes, QR codes, traceability, GS1

Printing barcodes and 2D codes, like DataMatrix and QR codes®, requires selecting the right code type, generating accurate data, and using suitable printing technology like continuous inkjet (CIJ), thermal inkjet, or laser marking. Integrating barcodes and 2D codes into product packaging is essential for addressing the demands of product traceability, regulatory compliance, counterfeit prevention, consumer information, and operational efficiency in today’s marketplace.
Let’s delve into a deeper understanding of barcodes and 2D codes through a series of questions and answers.
What are the most common barcode and 2D code types?
Barcodes come in various forms, each with distinct characteristics and uses. The most common types on consumer products include:
| Barcode and 2D code type | Key features | Best suited for |
|---|---|---|
| UPC (Universal Product Code) | Linear barcode that contains 12 numeric digits; designed for quick scanning at point of sale | Retail products in North America |
| EAN (European Article Number) | Linear barcode that contains 13 numeric digits; similar to UPC but used globally | International retail products |
| QR code (Quick Response Code) | Two-dimensional code that can store a significant amount of data including URLs; scannable via smartphones | Traceability, marketing, consumer engagement, product info |
| DataMatrix | Two-dimensional code that can hold large amounts of data including manufacturer details, product IDs, batch, and serial numbers | Predominantly used for industrial and pharmaceutical applications |
| Code 128 | Linear barcode that encodes all 128 ASCII characters; highly versatile | Logistics, transportation, packaging, and shipping |
What data do different barcodes and 2D codes contain?
Understanding what data each barcode and 2D code type can store helps you choose the right format for your product.
| Barcode and 2D code types | Key data stored |
|---|---|
| UPC & EAN | Manufacturer ID and product-specific information; links to databases with additional data like price and inventory levels |
| QR code | Website URLs, Wi-Fi credentials, contact details, payment info, traceability data; supports marketing and promotions |
| DataMatrix | Manufacturer details, product identification, batch, and serial numbers; large data capacity |
| Code 128 | Extensive data such as purchase orders, delivery details, and dates |
What is GS1 Sunrise 2027 and why does it matter?
GS1 Sunrise 2027 is an initiative aimed at ensuring that by the year 2027, retailers will have the capability to scan 2D codes, although it is not mandating that products must be marked with these codes. However, GS1 is encouraging the adoption of 2D codes alongside the traditional linear (1D) barcodes throughout a transition period.
“For manufacturers, this means preparing for an environment where 2D codes are increasingly favored for their robust data capacity and versatility, enhancing supply chain visibility and consumer engagement.”
How do you generate barcodes and 2D codes?
Once you know the type of barcode you need, follow these steps to create, and validate it:
- Determine the type of barcode needed based on the industry standard and data to be encoded.
- Obtain GS1 license membership and create unique product numbers for UPCs and EAN Codes.
- Implementing standard GS1 identifiers, such as the Global Trade Item Number (GTIN), batch/lot numbers, and serial numbers, involves embedding them into the web address structure of the 2D code to enable the use of the GS1 Digital Link.1
- Use barcode software or an online generator to create the barcode based on the input data.
- Test the barcode to ensure it scans correctly with a barcode scanner or smartphone app to verify its readability.
Which printing technologies are best for printing barcodes?
Choosing the right printing technology is essential for speed, quality, and durability. Videojet offers five leading solutions.
| Technology | Best for |
|---|---|
| Continuous inkjet (CIJ) | Ideal for high-speed applications, CIJ can print on a variety of substrates, making it a versatile choice for many industries. |
| Thermal inkjet (TIJ) | Offering high-resolution printing, TIJ is perfect for printing crisp barcodes and alphanumeric codes on primary packaging and labels. |
| Laser marking systems | These laser marking machines are ideal for permanent, high-quality marking on robust materials, providing precise and durable codes that withstand harsh environments. |
| Thermal transfer overprinters (TTO) | TTO technology is excellent for high-quality barcode printing on flexible packaging, with the added benefit of durability. |
| Case coding (LCM & print-and-apply) | Both large character marking (LCM) and print-and-apply labeling can achieve barcodes with excellent read rates for supply chain compliance. |
Conclusion
The integration of printing barcodes and 2D codes into product packaging is a critical component for meeting the demands of product traceability, consumer information needs, and operational efficiencies in the marketplace. Videojet printers and laser marking systems simplify the process for manufacturers to print diverse barcode formats that cater to a range of functions, from straightforward product identification to comprehensive data storage.

Ready to upgrade your packaging line?
Discover the full range of Videojet barcode and 2D code printing technologies.
Contact Us:
QR Code is a registered trademark of DENSO WAVE INCORPORATED.
Sources
1 GS1 Digital Link | GS1