I solved. Thanks. If anyone need it, send me a message.
Would you mind explaining how do you send ZPL commands from SC to a Zebra printer? I’m way out of my depth here.
Well in my case we have network cards in our printers… I can just push ZPL (Zebra Printer Language) directly to them on port 9100. If you don’t have network adapters in them you could use some software like RocketShipIt Print server to allow you to print to them from any web page/ Scriptcase app. I use the Print Server application at one of my clients without network printers.
The link is above.
Using a socket:
$fp = fsockopen(“192.168.0.192”, 9100, $errno, $errstr, 10);
if (!$fp) {
echo “$errstr ($errno)
\n”;
} else {
$Label =
“^XA”
."^MMT"
."^PW812"
."^LL1218"
."^LS0"
fwrite($fp, $Label);
I hope that helps!