Skip to content

Finding the correct hex value for USB port? #379

@therealrobster

Description

@therealrobster

I see this line:

p = Usb(0x04b8, 0x0202, 0, profile="TM-T88III")

I can't for the life of me figure out how to get 0x04b8, 0x0202 but for my USB port? There's no docs anywhere on this (that I can find after an hour of searching) so I thought I'd ask. How can I find this?

I did an lsusb and got:

Bus 001 Device 002: ID 0456:0808 Analog Devices, Inc. USB POS Printer 

Does this help? Any advice would be great. Thank you

Device info

Hoin HOP E802 using CUPS and another docket printer's settings (working in linux)

python-escpos version: 2.2.0

python version: 3.75

operating system:
Linux / Ubuntu 19.10

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions