-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi! Excited to see this project, and I'm interested in SP-1 support.
Using sp2.py as a base, initial communication with an SP-1 is successful if I remove:
printerSpecifications = self.getPrinterSpecifications()and
'specs': printerSpecifications.payload,from getPrinterInformation().
With that, it gets as far as attempting to send the photo to the printer:
--- Instax Printer Python Client ---
Connecting to Printer.
Model: SP-1
Firmware: 03.22
Battery State: 4
Prints Remaining: 10
Total Lifetime Prints: 119
Printing Image: /Users/vitorio/Downloads/IMG_20180713_121051175.jpg
[========================------------------------------------] 40.0% ...About to send Image.
Traceback (most recent call last):
File "/Users/vitorio/Documents/instax-print/.venv/bin/instax-print", line 116, in <module>
myInstax.printPhoto(encodedImage, printProgress)
File "/Users/vitorio/Documents/instax-print/.venv/lib/python3.7/site-packages/instax/sp2.py", line 239, in printPhoto
self.sendSendImageCommand(segment, bytes(segmentBytes))
File "/Users/vitorio/Documents/instax-print/.venv/lib/python3.7/site-packages/instax/sp2.py", line 143, in sendSendImageCommand
response = self.sendCommand(cmdPacket)
File "/Users/vitorio/Documents/instax-print/.venv/lib/python3.7/site-packages/instax/sp2.py", line 80, in sendCommand
reply = self.send_and_recieve(encodedPacket, 5)
File "/Users/vitorio/Documents/instax-print/.venv/lib/python3.7/site-packages/instax/sp2.py", line 72, in send_and_recieve
raise(CommandTimedOutException())
instax.exceptions.CommandTimedOutException
According to the log, the "prep command" receives a response; it's the first "Send Image" command that does not.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels