hi, i want to use printer directly,so i config all(2 php.ini and 1 php5.ini file i found) php.ini as add-
[printer]
printer.default_printer = "Your printer name"
at the end of the file and use function as
$url1="invoice.php?inid=".$row1[0];
$handle = printer_open();
printer_start_doc($handle, $url1);
printer_start_page($handle);
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
but when i run it
given the messege as
Fatal error: Call to undefined function printer_open()
plese help me