Class: HTML

Inherits:
Thermal::Printer show all
Defined in:
lib/devices/html.rb

Constant Summary collapse

TRANSLATE =
{
  :strong => ["<strong>", "</strong>"],
  :underline => ["<u>", "</u>"],
  :mark => ["<mark>", "</mark>"],
  :br => ["<br/>"]
}

Class Method Summary collapse

Methods inherited from Thermal::Printer

endCode, getCode, startCode

Class Method Details

.translateObject



10
11
12
# File 'lib/devices/html.rb', line 10

def self.translate
  TRANSLATE
end