Installation on Raspberry PI (compact version)

  • get a brand new sd card or format one
  • get NOOBS release from Rasp PI’s official website ! Copy it to the sd
  • follow the raspbian installation procedure and run it
  • after install, open LXTerminal
  • install ssl-dev, ruby development files, rmagick dependencies
sudo apt-get install libssl-dev ruby1.9.1-dev libmagickcore-dev libmagickwand-dev -y
  • get the code
git clone
  • install ruby gems
$ sudo gem install escper rqrcode_png  bitcoin-ruby ffi --no-ri --no-rdoc
  • change
sudo chmod 0666 /dev/usb/lp0`
  • test the printer
echo "\nOK MASTER\n\n\n" > templates/test.txt
cat templates/test.txt > /dev/usb/lp0