From 87546aa7a4664d4892bce69f940b3b454bb02a17 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Wed, 3 May 2017 22:00:29 +0200 Subject: [PATCH] format small printer usb id properly --- screenless/bureau/bureau.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/bureau.py b/screenless/bureau/bureau.py index ad3f612..c1db376 100644 --- a/screenless/bureau/bureau.py +++ b/screenless/bureau/bureau.py @@ -252,7 +252,7 @@ class Bureau(object): print on Thermal Line printer. """ # TODO: look up device and width in config - prn = printer.Usb(0x416, 05011, in_ep=0x81, out_ep=0x03) + prn = printer.Usb(0x416, 0x5011, in_ep=0x81, out_ep=0x03) text = textwrap.fill(text, width=48) text += "\r\n" * 2 prn.text(text + "\r\n\r\n")