import niimpy import qrcode from PIL import Image printer = niimpy.NiimpyPrinter("AA:BB:CC:DD:EE:FF") printer.connect() Generate a QR code qr = qrcode.make("https://github.com") qr.save("qrcode.png") Print it printer.print_image("qrcode.png", density=15, copies=2) Print plain text printer.print_text("Made with GitHub", font_size=24, alignment="center")
niimbot --address 11:22:33:44:55:66 print-image label.png --copies 5 niimbot scan # find nearby printers It’s single-binary, cross-platform, and significantly faster than Python for large batches. 4. Home Assistant Integration Repo: duhow/hass-niimbot niimbot github
Python developers, automation scripts, and integrating with home automation (Home Assistant, Node-RED). 2. NIIMBOT Web Bluetooth – Browser-Based Printing Repo: mikeage/niimbot-web import niimpy import qrcode from PIL import Image
This project leverages the Web Bluetooth API to print directly from a browser—no drivers, no installation. It supports the D11, D110, B21, and several
Niimpy is a pure Python library that reverse-engineers the Bluetooth communication protocol of NIIMBOT printers. It supports the D11, D110, B21, and several generic thermal label printers.
Have you used any of these NIIMBOT GitHub projects? Found a better one? Share your experience in the discussion section below (or on the repository’s issue tracker).