def ean8(self, data, **kwargs):
        if not re.match(r'\d{8}', data):
            raise ValueError('EAN-8 symbology requires 8 digits of data; '
                    'got {:d} digits ("{!s}")'.format(len(data), data))
        barcode.validate_barcode_args(**kwargs)
        return self._ean8_impl(data, **kwargs)
Render given ``data`` as **EAN-8** barcode symbology.
dataset/ETHPy150Open base4sistemas/pyescpos/escpos/impl/epson.py/GenericESCPOS.ean8