Sign In
Products
ZPL ViewerBarcode GeneratorImage → ZPLZPL cheat sheetLabel DesignerTemplate Gallery
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutions
Tools
ZPL Diagnostics HubZPL DebuggerSize & DPI AnalyzerDPI ConverterBarcode fit calculatorShipping Label AnalyzerFont InspectorOrientation DebuggerCalibration AssistantPrinter Compatibility CheckerBarcode Readability CheckerPrinter Language DetectorThermal Printer Test PackZPL ToolsEPL ToolsTSPL ToolsCPCL ToolsPrinter Language ConverterAll ToolsGuidesPricing
Language
EnglishTürkçeDeutsch
Home›ZPL Command Matrix›^BT

^BT — TLC39 Barcode

Prints a TLC39 barcode, the TCIF standard for CLEI tags on telecommunications equipment: a Code 39 symbol plus a four-column MicroPDF417.

Syntax^BTo,w1,r1,h1,w2,h2
In Labelixa's previewNot applied in the preview (ZPL1002)

What it does

The Code 39 part carries the six-digit ECI number; the MicroPDF417 part, always four columns, carries the rest and the firmware picks its mode from the data length. The guide says the command defaults already comply with the TCIF standard at any printhead density.

Field data: the ECI number (exactly six digits), a comma, a serial number of up to 25 alphanumeric characters, then optional comma-separated fields of up to 25 characters each, 150 bytes in total. If the seventh character is not a comma, only the Code 39 symbol prints.

In the preview

This command changes the printed label, but Labelixa's preview does not apply it yet. The linter reports it as ZPL1002, so you know the preview and the print will differ.

Example

^XA
^FO100,100
^BTN,2,2.0,40,2,4
^FD123456,SERIAL0001,ADDITIONAL^FS
^XZ

Defaults for a 203 dpi printer; ECI 123456, serial number and one additional field.

Parameters

ParameterDescriptionValuesDefault
oorientationN · R · I · B—
w1Code 39 module width in dots1–102 · 600 dpi: 4
r1Code 39 wide-to-narrow ratio, in steps of 0.12.0–3.02.0
h1Code 39 height in dots1–999940 · 300 dpi: 60 · 600 dpi: 120
w2MicroPDF417 narrow bar width in dots1–102 · 600 dpi: 4
h2MicroPDF417 row height in dots1–2554 · 600 dpi: 8

Source

Zebra ZPL II Programming Guide (P1134473-11EN Rev A), page 140. Zebra guide page →

^B3 · ^BF · ^FD

ZPL commands list and reference →

Try ZPL in the online viewer