Skip to content

Commit

Permalink
Merge pull request #315 from mike42/feature/new-printers-readme
Browse files Browse the repository at this point in the history
Maintenance update
  • Loading branch information
mike42 authored Mar 9, 2017
2 parents 269f0c9 + 1ec9eb1 commit 8f08019
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 173 deletions.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ Many thermal receipt printers support ESC/POS to some degree. This driver has be
- Excelvan HOP-E801
- Excelvan ZJ-8220
- Gainscha GP-5890x (Also marketed as EC Line 5890x)
- Gainscha GP-U80300I
- Gainscha GP-U80300I (Also marketed as gprinter GP-U80300I)
- gprinter GP-U80160I
- Hasar HTP 250
- Metapace T-1
- Okipos 80 Plus III
Expand All @@ -99,6 +100,8 @@ Many thermal receipt printers support ESC/POS to some degree. This driver has be
- Star TSP100 ECO
- Star TSP-650
- Star TUP-592
- SPRT SP-POS88V
- Xprinter F-900
- Xprinter XP-Q800
- Venus V248T
- Zjiang NT-58H
Expand Down Expand Up @@ -138,6 +141,20 @@ git clone https://github.com/mike42/escpos-php vendor/mike42/escpos-php
require __DIR__ . '/vendor/mike42/escpos-php/autoload.php';
```

#### Requirements

To maintain compatibility with as many systems as possible, this driver has few
hard dependencies:

- PHP 5.3 or above
- `mbstring` extension, since the driver accepts UTF-8 encoding.

It is also suggested that you install either `imagick` or `gd`, so that you can
print images.

A number of optional packages can be added to enable more specific features. These
are described in the "suggest" section of [composer.json](https://github.com/mike42/escpos-php/tree/master/composer.json).

### The 'Hello World' receipt

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.
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"ext-mbstring": "*"
},
"suggest": {
"guzzlehttp/guzzle": "Allows the use of the ApiConnector to send print jobs over HTTP."
"guzzlehttp/guzzle": "Allows the use of the ApiConnector to send print jobs over HTTP.",
"ext-imagick": "Will be used for image printing if present. Required for PDF printing or use of custom fonts.",
"ext-gd": "Used for image printing if present."
},
"require-dev": {
"phpunit/phpunit": "4.8.*",
Expand Down
Loading

0 comments on commit 8f08019

Please sign in to comment.