This project implements a subset of Epson's ESC/POS protocol for thermal receipt printers. It allows you to generate and print receipts with basic formatting, cutting, and barcodes on a compatible printer. The library was developed to add drop-in support for receipt printing to any PHP app, including web-based point-of-sale (POS) applications. Many thermal receipt printers support ESC/POS to some degree. This library is designed for use with the composer PHP dependency manager. To make use of this driver, your server (where PHP is installed) must be able to communicate with your printer. Start by generating a simple receipt and sending it to your printer using the command-line.

Features

  • Communicate with a printer with an Ethernet interface using netcat
  • A USB local printer connected with usblp on Linux has a device file (Includes USB-parallel interfaces)
  • Use a PrintConnector
  • Use a CapabilityProfile
  • Available methods and examples
  • Several interfaces and operating systems

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ESC/POS Print Driver for PHP

ESC/POS Print Driver for PHP Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ESC/POS Print Driver for PHP!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

PHP

Related Categories

PHP Barcode Generators

Registered

2023-04-04