{"repo":"dtgreene/ivy2","free":true,"listed":false,"github":"https://github.com/dtgreene/ivy2","clone":"git clone https://github.com/dtgreene/ivy2.git","description":"Python API for the Canon Ivy 2 mini photo printer","language":"Python","stars":19,"topics":["bluetooth","canon","printer","python","bluetooth-printer","raspberry-pi"],"license":null,"category":"self-hosted-apps","readme_excerpt":"Ivy 2 A Python API to control the Canon Ivy 2 mini photo printer. Note: So far, this has only been tested on a Raspberry PI 3b+. The underlying PyBluez library should be cross-compatible but the pairing process will likely vary from platform to platform. Installation steps (Raspberry PI) 1. Install deb packages 2. Install pip packages (you may need to create a virtual environment first) 3. Install BlueZ directly from the source (see this comment) 4. Disable legacy pairing This will need to be done each time the computer reboots. Otherwise you may get an \"Invalid exchange\" error when trying to connect with the printer. 5. Pair with the printer This only needs to be done the first time. Start the BlueZ CLI If this is your first time messing with Bluetooth on the PI, first register an agent: - agent on - default-agent Turn on the printer and wait about 30 seconds. Then enable scanning: - scan on You should start to see local Bluetooth devices popping up. Most of the devices will just show a mac address but the printer should have the name listed as well making it easy to spot. You should see something like this: Once you've located the printer, take note of the mac address and attempt to pair: - pair - trust You can now disable scanning and exit the BlueZ CLI: - scan off - exit Usage See example.py for basic usage.","default_branch":null,"files":null,"tree":[],"storefront":"/r/dtgreene","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dtgreene/ivy2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}