markdownify readme
This commit is contained in:
parent
a6c72adc58
commit
f273b51917
10
README.md
10
README.md
|
@ -3,8 +3,8 @@ ESCPOS
|
||||||
|
|
||||||
Python library to manipulate ESC/POS Printers.
|
Python library to manipulate ESC/POS Printers.
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
1. Dependencies
|
1. Dependencies
|
||||||
|
------------------------------------------------------------------
|
||||||
|
|
||||||
In order to start getting access to your printer, you must ensure
|
In order to start getting access to your printer, you must ensure
|
||||||
you have previously installed the following python modules:
|
you have previously installed the following python modules:
|
||||||
|
@ -12,8 +12,8 @@ you have previously installed the following python modules:
|
||||||
* pyusb (python-usb)
|
* pyusb (python-usb)
|
||||||
* PIL (Python Image Library)
|
* PIL (Python Image Library)
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
2. Description
|
2. Description
|
||||||
|
------------------------------------------------------------------
|
||||||
|
|
||||||
Python ESC/POS is a library which lets the user have access to all
|
Python ESC/POS is a library which lets the user have access to all
|
||||||
those printers handled by ESC/POS commands, as defined by Epson,
|
those printers handled by ESC/POS commands, as defined by Epson,
|
||||||
|
@ -32,8 +32,8 @@ Also, this module handles some hardware functionalities like, cut
|
||||||
paper, carrier return, printer reset and others concerned to the
|
paper, carrier return, printer reset and others concerned to the
|
||||||
carriage alignment.
|
carriage alignment.
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
3. Define your printer
|
3. Define your printer
|
||||||
|
------------------------------------------------------------------
|
||||||
|
|
||||||
Before start create your Python ESC/POS printer instance, you must
|
Before start create your Python ESC/POS printer instance, you must
|
||||||
see at your system for the printer parameters. This is done with
|
see at your system for the printer parameters. This is done with
|
||||||
|
@ -62,8 +62,8 @@ By default the "Interface" number is "0" and the "Output Endpoint"
|
||||||
address is "0x82", if you have other values then you can define
|
address is "0x82", if you have other values then you can define
|
||||||
with your instance.
|
with your instance.
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
4. Define your instance
|
4. Define your instance
|
||||||
|
------------------------------------------------------------------
|
||||||
|
|
||||||
The following example shows how to initialize the Epson TM-TI88IV
|
The following example shows how to initialize the Epson TM-TI88IV
|
||||||
*** NOTE: Always finish the sequence with Epson.cut() otherwise
|
*** NOTE: Always finish the sequence with Epson.cut() otherwise
|
||||||
|
@ -79,8 +79,8 @@ The following example shows how to initialize the Epson TM-TI88IV
|
||||||
Epson.barcode('1324354657687','EAN13',64,2,'','')
|
Epson.barcode('1324354657687','EAN13',64,2,'','')
|
||||||
Epson.cut()
|
Epson.cut()
|
||||||
|
|
||||||
------------------------------------------------------------------
|
|
||||||
5. Links
|
5. Links
|
||||||
|
------------------------------------------------------------------
|
||||||
|
|
||||||
Please visit project homepage at:
|
Please visit project homepage at:
|
||||||
http://repo.bashlinux.com/projects/escpos.html
|
http://repo.bashlinux.com/projects/escpos.html
|
||||||
|
|
Loading…
Reference in New Issue