ZPL to JScript
Paste ZPL and get a JScript job for cab printers (SQUIX, MACH 4S, EOS). Each label is uploaded as a monochrome BMP - or as a compressed PCX - into the printer's RAM and printed 1:1 as an image field.
Automate this tool via the API: POST /v1/tools/zpl-to-jscript
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.jscript
Windows PowerShell
$c = [Net.Sockets.TcpClient]::new('192.168.1.50', 9100)
$b = [IO.File]::ReadAllBytes("$PWD\label.jscript")
$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.jscript zplcloud send --usb --file label.jscript zplcloud send --remote-printer 4 --file label.zpl --language jscript