NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2314 most downloaded on Packagist
PHP receipt printer library for use with ESC/POS-compatible thermal and impact printers
Latest stable
v2.0.2
Last release 4 months ago
01 Jul 2026
Ships unpredictably
gaps range from 8 days to 4.1 years
Most releases are documented
notes for 16 of 20 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
20 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
FilePrintConnector throwing warnings if it was closed twice. #595
Bug and code fixes:
FilePrintConnector throwing warnings if it was closed twice. #595Printer.php, fixed by @wavoeNew printers tested:
This point release includes an updated copy of receipt-print-hq/escpos-printer-db, so that character encoding improvements are accessible on these pri
This point release includes an updated copy of receipt-print-hq/escpos-printer-db, so that character encoding improvements are accessible on these printers:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
This release includes the addition of a timeout parameter to NetworkPrintConnector.
This release includes the addition of a timeout parameter to NetworkPrintConnector.
Tested on new devices:
Changes are limited to build and documentation fixes.
Changes are limited to build and documentation fixes.
Bug fixes:
Tested on new devices:
Add to list of printers known to work
Nothing published for this version
Added barcode length example #112
This change updates the supported PHP versions, and contains some breaking changes to improve compatibility with newer PHP installs.
This change updates the supported PHP versions, and contains some breaking changes to improve compatibility with newer PHP installs.
Breaking changes to users who are upgrading:
Deprecations:
DummyPrintConnector has been marked as deprecated and will be removed in a future release. The functionality is now available as the MemoryPrintConnector. This is a print connector which is used to capture input internally for testing, but is part of the public API.This change updates the supported PHP versions, and contains some breaking changes to improve compatibility with newer PHP installs.
This change updates the supported PHP versions, and contains some breaking changes to improve compatibility with newer PHP installs.
Breaking changes to users who are upgrading:
declare(strict_types=1), which will cause errors for callers which are not using the correct scalar types.Bug fixes:
vendor/autoload.php, so they will work if this repository is checked out and used standalone.Breaking changes for developers who are upgrading:
Breaking changes for developers who are upgrading:
intl PHP extension is now required (see docs). This replaces the use of mbstring and iconv, which are no longer used.Printer::text() will now throw an Exception if invalid UTF-8 is supplied. Use Printer::textRaw() if you are encoding text manually.CapabilityProfile have been removed (eg. StarCapabilityProfile). Use a named profile with CapabilityProfile::load() instead.New features:
gd or imagick being present in most cases.MultiplePrintConnector has been added, which allows developers to route identical print data to multiple printers simultaneously.Experimental features:
UnifontPrintBuffer, which uses glyphs from a GNU Unifont hex file as an alternative to the on-board printer fonts. See the included unifont-print-buffer.php example for usage.Bug fixes:
New features: - A RawBT connector and example Newly tested printers: - Bixolon SRP-350Plus - CHD TH-305N - Elgin i9 - Everycom EC-58 - Gainscha GP-212
New features:
Newly tested printers:
Upside-down printing is now implemented #615
New features:
Bug and code fixes:
WindowsPrintConnector for PHP 7.3 compatibilityNewly tested printers:
You must have PHP 5.4 or HHVM 3.21 or higher to upgrade to this version.
You must have PHP 5.4 or HHVM 3.21 or higher to upgrade to this version.
New features:
Bug fixes:
Tested on new devices:
Release paper function for Epson TM-U295 #417
New features:
+ character in passwords for Windows shared printers #392Tested on new devices:
This is expected to be the final release in the 1.x series. Newer versions will drop support for some end-of-life PHP versions.
New device profiles included from receipt-print-hq/escpos-printer-db:
Highlights of this release:
New device profiles included from receipt-print-hq/escpos-printer-db:
AuresCustomerDisplay class)New connector:
ApiPrintConnector, implementing connectivity to instances of ablunier/escpos-print-api.Build and documentation fixes:
Bug fixes:
LPT1 connection is used - #277Tested on new devices:
Added support for PD417 2D codes #170
Highlights of this release:
WindowsPrintConnector, where smbclient is not installed #168This release also contains a large number of non-code updates. See all issues and pull requests in this milestone.
Added left/right margins & line spacing features #130
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.