Ear 13 and POS in ERPNext v 12.6

how can i read the Barcode type EAR -13 in POS in ERPNext Version 12.6 and separate it the barcode to wright and price ?
and if ERPNext is not compatible with this type of Barcode please can you give me a solution?