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.

コマンド例は分かりやすさのため簡略化しています。正確な構文はプリンタの機種とファームウェアにより異なります。必ず対象プリンタでテストしてください。

他のペア

次のラベルが、作り直す最後の一枚になるかもしれません。

チームにご相談ください。一緒にトライアルを開始します。契約縛りなし。

無料トライアルを開始