| 12345678910 |
- from epcpy.epc_schemes import SGTIN
- from epcpy.epc_schemes.sgtin import SGTINFilterValue
- fixed = '304'
- serial = '0'.zfill(8)
- sgtin2 = SGTIN.from_gtin_plus_serial('8800244110402',fixed+serial,9)
- print(sgtin2.hex(binary_coding_scheme=SGTIN.BinaryCodingScheme.SGTIN_96, filter_value=SGTINFilterValue.POS_ITEM))
|