Trình chỉnh sửa ZPL trực tuyến

Dùng trình này khi cần cấu trúc rõ hơn ô văn bản đơn giản. Tô sáng giúp rà lệnh trước ZPL preview. Sau khi xem trước ZPL thành công, tải PNG hoặc PDF như trong ZPL Viewer. «ZPL preview» ở đây là kết xuất nhãn để kiểm tra bố cục trước khi in.

Label size813 × 1219 target dots (dpmm) · 8/12/24 dpmm ≈ 203/300/600 DPI
ZPL

Bản xem trước ZPL sẽ xuất hiện ở đây.

Rendered by Labelary. PNG exports the selected label; PDF exports all labels. Verify printing and scanning on real equipment.

Best for one-line ERP/WMS ZPL

Editing dense production ZPL from ERP, WMS, shipping, or marketplace integrations while keeping commands readable before preview.

Edit, format, preview and export

Paste production ZPL, format or compare it, preview the label at the target density, then export PNG or PDF proof for review.

Next step: approval report or barcode check

Use the approval report for release notes, or check barcode width and scan readiness before production printing.

One-line ERP/WMS ZPL example

Many production systems emit compact ZPL on one line. The editor makes that payload readable before a preview, support ticket, or approval review.

Before formatting

^XA^PW812^LL1218^FO48,48^A0N,42,42^FD{{ORDER_NO}}^FS^FO48,118^A0N,30,30^FD{{SHIP_TO}}^FS^FO48,220^BY3^BCN,130,Y,N,N^FD{{TRACKING}}^FS^XZ

After editing for review

^XA
^PW812
^LL1218
^FO48,48^A0N,42,42^FD{{ORDER_NO}}^FS
^FO48,118^A0N,30,30^FD{{SHIP_TO}}^FS
^FO48,220^BY3
^BCN,130,Y,N,N
^FD{{TRACKING}}^FS
^XZ

Trình chỉnh sửa này liên quan ZPL preview ra sao

Sửa với tô sáng

Dán hoặc gõ ZPL; lệnh rõ ràng, dễ bắt lỗi.

Chạy ZPL preview

Cùng ZPL preview Labelary như trang chủ—thấy pixel, không đoán.

Xuất PNG hoặc PDF

Sau ZPL preview, lưu PNG hoặc PDF—tùy chọn tải ZPL cho máy in.

Next step

What to do after this tool

Continue the label workflow with the next practical check instead of starting over from the tools menu.

Câu Hỏi Thường Gặp

Có phải cùng ZPL preview với viewer chính?
▼
Có—ZPL preview dùng cùng API máy chủ. Trang này thêm trình sửa dễ đọc; trang viewer phù hợp một ô lớn.
Có ZPL sang PNG/PDF ở đây không?
▼
Sau khi ZPL preview tải ảnh, dùng Tải PNG hoặc Tải PDF—như trong ZPL Viewer.
ZPL preview hoạt động ngoại tuyến?
▼
Không. ZPL preview do backend và Labelary kết xu—cần mạng.
Vì sao nhắc ZPL preview nhiều?
▼
ZPL preview là kiểm tra an toàn nhất trước khi in. Lặp lại giúp sớm phát hiện căn chỉnh và lỗi mã vạch.

Reproduce this workflow

Sample input

Load the shipping, barcode, QR or minimal template and edit its fields.

Expected result

The input remains editable; dimensions and density control the preview canvas. Export the original ZPL for printing.

Failure and correction

A field outside the selected canvas is clipped. Check ^FO coordinates and physical label size before changing printer calibration.

Support and data handling

Formatting and rule checks are separate tools in All Tools. The preview uses Labelary and its command support limits.

^XA
^FO20,20^A0N,24,24^FDSAMPLE 1001^FS
^FO20,60^BY2
^BCN,70,Y,N,N^FDABC123^FS
^XZ
The input remains editable; dimensions and density control the preview canvas. Export the original ZPL for printing.

Maintained by ZPLPreview · Updated 2026-11-01 · Engine verification; no physical printer certification. About · Contact

Online ZPL Editor with Live Preview, Formatter and PDF Export