ZPL to TPCL
Paste ZPL and get a TPCL job for Toshiba Tec label printers (B-EX4, B-FV4, BA400). Each label is sent with {SG;…|} at the printer's resolution - optionally with Toshiba's TOPIX compression, which shrinks a shipping label to a few kilobytes.
Automate this tool via the API: POST /v1/tools/zpl-to-tpcl
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.tpcl
Windows PowerShell
$c = [Net.Sockets.TcpClient]::new('192.168.1.50', 9100)
$b = [IO.File]::ReadAllBytes("$PWD\label.tpcl")
$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.tpcl zplcloud send --usb --file label.tpcl zplcloud send --remote-printer 4 --file label.zpl --language tpcl