Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitguigal committed Jun 10, 2014
1 parent 1122827 commit a0d795d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@ Python library for EPSON thermal printers

A python library to control thermal printers based on the ESC/POS language as defined by Epson.

### Installation
Clone the project
```
git clone https://github.com/benoitguigal/python-epson-printer.git
```
Install dependencies
```
sudo python setup.py install
```
Connect your EPSON thermal printer via a USB port and run
```
lsusb
Bus 001 Device 005: ID 04b8:0e03 Seiko Epson Corp.
```
Write down the vendor_id and the product_id and pass them as arguments to the test page
```
sudo python epson_printer/test_page.py -v 0x04b8 -p 0x0e03
```


### Devices
The library should work with all ESC/POS-based Epson printers but it has only been tested with a TM-T20.

Expand All @@ -25,6 +45,7 @@ The library should work with all ESC/POS-based Epson printers but it has only be
* full paper cut



### Credits
* [python-escpos code on google](https://code.google.com/p/python-escpos/)
* [sending-a-bit-image-to-an-epson-tm-t88iii-receipt-printer-using-c-and-escpos blog post](http://nicholas.piasecki.name/blog/2009/12/sending-a-bit-image-to-an-epson-tm-t88iii-receipt-printer-using-c-and-escpos/)
Expand Down

0 comments on commit a0d795d

Please sign in to comment.