I own Sewoo Thermal Printer that is connected to a local PHP point of sale. Now as a simple print test using php, I wrote the following code :
<?php
$handle = printer_open("THERMAL LK-TXXX");
$handle = printer_open();
?>
And I got this Error :
Fatal error: Call to undefined function printer_open() in C:\wamp\www\frame\reciept.php on line 2
I'm using Wampp as my web server, Windows 7 and I've installed the correct drivers for my printer. How can i fix this problem, Or is there an alternative "Print" methode using PHP to automatically print without showing Print preview?
Thank You