EtikStudio

プリンタ言語変換

Convert DPL to ZPL: retiring Datamax-O'Neil printers in favor of Zebra

How Datamax DPL record-based labels map to ZPL, the unit and record-structure differences, a worked example and a checklist for replacing legacy I-Class and M-Class printers.

この記事は英語とスペイン語で提供されています。

Datamax-O'Neil (now part of Honeywell) printers ran warehouses for two decades, and their DPL jobs are still buried in ERP print programs written when the I-Class was new. When those printers are replaced by Zebra ZT units, the DPL streams have to become ZPL. DPL is unusual: instead of commands with named parameters it uses fixed-width numeric records, which makes it compact to send and painful to read.

Command equivalents

OperationDPL (Datamax-O'Neil)ZPL (Zebra)
Start / end<STX>L … E (L opens the format, E prints it)^XA … ^XZ
Units<STX>n = inches (1/100 in), <STX>m = metric (1/10 mm)dots
TextRecord: rotation, font, width×, height×, size, row, column, data → 1911A030050 0020Hello^FO40,30 ^A0N,36,36 ^FDHello^FS
Code 128Record: rotation, symbology E, wide, narrow, height, row, column, data → 1E2209000650020data^BY2 ^BCN,90,Y,N,N ^FDdata^FS
Lines / boxesRecord type X with l (line) or b (box) and dimensions^GB300,2,2^FS
CopiesQ0005 inside the format^PQ5
Darkness / speedH15 (heat) / P (speed) records^MD10 ^PR4

What actually changes

Before and after (simplified)

<STX>n
<STX>L
D11
1911A030050 0020Safety Harness
1E2209000650020 7501234567893
Q0001
E
^XA
^PW812 ^LL609
^FO40,101 ^A0N,36,36 ^FDSafety Harness^FS
^FO40,132 ^BY2 ^BCN,90,Y,N,N ^FD7501234567893^FS
^PQ1
^XZ

Row 0050 and 0065 in hundredths of an inch became 101 and 132 dots; column 0020 became x = 40. The record fields were unpacked into named ZPL parameters.

Migration checklist

How EtikStudio does it

The DPL interpreter reads the unit mode, unpacks each record into position, font, size and data, and renders the label in millimeters. Export to a Zebra profile produces ZPL with converted coordinates and rebuilt barcodes; the fields the ERP used to fill become variables connected to the same data.

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

他のペア

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

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

無料トライアルを開始