I have a non-fiscal Zebra TLP 2844 thermal printer, and I'm developing a password generation program to print on this printer.
I'm using the printer_
functions.
I tried the following sample code:
<?php
$handle = printer_open();
printer_write($handle, "Testando...");
printer_close($handle);
?>
But you are not printing the "printer_write" text. What can I be doing wrong?
I need to print without opening the printer's choice window, so I thought of this method. Could someone tell me another one?