String text = "1234";
list.add(LineText(type: LineText.TYPE_BARCODE, content: text , size:10, align: LineText.ALIGN_CENTER, linefeed: 1));
Additional characters "{B" are prefixed to the barcode text after printing. Scanning the printed barcode still gives {B1234.