Skip to content

Doesn't work on windows #82

@nakanakaii

Description

@nakanakaii

I tried to run this code on my printer MXW01 but it doesn't print anything on windows but it does on macOS

output on Windows:

> py print.py -d XX:XX:XX:XX:XX:XX -l debug test.jpg
⏳ Applying Floyd-Steinberg dithering to image...
✅ Done.
✅ Read image: (384, 384) (h, w) pixels
✅ Generated BLE commands: 17978 bytes
⏳ Connecting to XX:XX:XX:XX:XX:XX...
✅ Connected: True; MTU: 512
⏳ Sending 17978 bytes of data in chunks of 509 bytes...
⏳ Done printing. Waiting for printer to be ready...
🛑 Timed out while waiting for printer done event. Exiting.

but on macOS

$ py print.py -d XX:XX:XX:XX:XX:XX -l debug test.jpg
⏳ Applying Floyd-Steinberg dithering to image...
✅ Done.
✅ Read image: (384, 384) (h, w) pixels
✅ Generated BLE commands: 17978 bytes
⏳ Connecting to 48:0F:57:20:38:7F...
✅ Connected: True; MTU: 512
⏳ Sending 17978 bytes of data in chunks of 509 bytes...
⏳ Done printing. Waiting for printer to be ready...
✅ Done.

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