EtikStudio

프린터 언어 변환

Convert TPCL to ZPL: moving Toshiba TEC label jobs to Zebra printers

How Toshiba TPCL format/data commands become ZPL fields, converting 0.1 mm coordinates to dots, fonts and barcode types, a worked example and a migration checklist.

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

A retailer that standardizes on Zebra after years of Toshiba B-SA and B-EX printers has hundreds of TPCL jobs generated by its POS or WMS. TPCL is readable — commands in braces with clear separators — so the translation to ZPL is mostly a matter of merging each format/data pair into one field and converting metric positions to dots for the target resolution.

Command equivalents

OperationTPCL (Toshiba TEC)ZPL (Zebra)
Start / end{C|} clears; {XS;…|} issues the label^XA … ^XZ
Label size{D0762,1016,0762|} pitch, width, length in 0.1 mm^PW812 ^LL609 (dots)
Text{PC001;0050,0038,1,1,A,00,B|} + {RC001;Hello|} (format then data)^FO40,30 ^A0N,36,36 ^FDHello^FS
Code 128{XB01;0050,0163,3,1,02,0,0114,+0000000000,1,0,00|} + {RB01;data|}^BY2 ^BCN,90,Y,N,N ^FDdata^FS
Line / box{LC;x1,y1,x2,y2,0,2|}^GB300,2,2^FS
Copies{XS;I,0005,0002C3000|}^PQ5
Units0.1 mm regardless of resolutiondots

What to watch

Before and after (simplified)

{D0500,0600,0500|}
{C|}
{PC001;0030,0025,1,1,A,00,B|}
{RC001;URBAN SNEAKERS|}
{PC002;0030,0060,1,1,A,00,B|}
{RC002;SKU: ZP-001-BLK|}
{XB01;0030,0120,3,1,02,0,0080,+0000000000,1,0,00|}
{RB01;ZP001BLK|}
{XS;I,0001,0002C3000|}
^XA
^PW480 ^LL400
^FO24,20 ^A0N,26,26 ^FDURBAN SNEAKERS^FS
^FO24,48 ^A0N,20,20 ^FDSKU: ZP-001-BLK^FS
^FO24,96 ^BY2 ^BCN,64,Y,N,N ^FDZP001BLK^FS
^PQ1
^XZ

How EtikStudio does it

The TPCL interpreter pairs formats with their data, keeps the metric positions as the design's native units and lets you pick any Zebra profile for export; dots are computed for that printer's resolution, so the same design serves 203 and 300 dpi units without two versions.

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

다른 조합

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

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

무료 체험 시작