Skip to content

Can't print on uncommon printer model #7

@CubeBag

Description

@CubeBag

According to the QR code information page that prints out, my device's name is YHK-9B51 (instead of the more common GB01, GB02, etc). It seems the last four digits of the device name come from the mac address which ends in :9B:51. However, when I use bleak to scan devices, what shows up under the name "YHK-9B51" has a completely different MAC address ending in :C4:AD. (Specifically, when I try to pair the printer in Windows, two copies of "YHK-9B51" show up. One pairs but doesn't connect, and the other always rejects a connection. I'm not sure if any of that info is helpful, it is just things I've found while troubleshooting.

Anyways, when I run the print script with devicename set to YHK-9B51, sometimes it exits with exception asyncio.exceptions.TimeoutError and other times it first says Connected: True; MTU: 508 and then exits with exception bleak.exc.BleakError: Characteristic 0000ae01-0000-1000-8000-00805f9b34fb was not found! Could this be a newer hardware revision that's not compatible with the program, and if so, is there any data I could provide to help support it? (Also, I also tried this on macOS 12 Monterey, but bleak does not show any devices whatsoever because bleak currently doesn't support Monterey: hbldh/bleak#635)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions