Use case
Laboratory specimen labels: what they carry and how they print
A specimen label ties a tube to a patient and an order at the moment of collection. Where a laboratory follows a label standard such as CLSI AUTO12, the standard sets what the label carries and where; the laboratory information system holds the data. BarcoderX prints the label from the data it is given, at the draw station if you want. It does not scan, match or verify.
The label at a glance
AUTO12 is the CLSI standard on specimen labels and TJC The Joint Commission's National Performance Goals for the Hospital Program, effective January 2026. Gray references point to them; see Sources. All data in the drawing is invented.
The documents cited below are the authority on what these labels carry; this page summarizes, in our own words, the parts we read. BarcoderX prints the label from the data it is given. It does not issue identifiers, check that a label matches a person or a product, scan or verify barcodes, report to any regulator, or certify, approve or validate a label under any rule.
- Patient name, top leftCLSI's page says the patient name matters most and always goes in the top left corner. AUTO12, abstract
- Accession numberAn identifier from your laboratory system. The standard places the required readable elements; we have not read its text, so we do not list them. AUTO12, abstract
- BarcodeThe standard also covers where the barcode goes and how big it is. The symbology is a choice of the laboratory and its instruments. AUTO12, abstract
- Optional 2D codeA laboratory or an instrument may ask for one. This is a choice, not a rule from a cited document.
What the standards say
CLSI AUTO12 is titled "Specimen Labels: Content and Location, Fonts, and Label Orientation". CLSI's product page lists it as a first edition published April 28, 2011. AUTO12, product page The page describes it as covering where and how the required readable elements appear, a standard label size of 2 × 1 inches (50.8 × 25.4 mm), the placement of other common elements, how long patient names are cut short, where the barcode goes and how big it is, and how labels sit on tubes. AUTO12, abstract
With exceptions such as slides and pediatric specimens, the scope covers laboratory specimens from the point of collection, including transfers between providers. AUTO12, scope
We have read only CLSI's public page, not the standard, which holds the exact layout rules. Read it before you design a label, and treat this page as an introduction. CLSI's page also lists a separate document, AUTO02, "Laboratory Automation: Bar Codes for Specimen Container Identification", which we have not read. AUTO12, product page
In the United States, The Joint Commission's National Performance Goals for hospitals, in the edition effective January 2026, have the hospital label blood and other specimen containers while the patient is present. TJC NPG.01.01.01 EP 2 The goal is about labeling the container with the patient present; it does not say where or when the label is printed. A printer at the draw station, fed by the laboratory system, is a common set-up because the label can be printed and applied in the same moment. The goal also asks for at least two patient identifiers. TJC NPG.01.01.01 EP 1 See patient wristbands.
Which barcodes, and why
Which barcode a laboratory uses is usually decided by its information system and its instruments, and by the standard its labels follow. We cite no document that names one, so the table says what each symbology is and which edition prints it.
| Barcode | Typical role | Edition |
|---|---|---|
| Code 128 | A linear code for an accession or order number. It is a common choice, not a cited rule. | Basic |
| GS1-128 | Only if your system uses GS1 identifiers with Application Identifiers. | Basic |
| Data Matrix | A two-dimensional code, for where the label is small and the instrument reads it. | Ultimate |
| QR Code or PDF417 | Other 2D symbols, if your system reads them. | Ultimate |
The data it needs
Each value is bound into a template from the laboratory system. The values below are invented.
| Field | Sample value | Where it goes |
|---|---|---|
| Patient name | EXAMPLE, PATIENT | The top left corner. AUTO12, abstract |
| Accession number | A0000123 | The barcode, and as readable text beside it. The laboratory chooses the number. |
A label is typically printed on demand at the draw station, from the order in the laboratory information system, by your application. The values come from objects, a DataTable, CSV, JSON or XML. Templates and data
Research and freezer sample labels
Not every specimen label belongs to a patient. Research and freezer sample labels usually carry a study or sample identifier. We cite no standard for them: the laboratory or the study protocol sets the content.
Such labels have to stay readable in storage. Which media and ribbon survive cold, moisture or solvents is for your media supplier to say; BarcoderX does not choose or test media. A choice between direct thermal and thermal transfer comes first.
How it reaches the printer
The printer commands are the same on both routes, and both run on infrastructure you operate.
- Direct, from your application. The SDK packages send the printer commands from your own .NET process over TCP port 9100, serial, the Windows spooler, CUPS or USB. No API server and no agent is in the path.
- Through your API server. Your application queues a print job through the REST API on your API server. A print agent on the printer's network collects it and writes it to the printer beside it. The agent only dials out, so the printer network needs no inbound port.
A label is printed when a specimen is collected, so it is usually triggered by your own application, which holds the order. Printing is one label per tube, so the quantity is set with ^PQ. Delivery to the agent is at-least-once and the agent de-duplicates by job id, so a reconnect does not print a label twice, and a retried request with an idempotency key does not queue a second label.
Which edition covers it
EditionsBasic covers the linear (1D) and postal symbologies, including every GS1 DataBar variant; Ultimate adds the PDF417 family, other multi-row symbologies, every matrix (2D) symbology and GS1 composites, as set out on the pricing page.
Code 128 and GS1-128 are in Basic, since the pricing page lists them under linear barcodes. Data Matrix, QR Code and PDF417 are in Ultimate.
The ZPL behind it
The printer commands come from the template. These are the ZPL commands behind a label like this one.
What BarcoderX does not do here
- No scanning and no matching. BarcoderX does not read barcodes and does not check that a label belongs to the patient or the tube in front of you.
- No bedside or mobile app. There is no collection app; the label is printed from your own application.
- No identifiers issued. The accession number comes from your laboratory system.
- No certification. BarcoderX does not certify, approve or validate a label under AUTO12, an accreditor's goal or any other rule, and it does not report to anyone.
- No media advice. The label stock, ribbon and printer are yours to choose; BarcoderX has no printer drivers or firmware.
Keep reading
Patient wristbands Food labels GS1-128 and SSCC-18: what goes on a pallet label GS1 check digit calculator Server-side label printing for .NET Print agent: pairing, connection and jobs Barcodes: the symbology registry Pricing: what each edition covers All use casesNew to the printer language? Read the ZPL guides and command reference.
Sources
- CLSI AUTO12: Specimen Labels: Content and Location, Fonts, and Label Orientation
- First edition, published April 28, 2011 (the page names AUTO12-A, Approved Standard). We read the public product page: abstract and scope. The standard itself was not read. https://
clsi.org/ standards/ products/ automation-and-informatics/ documents/ auto12/ - The Joint Commission: National Performance Goals, Hospital Program
- Effective January 2026, report generated September 26, 2025. NPG.01.01.01, elements of performance 1 and 2. https://
digitalassets.jointcommission.org/ api/ public/ content/ 9ca80055182b4274842a5780a94f2c82
Written by BarcoderX in its own words; not a publication of the bodies named above, whose documents are the authority. Read on November 14, 2026. Check the current edition before you rely on a detail.
ZPL and ZPL II are trademarks of Zebra Technologies Corporation. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.