EtikStudio

프린터 언어 변환

Convert ZPL to CPCL: taking plant labels to Zebra mobile printers (QL, ZQ series)

ZPL to CPCL command equivalents for portable Zebra printers, the differences in units and structure, a before/after example and what to check for delivery and field labels.

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

CPCL is the language of Zebra's portable printers — the QL and ZQ series clipped to a delivery driver's belt or a forklift. Many ZQ models also accept ZPL, but older QL units and some configurations only speak CPCL, and CPCL jobs are smaller and faster over Bluetooth. Reusing the plant's ZPL designs on the route means translating them.

Command equivalents

OperationZPLCPCL
Start / end^XA … ^XZ! 0 200 200 <height> <qty> … PRINT
Label size^PW ^LLPW <width> and height in the ! header (dots)
Text^FO40,30 ^A0N,36,36 ^FDHello^FSTEXT 4 0 40 30 Hello (font, size, x, y)
Scaled text^A0N,60,60SETMAG 2 2 before TEXT (integer magnification)
Code 128^BY2 ^BCN,90,Y,N,N ^FDdata^FSBARCODE 128 2 1 90 40 130 data (+ BARCODE-TEXT for HRI)
QR code^BQN,2,6 ^FDQA,data^FSBARCODE QR 40 130 M 2 U 6 … MA,data … ENDQR
Box / line^GB300,2,2^FSBOX x0 y0 x1 y1 2 / LINE x0 y0 x1 y1 2
Copies^PQ3last number of the ! header, or PRINT repeated
Darkness / speed^MD ^PRTONE 15 SPEED 3

What actually changes

Before and after

^XA
^PW576 ^LL400
^FO20,20 ^A0N,30,30 ^FDSJD-4587-22^FS
^FO20,60 ^A0N,20,20 ^FDDestination: Madrid^FS
^FO20,110 ^BY2 ^BCN,80,Y,N,N ^FDSJD458722^FS
^PQ1
^XZ
! 0 200 200 400 1
PW 576
TEXT 4 0 20 20 SJD-4587-22
TEXT 7 0 20 60 Destination: Madrid
BARCODE-TEXT 7 0 5
BARCODE 128 2 1 80 20 110 SJD458722
BARCODE-TEXT OFF
PRINT

How EtikStudio does it

Select a mobile printer profile and the same design exports CPCL with the header computed from the label size, fonts rounded to SETMAG values with a warning if a text would overflow, and the barcode HRI wrapped in BARCODE-TEXT. From the mobile app, the driver prints the label on the belt printer; the plant keeps printing ZPL from the identical design.

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

다른 조합

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

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

무료 체험 시작