May 1, 2012 AT 7:39 am

Image to C++ Byte array

I’m working on a project which involves the thermal printer, but couldn’t run the LCD assistant since I’m on Linux — the Ruby code which is included with the lib is a fine backup, but since I also didn’t have Ruby installed, I decided to do a quick Byte-array tool in PHP. I think it may come handy for others as well.

Adafruit IoT Printer Project Pack “Internet of Things” printer. Build an “Internet of Things” connected mini printer that will do your bidding! This is a fun weekend project that comes with a beautiful laser cut case. Once assembled, the little printer connects to Ethernet to get Internet data for printing onto 2 1/4″ wide receipt paper. The example sketch we’ve written will connect to Twitter’s search API and retrieve and print tweets according to your requests: you can have it print out tweets from a person, a hashtag, mentioning a word, etc! Once you’ve gotten that working, you can of course easily adapt our sketch to customize the printer.

The project is not very difficult but does require some light soldering, so you’ll want to have a little experience with a soldering iron. You’ll also need a small flathead screwdriver to assemble the box. It’s also best if you’ve had a little Arduino experience so you can feel comfortable downloading the IDE and uploading our example sketch.

This pack does not contain an Arduino+Arduino Ethernet Shield, Arduino Ethernet or Ethernet cable To complete the project you will need to add either an Arduino + Ethernet Shieldor an Arduino UNO Ethernet. If you’re using an Arduino UNO Ethernet you will also need an FTDI friend or FTDI cable to upload the sketch. A plain straight-thru Ethernet cable is also required (any length)