diff --git a/escpos/printer.py b/escpos/printer.py index 1c3f92f..07e7011 100644 --- a/escpos/printer.py +++ b/escpos/printer.py @@ -167,7 +167,7 @@ class Network(Escpos): :param msg: arbitrary code to be printed """ - self.device.send(msg) + self.device.sendall(msg) def __del__(self): """ Close TCP connection """