Hi, I'm trying to print barcodes but allways have the same, a commands string, For example I got "itrhwzBCA04220007510" trying to print CA04220007510 barcode with code128.
$stream = stream_socket_client('tcp://'.$printer_ip.':9100', $errorNumber, $errorString);
$printer = new Printer(new Template(2, $stream));
$printer->addCommand(new Command\Barcode($product->reference, 29, Command\Barcode::WIDTH_MEDIUM, 'CODE39', true, 2.5));
$printer->printLabel();
fclose($stream);
Whats happend? Ineed to do something more?
Thanks
Hi, I'm trying to print barcodes but allways have the same, a commands string, For example I got "itrhwzBCA04220007510" trying to print CA04220007510 barcode with code128.
Whats happend? Ineed to do something more?
Thanks