0.0
No commit activity in last 3 years
No release in over 3 years
This gem can be used with the mini thermal printer, connected via the TX+RX pins on the Raspberry Pi
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.3.1, ~> 1.3
 Project Readme

Introducing the SerialPort Mini Thermal Printer gem

require 'serialport_mtp'

sp = SerialPortMTP.new

sp.start
sp.println("Hello world!")
sp.feed

The above code was tested running on a mini thermal printer (similar to the Adafruit mini thermal printer) connected to a Raspberry Pi.

Note: Credit for the original code goes to James Adam.

Resources

minithermalprinter gem serialport raspberrypi