1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

Merge branch 'development' into development

This commit is contained in:
Patrick Kanzler
2019-06-07 09:53:14 +02:00
committed by GitHub
2 changed files with 14 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
Ahmed Tahri Ahmed Tahri
akeonly
Asuki Kono Asuki Kono
belono belono
Christoph Heuel Christoph Heuel

View File

@@ -65,6 +65,19 @@ The basic usage is:
p.barcode('1324354657687', 'EAN13', 64, 2, '', '') p.barcode('1324354657687', 'EAN13', 64, 2, '', '')
p.cut() p.cut()
Another example based on the Network printer class:
.. code:: python
from escpos.printer import Network
kitchen = Network("192.168.1.100") #Printer IP Address
kitchen.text("Hello World\n")
kitchen.barcode('1324354657687', 'EAN13', 64, 2, '', '')
kitchen.cut()
The full project-documentation is available on `Read the Docs <https://python-escpos.readthedocs.io>`_. The full project-documentation is available on `Read the Docs <https://python-escpos.readthedocs.io>`_.
Contributing Contributing