Printing receipts to thermal printer

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rhecker
Forum Contributor
Posts: 178
Joined: Fri Jul 11, 2008 5:49 pm

Printing receipts to thermal printer

Post by rhecker »

I need to be able to print receipts from my self-made shopping cart to an Epson T20 thermal printer. Nothing fancy. Don't need to control cash drawer or anything else. Just print the receipt text and cut the paper.

I have so far failed to get php_printer properly installed on my Win7 PHP 5.4.16 development system. I tried several different versions, It is in my extension directory, and I added it in php.ini.

Before I continue to try to get php_printer to work, is this actually the solution others use? I discovered jzebra, but it seems like overkill for my needs. For one thing, the printer will always be a T20, so we don't need a process to identify and configure printers.

Although my development environment is Windows, the solution must also work from the remote LAMP web server, as long as the user has the T20 printer attached.
Post Reply