Skip to content

Instantly share code, notes, and snippets.

@curiouslychase
Created February 7, 2014 23:02
Show Gist options
  • Save curiouslychase/8873764 to your computer and use it in GitHub Desktop.
Save curiouslychase/8873764 to your computer and use it in GitHub Desktop.
self.bold = function(state) {
self.printer.write(esc);
self.printer.write(chr(69));
// 0 || 'off' = off
// 1 || 'on' = on
self.printer.write(chr(state));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment