Relative Content

Tag Archive for python-3.xprintingbluetoothraspberry-pi4bluez

Connect a raspberry pi to a bluetooth thermal printer with Bluez API

I am trying to connect a thermal printer to a raspberry pi 4 running Raspbian GNU/Linux 12 (bookworm) using the Bluez API.
So far I managed to pair with the printer, but now I am struggling to connect the raspi with it. Since the printer uses a Bluetooth’s Serial Port Profile, I managed to connect with it via CLI with rfcomm, but I want to do it 100% programatically in a sort of wizard embedded in a django application.