How to print using receipt printer? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: How to print using receipt printer? (/showthread.php?tid=58182) |
How to print using receipt printer? - El Forum - 05-22-2013 [eluser]Unknown[/eluser] Hi, I have built some POS application and I already hosted it. I need to be able to give the customers a receipt of their order. My client is using a receipt printer (Epson TM220pd), my question is How can I print the invoice generate in php using the receipt printer? I've already tried using the printer_php.dll but it still gives me the "Call to undefined function printer_open()". Any ideas how to do this? How to print using receipt printer? - El Forum - 05-22-2013 [eluser]jairoh_[/eluser] i'm interested to this also. How to print using receipt printer? - El Forum - 05-23-2013 [eluser]TheFuzzy0ne[/eluser] You didn't mention the steps you took to enable the DLL. I take it you're running your server on Windows? Have you installed the PECL extension? Have you enabled php_printer.dll as an extension in your php.ini? Have you tried putting php_printer.dll into the 'ext' directory of your PHP installation? Have you verified that it's installed using phpinfo()? Have you tried manually loading the DLL at runtime using dl()? |