Updated code for instance creation
This commit is contained in:
parent
ef84a5150f
commit
012d58f761
2
README
2
README
|
@ -72,7 +72,7 @@ The following example shows how to initialize the Epson TM-TI88IV
|
||||||
from escpos import *
|
from escpos import *
|
||||||
|
|
||||||
""" Seiko Epson Corp. Receipt Printer M129 Definitions (EPSON TM-T88IV) """
|
""" Seiko Epson Corp. Receipt Printer M129 Definitions (EPSON TM-T88IV) """
|
||||||
Epson = escpos.Escpos(0x04b8,0x0202)
|
Epson = printer.Usb(0x04b8,0x0202)
|
||||||
Epson.text("Hello World")
|
Epson.text("Hello World")
|
||||||
Epson.image("logo.gif")
|
Epson.image("logo.gif")
|
||||||
Epson.barcode
|
Epson.barcode
|
||||||
|
|
Loading…
Reference in New Issue