Label-Printer icon indicating copy to clipboard operation
Label-Printer copied to clipboard

Special characters

Open vaclavgreif opened this issue 2 years ago • 0 comments

Is there any way to support special characters? I tried with template

$stream = stream_socket_client('tcp://10.0.0.16:9100', $errorNumber, $errorString);
$printer = new Printer(new Template(3, $stream));
$printer->addCommand(new Command\ObjectCommand('address', 'ěščřžýáíééĚŠČŘŽÝÁÍÍÉ'));
$printer->printLabel();    

The printed label is with wrong encoded characters.

vaclavgreif avatar Oct 30 '22 13:10 vaclavgreif