"A" + (offset+pixA[8]) + ",160,0,1,1,1,N,\""+barCode +"\"\n"+
"A" + (offset+pixA[9]) + ",180,0,1,1,1,N,\"" +"AGENCIA " + Shared.getConfig("storeName") +"\"\n"+
"B" + (offset+pixA[10]) + ",130,0,1,1,2,100,N,\"" + barCode + "\"\n"+
"P" + firstLot + "\n";
DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
Doc doc = new SimpleDoc(buff.getBytes(), flavor, null);
job.print(doc, null);
} catch (PrintException ex) {
MessageBox msb = new MessageBox(MessageBox.SGN_DANGER, "Problemas con la impresora.",ex);
msb.show(Shared.getMyMainWindows());