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

doc update methods and printers and use autodoc

This commit is contained in:
Patrick Kanzler
2017-01-26 00:23:50 +01:00
parent 7bf6a1791b
commit e595bc2150
3 changed files with 66 additions and 172 deletions

View File

@@ -182,9 +182,9 @@ class Network(Escpos):
def __init__(self, host, port=9100, timeout=60, *args, **kwargs):
"""
:param host : Printer's hostname or IP address
:param port : Port to write to
:param timeout : timeout in seconds for the socket-library
:param host: Printer's hostname or IP address
:param port: Port to write to
:param timeout: timeout in seconds for the socket-library
"""
Escpos.__init__(self, *args, **kwargs)
self.host = host