Most food producers believe that adding a scannable QR code next to their MFG, EXP, Batch and MRP details means buying an expensive production-line coder or a whole new printer. It doesn't. If you already own a handheld inkjet printer — the kind that stamps batch codes and expiry dates on cartons and pouches — you already own everything you need. It prints variable data; the only thing missing was the data itself. This guide shows food, spice, pickle, namkeen, snack, dairy and beverage manufacturers (and contract packers) how to print a full batch block and a unique tracking QR together, on the printer you already have, using TrueGTIN to generate the codes for free.
The Four Things Every Food Pack Must Carry (and What the Rules Say)
Across almost every market, a food pack must be traceable back to the exact production run and clearly marked with its dates. Four fields do most of that work: the manufacturing date (MFG), the expiry / best-before (EXP) date, the batch or lot number, and — where local law requires it — the MRP (maximum retail price). Add a QR code alongside them and the same information becomes machine-readable and verifiable by any shopper with a phone.
MFG date
When it was made
EXP / Best before
Until when it is safe
Batch / Lot no.
Which production run
MRP
Price (where required)
This is not optional labelling. A lot identifier and clear date marking are required by India's FSSAI Labelling & Display Regulations, the EU's Regulation (EU) No 1169/2011, and the US FDA / FSMA traceability rules (including the FSMA 204 Food Traceability Rule for listed foods). The one field that genuinely varies by country is MRP: printing it is mandatory under India's Legal Metrology rules, while other markets use optional price marking. The batch code is what keeps a recall surgical instead of wiping out your entire product line.
Figure 1 — The batch block and a unique QR, printed together on one pass
Unique QR — scan to verify
Text for the eye and old scanners; a unique QR for the phone and your database. One printer, one pass.
Why Add a Unique QR Next to the Batch Code
The printed batch code is for humans. A QR code is for machines and phones, and it can carry the same information (plus a live link you control) in a form that is instantly scannable and verifiable. You are not replacing the batch code — you are giving it a digital twin. The key is that each pack can carry a unique QR, so it proves not just what the product is, but which pack it is.
Figure 2 — Printed batch block alone vs. batch block + unique QR
Batch block on its own
- Read by the human eye only
- Must be typed to look anything up
- Same on every pack — no per-unit proof
- Easy to copy or reprint
- No live status (recalled? expired?)
Batch block + unique QR
- Scanned by any smartphone, no app
- One tap opens a verify page
- Each pack is unique & tamper-evident
- Surgical recalls — pull one lot only
- Links to a live record you control
Wondering how a QR differs from the striped barcode you already print? Our QR code vs barcode comparison breaks it down. And for the food-specific deep dive on what to put on the pack, see our complete guide to QR codes for food batch coding.
"Don't I Need a New Printer?" — No. Here's Why
This is the objection that stops most manufacturers, and it is based on a misunderstanding. A rubber stamp or a pre-printed label prints the same thing every time. But a handheld thermal inkjet (TIJ) printer — the battery-powered coder you already slide across cartons and pouches — is a variable data device by design. It reads whatever record it is fed and prints that, then the next one. Rolling dates, changing batch numbers, and a fresh QR per unit are exactly what it was built for. The hardware was never the problem; the missing piece was a simple way to generate the data. That is the job TrueGTIN does.
Figure 3 — Same printer, new data: how the code gets on the pack
TrueGTIN app
Generate batch + QR data
Printer's USB drive
Save the CSV to it
Your existing handheld
No new hardware
Coded pack
MFG·EXP·Batch·MRP·QR
Not sure whether your printer fits, or shopping for your first one? Our handheld inkjet printer buying guide explains every part, how TIJ printing works, and the seller traps to avoid.
What to Encode in the QR (GTIN + Batch + Dates via GS1 Digital Link)
A well-built food QR should carry the same identifiers your regulator and your recall process rely on: the GTIN (product barcode number), the batch/lot, the MFG and expiry dates. The professional way to do this is with GS1 Application Identifiers (AIs) — short numeric prefixes any scanner reads the same way: (01) GTIN, (11) production date, (17) expiry, (10) batch/lot. Wrap them in a plain web link — a GS1 Digital Link — and the very same QR both carries the structured data and opens a page in a shopper's browser.
Figure 4 — How the data is packed into one QR (GS1 Digital Link)
https://id.truegtin.com/01/08901234567890/10/S26G21-04?17=270630
One QR, two jobs: a scanner reads the structured GS1 data, while a shopper's phone simply opens the link and sees a verification page. Learn more in our GS1 Digital Link guide.
The 3-Step Workflow With Your Current Handheld
Three moves get a batch block and a unique QR onto every pack — no computer, no production line, no outsourced coding bills:
Figure 5 — From app to packaging in three steps
Generate
In the TrueGTIN app, create your MFG, EXP, batch and MRP data plus a unique QR — exported as a CSV.
Save to USB
Copy the CSV onto the printer's USB flash drive (via a USB-OTG cable on your phone).
Plug in & print
Insert the drive into your handheld, select the file, and code cartons in seconds.
That is the summary; the full walkthrough — cables, file format, and printer settings — is in our step-by-step guide to printing batch codes & QR codes on a handheld inkjet printer from your phone.
Built for Your Category — Anywhere in the World
The same workflow suits any packaged-food line, whether you sell locally or export. Contract packers running dozens of SKUs across different clients benefit most: a separate batch series per product or per customer, generated in seconds.
Spices & seasonings
Pickles & preserves
Namkeen & snacks
Dairy
Beverages
Contract packers
A Batch Number Format That Actually Helps You
A good batch number is human-readable, sortable, and tells you where and when a run was made without opening a spreadsheet. A pattern like PLANT-YYMMDD-LINE-SEQ — for example DEL-260710-A-04 — encodes plant, date, line and sequence in one string.
✅ Do
- Keep it short, uppercase, no spaces
- Embed the production date
- Use a consistent, sortable pattern
- Make each run's number unique
❌ Don't
- Reuse the same number across runs
- Use ambiguous numeric-only dates
- Include characters that smudge or confuse (O vs 0)
- Let the format drift between operators
For the full framework — including how batch numbers link to expiry logic and traceability — see our complete guide to batch coding.
Common Mistakes to Avoid
- Printing the QR too small or with no quiet zone. Aim for at least 15–20 mm square with clear white space around it. Ink bleed on glossy film and curved bottles is the top reason a QR fails to scan — always test on the real substrate.
- One static QR for the whole product. If every pack shares an identical code, it cannot tell you the batch and cannot detect clones. Print a unique QR per pack so it is meaningful.
- Ambiguous dates. "07/06/27" reads as three different dates around the world. Label them (MFG / EXP) and prefer an unambiguous form such as "Best before Jun 2027"; inside GS1 data, dates are strictly YYMMDD.
- Dropping the printed batch code. The QR does not replace the human-readable lot number and dates — regulators still require them on the pack. Keep both.
- MRP mismatches. Where MRP is printed by law, make sure the value on the pack matches the value in your system and invoices; a mismatch is a compliance and trust problem.
Frequently Asked Questions
Do I need a special printer to print a QR with my batch code?
No. Any handheld thermal inkjet (TIJ) printer that already prints batch codes and expiry dates prints variable data, which is all a changing batch block and a unique QR require. You feed it the data from the TrueGTIN app via the printer's USB drive — no new hardware, no production-line coder.
Is a QR code mandatory for food (FSSAI / EU / FDA)?
The QR itself is generally not mandatory, but a lot/batch identifier and date marking are required under FSSAI, EU Regulation 1169/2011, and US FDA/FSMA rules. Adding a QR is a voluntary upgrade that makes that required information machine-readable, verifiable, and useful for faster recalls and anti-counterfeiting.
What is the correct batch number format for food?
There is no single legal format, but a good one is short, uppercase, unique per run, and embeds the production date — for example PLANT-YYMMDD-LINE-SEQ. Consistency matters more than any specific scheme: pick one pattern and apply it the same way on every line.
Can my old handheld inkjet print a unique QR on every pack?
Yes. Because the printer reads one record at a time from the CSV on its USB drive, each pack can get a different serialized QR. That per-unit uniqueness is what enables clone detection and true traceability — the same reason variable data printing exists.
Does this work for export packs and different date formats?
Yes. You can generate the human-readable date in whatever format a destination market expects, while the QR carries the standard GS1 YYMMDD date internally. That combination keeps your packs compliant at home and abroad from the same workflow.
Print MFG, EXP, Batch, MRP & a Unique QR — On the Printer You Already Own
TrueGTIN generates your batch coding and unique QR codes for free, exports them as a CSV, and feeds them straight to any handheld inkjet printer — right from your phone. No new hardware required.