mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
Updated code for instance creation
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user