I have:
This is rather a question than a bug: I am trying to print to a cat thermal printer MX06 similar to this one via rfcomm and using printer.File('/dev/rfcomm0') without success. I would appreciate any help on that !
Steps to reproduce
- connect Raspberry Pi to the printer via
bluetoothctl
- configure bluetooth device as serial port with
sudo rfcomm bind /dev/rfcomm0 MAC-ADRESS
- create printer with
p = printer.File('/dev/rfcomm0')
- command to send test line to printer with
p.text("Hello World\n") not responding - no error message though
Device info
Printer: 'Cat' Thermal Printer Model MX06
python-escpos version: 3.1
python version: 3.12.2
operating system: Raspbian GNU/Linux (Raspberry Pi 4)
I have:
This is rather a question than a bug: I am trying to print to a cat thermal printer MX06 similar to this one via
rfcommand usingprinter.File('/dev/rfcomm0')without success. I would appreciate any help on that !Steps to reproduce
bluetoothctlsudo rfcomm bind /dev/rfcomm0 MAC-ADRESSp = printer.File('/dev/rfcomm0')p.text("Hello World\n")not responding - no error message thoughDevice info
Printer: 'Cat' Thermal Printer Model MX06
python-escpos version: 3.1
python version: 3.12.2
operating system: Raspbian GNU/Linux (Raspberry Pi 4)