ZPL to Brother Raster
Paste ZPL and get a Brother raster job for QL, TD-4 and P-touch printers. Pick the model: head width, resolution and media margins come from Brother's command reference, and the label is centred on the narrowest media that fits. Optional TIFF compression.
Automate this tool via the API: POST /v1/tools/zpl-to-brother
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.bin
Windows PowerShell
$c = [Net.Sockets.TcpClient]::new('192.168.1.50', 9100)
$b = [IO.File]::ReadAllBytes("$PWD\label.bin")
$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.bin zplcloud send --usb --file label.bin zplcloud send --remote-printer 4 --file label.zpl --language brother