sprocket-cli
Print instant photos from your terminal with the HP Sprocket 200.
- platform
- Linux, macOS, Windows
- stack
- Pillow, BlueZ, IOBluetooth, WinRT
- license
- MIT
Overview
sprocket-cli sends photos to an HP Sprocket 200 over Bluetooth Classic. The scan command finds nearby printers, pair pairs the selected printer, and status shows its battery level and print state. The print command uses the photo's EXIF orientation, crops it to fit, and checks that the printer is ready before sending the job.
Install from the repository with uv and follow the setup guide for your operating system. Once the printer is on and Bluetooth is enabled, run uv run sprocket scan, then uv run sprocket pair and uv run sprocket status. Send a photo with uv run sprocket print photo.jpg.
Discovery, status checks, and photo transfer have been tested on a real printer under Linux. Pairing and the macOS and Windows backends still need hardware testing.
What it does
- Find and pair your HP Sprocket 200 over Bluetooth Classic
- Check the battery level and printer status before sending a photo
- Correct photo orientation and crop to a 640 × 1002 JPEG for printing
- Select a specific printer by its Bluetooth address
