Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4881

Python • Re: send .bin file via USB Port

$
0
0
I can confirm that it is capable of receiving .bin files, as this is a process I handle on a daily basis.
Previously you were sending the .bin file to 192.168.0.100 port 9000. Is that the printer? The link only says the printer has USB and RS232, not Ethernet.

If you were previously sending the .bin file to another computer that the printer was connected to, then you do not actually know whether the printer itself understands the .bin file. Maybe the drivers on the host convert from .bin to .notbin before passing to USB.

However, based on the fact that the printer has RS232 (and is intended for building into kiosks), I suspect the USB interface may present as a serial port, rather than a printer. Plug it into the Pi and check dmesg and lsusb. You may just be able to cat your .bin file into /dev/ttyUSBn.

Statistics: Posted by jojopi — Thu Jan 23, 2025 10:55 pm



Viewing all articles
Browse latest Browse all 4881

Trending Articles