As a last step in the Photobooth project I want to attach a Fuji Instax SP2 — the SP3 prints are too pricey, the Polaroid zinc paper was curling on my last trip to America and the Selphy is not portable). The problem with the Instax SP2: it prints only from mobile/tablet app nbut ot from a laptop or desktop.
Thanks to James Sutton there is an APIĀ https://github.com/jpwsutton/instax_api, pictures should be Width: 800, Height: 600px.
networksetup -setairportpower en0 on # SSID usually INSTAX-* where the * is the first part of the MAC address of the device networksetup -setairportnetwork en0 SSID password instax-print -v -o 192.168.178.3 -p 80 -i 1111 -t 60 image # image The location of the image to print. # -h, --help show this help message and exit # -v, --verbose Print Verbose log messages to console. # -l LOG, --log LOG The location to store the JSON log,by default: ddmmyy-hhmmss-log.json # -o HOST, --host HOST The Host IP to connect to the server on. # -p PORT, --port PORT The port to connect to the server on. # -i PIN, --pin PIN The pin code to use, default: 1111. # -t TIMEOUT, --timeout The timeout to use when communicating.