EtikStudio

프린터 언어 변환

Convert ZPL to TSPL: command equivalents and migration guide (Zebra → TSC)

How ZPL commands map to TSPL, what changes in units, fonts and barcodes, a real before/after label, and how to migrate a Zebra label library to TSC printers without redesigning.

이 글은 영어와 스페인어로 제공됩니다.

Moving from Zebra to TSC is the most common printer migration in logistics and retail: TSC units cost less and the mechanics are compatible with the same labels and ribbons. The obstacle is the language. ZPL and TSPL describe the same things — a text at a position, a barcode, a box — with completely different syntax, so every existing ZPL template has to be rewritten unless something translates it for you.

Command equivalents

OperationZPL (Zebra)TSPL (TSC)
Start / end of label^XA … ^XZCLS … PRINT 1
Label size^PW800 ^LL600 (dots)SIZE 100 mm,75 mm GAP 3 mm,0
Field position^FO50,40 (x,y in dots)First two parameters of TEXT/BARCODE (x,y in dots)
Text^A0N,40,40 ^FDHello^FSTEXT 50,40,"0",0,12,12,"Hello"
Code 128^BY2 ^BCN,80,Y,N,N ^FD12345^FSBARCODE 50,150,"128",80,1,0,2,4,"12345"
QR code^BQN,2,6 ^FDQA,data^FSQRCODE 400,150,M,6,A,0,"data"
Data Matrix^BXN,6,200 ^FDdata^FSDMATRIX 400,150,120,120,"data"
Box / line^GB300,2,2^FSBOX x,y,xend,yend,2 / BAR x,y,w,h
Copies^PQ10PRINT 10,1
Darkness / speed^MD15 ^PR4DENSITY 10 SPEED 4

What actually changes

Before and after: the same label

^XA
^PW812 ^LL609
^FO40,30 ^A0N,36,36 ^FDSafety Harness^FS
^FO40,80 ^A0N,24,24 ^FDLOT: MX-24-0917^FS
^FO40,130 ^BY2 ^BCN,90,Y,N,N ^FD7501234567893^FS
^PQ1
^XZ
SIZE 101.6 mm,76.2 mm
GAP 3 mm,0
DIRECTION 1
CLS
TEXT 40,30,"0",0,11,11,"Safety Harness"
TEXT 40,80,"0",0,7,7,"LOT: MX-24-0917"
BARCODE 40,130,"128",90,1,0,2,4,"7501234567893"
PRINT 1,1

Note how the label size becomes physical units, every field carries its own coordinates, and the barcode declares its bar widths inline. The data — product, lot, GTIN — is untouched; only the wrapper changed.

Migration checklist

How EtikStudio does it

Paste or import the ZPL file; the interpreter renders it as an editable design in millimeters. Choose a TSC printer profile and export: EtikStudio regenerates TSPL with coordinates scaled to the target resolution, fonts substituted with matching metrics, barcodes rebuilt by module and logos re-encoded. The same design keeps printing on the Zebra units until the last one is retired.

명령 예시는 이해를 돕기 위해 단순화했습니다. 정확한 문법은 프린터 모델과 펌웨어에 따라 다르므로 항상 대상 프린터에서 테스트하세요.

다른 조합

다음 라벨이, 다시 만드는 마지막 라벨이 될 수 있습니다.

저희 팀과 상담하시면 함께 체험을 활성화해 드립니다. 약정 없음.

무료 체험 시작