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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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