Okay, so this seems to be more-or-less working.
Send an email with a link and a picture to **************** (to be renamed):
Hit the "Add to Gallery" button, and head over to the printer:
(Currently only prints if you are attached to my computer, but when we have the kiosk server up and running, it should print if you're on the lab's network.)
-------------------------------------------------
Notes:
I'm using
http://www.inboxapp.com (hosted) as the mail API. It's mostly pretty good. It makes attachments a little hard to get to (because authentication is required), so my app uploads images to my server and serves them from there, which is cumbersome.
The printing hack is a node server which renders the label using phantomjs and prints it using an automator workflow.
I got a laserjet printer (which I don't like much, and may return), and a bunch of different sizes of labels. Including clear (?) and magnetic (!).