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
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
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