Three Practical Boundaries of Drug Traceability Codes: Preprinting, Inline Coding, and Labeling — The First Three Numbers to Ask When a Printer Receives a Drug Box Traceability Code Inquiry
💡 💡 At a Glance
Drug traceability codes are applied for and generated by pharmaceutical companies, while printers are responsible for carrying them onto packaging. There are three implementation paths: printing prepress codes, where data must arrive before press startup and waiting creates scheduling costs; inline coding on the production line, where the printer delivers reserved areas and lamination and irregular surfaces create major obstacles; and final-stage labeling, where placement must be derived from the workflows of both pharmacies and repacking operators. Before accepting an order, ask three things: how many packaging levels and codes, when the codes will be supplied, and which panel will receive the code.
Effective 1 September 2026, the National Medical Products Administration's "Announcement on Further Strengthening Drug Information Traceability Management" will take effect. It requires "code assignment for all drug categories, with every codeable product assigned, and code scanning throughout the entire supply chain, with every code scanned whenever encountered." The requirement covers all finished pharmaceutical products currently in production, except APIs, medical oxygen, and preparations compounded by medical institutions. The drug traceability system already covers 530,000 retail pharmacies, representing 79% of the total.
When this news reaches the inquiry mailbox of Wuxi LeXiang, it often takes the form of a short question: "This batch of drug boxes needs traceability codes. Can you print them?"
After completing several such orders, it becomes clear that this short question contains three entirely different issues. The code on the drug box is not a code generated by the printer. It is a drug traceability code applied for and activated by the pharmaceutical company, either the marketing authorization holder or the manufacturer, through the National Drug Traceability Collaboration Service Platform. The printer's role is simply to "carry" the code on the packaging. There are three completely different ways to do so, each with different responsibilities, pricing, costs, and risks for the printer. If these three paths are not distinguished before accepting the order, the figures on the quotation will inevitably be wrong.
The First Method: Preprinted Codes — The Code Data Must Arrive Before Press Startup
Preprinting is the most efficient and least costly method because the traceability code and the artwork are printed together on the box. However, it has one hard prerequisite: the code data must be in place before the press starts.
Why is this prerequisite necessary? A traceability code is a "one-item, one-code" identifier. Each box has a unique code, and a different production batch has a different set of codes. This means the prepress stage requires a code data stream, with the data volume equal to the print run. Pharmaceutical companies generally generate traceability codes hierarchically: minimum packaging units, intermediate packaging, and outer packaging each have their own code sets, linked through "association" relationships.
A typical customer statement is: "It takes us two or three days to generate the codes."
A typical response from the printer is: "Then we have to wait for the codes before running this job."
This introduces an additional risk into the production schedule: the customer's codes have not arrived, so the machine has been allocated to another job; when the codes arrive, the original job has been overtaken by others. This waiting period is most expensive during peak seasons, particularly at year-end and before the Spring Festival, because once a press slot has been released, it usually costs a full day to reclaim it.
There is also a printing-specific pitfall: code placement and the quiet zone. A drug traceability code consists of a series of digits, letters, and/or symbols. It may be identified through printing or by affixing a label. Under the "Drug Traceability Code Identification Specifications," the identification requirements cover general principles, general requirements, style requirements, placement requirements, and quality requirements. When printed on a box, the printer must determine how much area the barcode itself occupies, how much quiet zone must be left around it, whether the QR code belongs on the front, back, or side panel, and whether subsequent die-cutting or hot stamping will overlap it. These decisions must be made during imposition, rather than waiting for the customer to review the sample and then discovering that the code cannot be scanned.
Preprinting also involves a frequently overlooked cost: codes consumed during plate setup and test printing. Setup paper, white-box test printing, and ink adjustment all use complete sets of codes. Code consumption must be calculated separately and cannot be folded into the ordinary waste rate.
The Second Method: Inline Coding on the Production Line — The Printer Delivers a Reserved Area, Not a Printed Code
Many pharmaceutical companies choose to print the code at the final stage through inline coding. The reason is practical: because every box has a unique code, the pharmaceutical company's batch number, expiry date, and internal code are all determined on the day of production, so upstream printing cannot wait for them.
In this case, the printer's deliverable changes: the deliverable is not a box with a printed code, but a box that allows the coding machine to place the code correctly.
The requirements now concern specific dimensions. Which panel should receive the code? How large must the coding area be? What background color is required? Can the area be laminated or varnished before coding? Can it carry hot-stamping impressions? Will the ink color interfere with recognition?
The most common failure point is lamination. Under a glossy film, the coding machine's high-pressure printhead may not penetrate; matte film is even more difficult. If the customer insists that the box must have a glossy finish while the code must remain scannable, there are only two possible process routes: create an unlaminated matte area for the code, which compromises the overall appearance, or switch to labeling. Neither option can be decided unilaterally by the printer, and both must be clearly explained to the customer before quotation.
The second failure point is box structure. Irregular boxes, curved panels, and structures with handles may be outside the coding machine's physical operating limits because coding heads travel in a straight line on a plane. If a curved surface cannot be reached, it simply cannot be coded. Customers often assume that any empty area will work, overlooking the physical limits of the coding machine's positioning system.
The third issue is handover of responsibility. The printer delivers a blank code area, while the customer performs the coding. If the code cannot ultimately be scanned, who is responsible? This must be stated clearly in the contract. The printer is responsible for the code area's dimensions, position, background color, and flatness, while recognition performance falls under the coding process. If this is left vague, neither party can clearly assign responsibility when a problem occurs.
The Third Method: Labeling — The Code Is an Add-On, While Placement Is the Printer's Responsibility
Labeling is the most flexible approach and is also the one most frequently overlooked. The traceability code is applied as an adhesive label, leaving the printer responsible only for printing the label correctly and designing its placement.
Once the label is applied to the package, however, it becomes a new structural issue. Which part of the box should the label occupy? Can the box still be opened after the label is applied? Will removing it also detach the surface film?
There is a highly practical consideration here: where the label is placed depends on which packaging level the customer holds while scanning. A pharmacy scans the code on the minimum sales packaging unit, but outer and intermediate packaging also require codes. Is the code area placed on the bottom for aesthetic reasons or to make the repacking process more convenient? Is it placed on the side to preserve the shelf-facing display panel? These are not merely aesthetic considerations; they concern the workflow on the repacking line.
Another frequently overlooked red line is that the label position must not conflict with other markings in the traceability information. Drug packaging already carries batch numbers, expiry dates, production dates, and other identifiers, while also needing to reserve space for the traceability code. Of the four categories of mandatory national standards for drug packaging, printers are most likely to encounter problems with "consistency of the same batch number." Within a single batch, the batch number printed on individual boxes, intermediate cartons, and outer cases must match. Adding traceability codes requires even more simultaneous verification that the correct identification versions are used across the packaging system.
The Three Numbers That Must Be Confirmed Before Accepting an Order
Clarifying the following three items establishes the basis for a reliable quotation:
| Information to Confirm | Specific Questions | Why It Determines the Quotation |
|---|---|---|
| 1. How many packaging levels, and how many codes per level? | How many units are in each minimum package, intermediate package, and outer package? Does each level require a code? | This determines the number of code areas, labels, and reserved spaces. A medium box containing 10 minimum packages of 30 units each requires a completely different code-area design across the two packaging levels. |
| 2. Who supplies the codes, and when? | Will the pharmaceutical company provide the data, or will the coding machine print it? Can the data be available before the order is placed? | This determines whether to use preprinting or reserved areas. Preprinted jobs must wait for the code data before scheduling, while jobs with reserved areas allow the press slot to be allocated to another order first. |
| 3. Which panel receives the code, and what is being held during scanning? | Will the code area be on the front, back, side, or bottom? Which packaging level do pharmacies and repacking operators scan? | This determines the layout and structural design, as well as whether the lamination process can be coordinated with the code requirements. |
The purpose of these three questions is not to make the customer's life difficult. It is to define the responsibility boundary for both parties. The distinctive challenge of traceability codes is that the code itself does not belong to the printer, but whether it can be scanned directly determines whether the packaging can legally enter the market. The pharmaceutical company's traceability system already covers 79% of retail pharmacies, where "no code, no receiving; anomalies require verification; returned products must be rejected" have become rigid operating principles. If the code on a package cannot be scanned, the goods cannot be received into a pharmacy's inventory. The resulting loss falls on the pharmaceutical company, but the chain of responsibility will ultimately be traced back to the printing process.
For this reason, documenting these three items on the quotation is more valuable than presenting a unit price such as "RMB 0.05 per traceability code."
Further Reading
- Four Categories of Mandatory National Standards for Drug Packaging: Instructions / Intermediate Cartons / Outer Cases / Labels — Consistency of the same batch number is the requirement printers are most likely to miss
- Three Practical Boundaries of Printing Drug Packaging Materials' Associated Review Registration Numbers — Registration number / Status identifiers A and I / Batch traceability
- Three Practical Boundaries of GS1 Digital Link 2D Barcodes — GTIN-14 / AI batch traceability / Quiet-zone dimensions
- Three Practical Printer Boundaries of 17-Digit "One-Item, One-Code" Organic Product Certification — The step where the check digit goes wrong
- Three Practical Boundaries of Packaging Compliance: "Self-Declaration vs. Third-Party Certification"
FAQ
Are drug traceability codes generated by printers?
No. Pharmaceutical companies, including marketing authorization holders and manufacturers, apply for and activate drug traceability codes through the National Drug Traceability Collaboration Service Platform. Printers are responsible only for carrying the codes onto the packaging. The three methods are printing prepress codes, inline coding on the production line, and applying labels during final packaging, each with different responsibility boundaries.
When a traceability code is printed on a box, how much quiet zone should be left for barcode scanning?
The quiet zone is the blank area with no printed content that must be reserved on both sides of the barcode. The style and placement requirements for drug traceability codes follow the "Drug Traceability Code Identification Specifications." When the code is printed on a box, the quiet-zone dimensions must be calculated according to the symbology. Neither die-cutting lines nor hot-stamping impressions may intrude into the quiet zone, as doing so will significantly reduce recognition performance.
How can a box use glossy lamination while maintaining traceability code scannability?
This is the most common process conflict in inline coding. Glossy film, and especially matte film, can affect high-energy printhead penetration and ink adhesion. There are generally only two viable routes: create an unlaminated matte area for the code, or switch to an adhesive label. The process route must be agreed with the customer before the order is placed, rather than discussed only after sample production.
The customer says the traceability codes will arrive in two days. Should the press slot or the materials be secured first?
Secure the press slot but not the materials, or accept other work first. The waiting period is often the most expensive part of the production schedule. It is recommended to specify "press startup on T+1 after receipt of code data" on the quotation, making the waiting cost explicit and preventing responsibility disputes if the job is overtaken during peak season.
How should batch numbers and traceability codes on boxes, intermediate cartons, and outer cases within the same batch correspond?
They must correspond one-to-one. Of the four categories of mandatory national standards for drug packaging, printers are most likely to encounter problems with "consistency of the same batch number." Traceability codes are generated hierarchically, with separate code sets for minimum packaging, intermediate packaging, and outer packaging linked through association relationships. The ownership and quantity of the codes at each level must be confirmed during prepress.
Who decides the label position for label-based traceability codes?
The customer's use scenario determines the position, rather than printing aesthetics. Pharmacies scan the minimum sales packaging unit, while repacking operators handle intermediate and outer packaging. The label position must support both workflows while not interfering with box opening, film removal, or shelf display.
📚 📚 Related Recommendations
Need a Custom Packaging Solution?
Learn more about packaging, or consult directly for a custom solution and quote
