From e350a49cada7e61152e80781328abc9efe0b33b1 Mon Sep 17 00:00:00 2001 From: Alexander Bougakov Date: Sun, 22 Mar 2020 13:36:49 +0300 Subject: [PATCH 1/2] Clarify the positions of vendor_id and product_id An existing example uses same value, `0x1a2b` in both `Vendor id` and `Product id` fields, which can confuse a new user. --- doc/user/usage.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/user/usage.rst b/doc/user/usage.rst index 37f234a..853484f 100644 --- a/doc/user/usage.rst +++ b/doc/user/usage.rst @@ -48,14 +48,16 @@ to have and the second yields the "Output Endpoint" address. By default the "Interface" number is "0" and the "Output Endpoint" address is "0x01". If you have other values then you can define them on -your instance. So, assuming that we have another printer where in\_ep is -on 0x81 and out\_ep=0x02, then the printer definition should look like: +your instance. So, assuming that we have another printer, CT-S2000, +manufactured by Citizen (with "Vendor ID" of 2730 and "Product ID" of 0fff) +where in\_ep is on 0x81 and out\_ep=0x02, then the printer definition should +look like: **Generic USB Printer initialization** :: - p = printer.Usb(0x1a2b,0x1a2b,0,0x81,0x02) + p = printer.Usb(0x2730, 0x0fff, 0, 0x81, 0x02) Network printer ^^^^^^^^^^^^^^^ From ae0a049efadc8047bca89c04dec76af05190e860 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Fri, 8 May 2020 22:43:47 +0200 Subject: [PATCH 2/2] fix authors file --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 2b5edc7..6f28dd8 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,6 @@ Ahmed Tahri akeonly +Alexander Bougakov Alex Debiasio Asuki Kono belono