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 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 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: