Printer.prototype.bold = function (onOff) {
    return onOff ? this.addPrintMode(8) : this.removePrintMode(8);
};