Printer.prototype.barcodeTextPosition = function(pos) {
    if(pos > 3 || pos < 0) {
        throw new Error('Position must be 0, 1, 2 or 3');
    }
    var commands = [29, 72, pos];