From 8bf0e08659f46266bc3af9f4db9dc545a9885918 Mon Sep 17 00:00:00 2001 From: Alex Debiasio Date: Thu, 13 Jun 2019 21:28:46 +0200 Subject: [PATCH 1/3] Implemented _read method of Network printer class --- src/escpos/printer.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/escpos/printer.py b/src/escpos/printer.py index 319d773..54eb74a 100644 --- a/src/escpos/printer.py +++ b/src/escpos/printer.py @@ -236,6 +236,11 @@ class Network(Escpos): """ self.device.sendall(msg) + def _read(self): + """ Read data from the TCP socket """ + + return self.device.recv(16) + def close(self): """ Close TCP connection """ if self.device is not None: From a7d959428fc5054dd28e41629e8dd4fa481b6626 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sat, 15 Jun 2019 22:50:50 +0200 Subject: [PATCH 2/3] update authors --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 02185a5..89f10bb 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,6 @@ Ahmed Tahri akeonly +Alex Debiasio Asuki Kono belono Christoph Heuel From 9dd966c2a377a8e0c61c2a7a93c3459a4a97f7b7 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sat, 15 Jun 2019 23:40:00 +0200 Subject: [PATCH 3/3] update mailmap --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index 5b909f6..4540049 100644 --- a/.mailmap +++ b/.mailmap @@ -12,3 +12,4 @@ Juanmi Taboada Juanmi Taboada Sergio Pulgarin reck31 +Alex Debiasio