EtikStudio

프린터 언어 변환

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

How TSPL commands translate to ZPL, the traps in units, fonts and barcode widths, a real before/after label, and how to bring a TSC label library to Zebra printers.

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

The reverse migration happens when a company standardizes on Zebra for its industrial lines, inherits TSC labels from an acquisition, or must deliver ZPL because a customer's WMS sends it straight to the printer. TSPL is a friendlier language to read, so the translation to ZPL is mostly about respecting ZPL's stricter structure: everything inside ^XA…^XZ, every field opened with ^FO and closed with ^FS.

Command equivalents

OperationTSPL (TSC)ZPL (Zebra)
Start / end of labelCLS … PRINT 1^XA … ^XZ
Label sizeSIZE 100 mm,75 mm GAP 3 mm,0^PW800 ^LL600 (dots)
Field positionFirst two parameters of TEXT/BARCODE (x,y in dots)^FO50,40 (x,y in dots)
TextTEXT 50,40,"0",0,12,12,"Hello"^A0N,40,40 ^FDHello^FS
Code 128BARCODE 50,150,"128",80,1,0,2,4,"12345"^BY2 ^BCN,80,Y,N,N ^FD12345^FS
QR codeQRCODE 400,150,M,6,A,0,"data"^BQN,2,6 ^FDQA,data^FS
Data MatrixDMATRIX 400,150,120,120,"data"^BXN,6,200 ^FDdata^FS
Box / lineBOX x,y,xend,yend,2 / BAR x,y,w,h^GB300,2,2^FS
CopiesPRINT 10,1^PQ10
Darkness / speedDENSITY 10 SPEED 4^MD15 ^PR4

What actually changes

Before and after: the same label

SIZE 60 mm,40 mm
GAP 2 mm,0
CLS
TEXT 20,20,"3",0,1,1,"LOC-A01-03"
BARCODE 20,60,"128",80,1,0,2,2,"LOCA0103"
PRINT 1
^XA
^PW480 ^LL320
^FO20,20 ^A0N,30,30 ^FDLOC-A01-03^FS
^FO20,60 ^BY2 ^BCN,80,Y,N,N ^FDLOCA0103^FS
^PQ1
^XZ

Migration checklist

How EtikStudio does it

Import the TSPL job, correct anything visually, select a Zebra profile and export ZPL. Fonts are matched by printed metrics, ^BY is derived from the narrow bar width you had, and the human-readable line is regenerated from the same data field so the two never diverge.

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

다른 조합

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

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

무료 체험 시작