Project

thermal

0.0
No commit activity in last 3 years
No release in over 3 years
Convert basic HTML into thermal printer escape codes.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
 Project Readme

thermal

Convert basic HTML into thermal printer codes.

This is a work in progress.

Supported devices:

  • BTP-R880NP

Setup

gem install thermal

Usage

require 'thermal'

parser = Thermal::Parser.new(BTPR880)

BTPR880.print('192.168.1.200', 9100) do |print|
  print.puts parser.process('<strong>bold <u>underline</u></strong>')
end

Copyright (c) 2013 Tyler Kellen. See LICENSE for further details.