scan barcode type done with ZXingObjC, before barcode generator