Greetings, excuse my English, I am trying to print directly to my printer after adding a record with the following code php, inserted in the event "after record added":
$handle = printer_open();
printer_write($handle, "Text to print");
printer_close($handle);
But after adding the log gives me this error:
"Fatal error: Call to undefined function printer_open()"
that I can do to print a text or a variable or record contents added directly to my printer without the print manager, Thanks