ZPL to CPCL
Paste ZPL and get a CPCL job for Zebra mobile printers (ZQ, QLn, RW) and other CPCL printers. The label is sent as CG graphic bands - blank rows cost nothing - as hex text or as a compressed PCX.
Automate this tool via the API: POST /v1/tools/zpl-to-cpcl
API docs
Send it to the printer
The file is a finished job: send it unchanged to TCP port 9100 of the printer - no driver needed. Replace the IP address with your printer's.
Linux / macOS
nc -q 1 192.168.1.50 9100 < label.cpcl
Windows PowerShell
$c = [Net.Sockets.TcpClient]::new('192.168.1.50', 9100)
$b = [IO.File]::ReadAllBytes("$PWD\label.cpcl")
$c.GetStream().Write($b, 0, $b.Length); $c.Close()
With the zplCloud CLI the job goes out byte-exact over TCP or USB, through a watch folder or through the agent to a printer in another network - the CLI can also convert ZPL itself with --language.
zplCloud CLI
zplcloud send --target 192.168.1.50 --file label.cpcl zplcloud send --usb --file label.cpcl zplcloud send --remote-printer 4 --file label.zpl --language cpcl
Preview appears here after conversion