Open IvanPagan opened 2 years ago
Hi @IvanPagan,
When using templates. You add the object you want to manipulate in your template and give it a unique Object Name
in the P-touch Editor software.
Then you can use the ObjectCommand
interface like so to change the values in your template,
$printer = new Printer(new Template(5, $stream)); // Template #5 stored on the printer
$printer->addCommand(new Command\ObjectCommand('barcode', "123456"));
$printer->addCommand(new Command\ObjectCommand('text', "IvanPagan"));
$printer->printLabel();
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