PHPackages                             mazinsw/escpos - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mazinsw/escpos

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mazinsw/escpos
==============

ESC/POS Printer Library

1.2.1(2y ago)108943MITPHPPHP &gt;= 8.1

Since Jul 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/mazinsw/escpos)[ Packagist](https://packagist.org/packages/mazinsw/escpos)[ Docs](https://github.com/mazinsw/escpos)[ RSS](/packages/mazinsw-escpos/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (7)Dependencies (5)Versions (8)Used By (0)

ESC/POS Printer Library
=======================

[](#escpos-printer-library)

Library to generate buffer for thermal printers
-----------------------------------------------

[](#library-to-generate-buffer-for-thermal-printers)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d7ef9358d7d60f042ac13386e9e826642325b8482ace37156b21a016c250cb5e/68747470733a2f2f706f7365722e707567782e6f72672f6d617a696e73772f657363706f732f76657273696f6e)](https://packagist.org/packages/mazinsw/escpos)[![Coverage Status](https://camo.githubusercontent.com/a8cf1c8f2f4b8acc05ca28a27180ddc47e93e116d7995c32e77895a3d969f3a2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d617a696e73772f657363706f732f6261646765732f636f7665726167652e706e67)](https://scrutinizer-ci.com/g/mazinsw/escpos/code-structure)[![Quality Score](https://camo.githubusercontent.com/e45754deed1a06fe0e746c8cf90d51ff5ccb7d9b093fe2534921fddf060bf087/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d617a696e73772f657363706f732f6261646765732f7175616c6974792d73636f72652e706e67)](https://scrutinizer-ci.com/g/mazinsw/escpos)[![Total Downloads](https://camo.githubusercontent.com/2a76a639bb85d208fc9aabe4fb32c6c2423e15a85b8a2dfacb844798dc10c4c9/68747470733a2f2f706f7365722e707567782e6f72672f6d617a696e73772f657363706f732f642f746f74616c2e737667)](https://packagist.org/packages/mazinsw/escpos)

Install
-------

[](#install)

You need [Composer](https://getcomposer.org) to install this library.

Run command bellow on your project folder

```
composer require mazinsw/escpos
```

Basic example
-------------

[](#basic-example)

```
