PHP code for printing a receipt in a receipt printer in Windows 7
Printer functions like printer_open()
etc do not work in my windows 7. I am using php 5.0 and it talks about calling undefined function. can anyone help me on how to print a receipt or in the first place send print jobs to the printer.
+3
user2023786
source
to share
2 answers
This error message undefined function
means that the printer extensions are not installed.
The documents contain installation instructions:
http://www.php.net/manual/en/printer.installation.php
0
leepowers
source
to share
php_printer.dll is no longer supported in PHP> 5.3.x. so make sure you have PHP 5.3.x and not 5.4.x and go here to download the linked DLL http://likepie.net/2012/php_printer-dll-and-php-5-3-9/
0
Long
source
to share