weixin_39884492
weixin_39884492
2020-12-29 03:57

Barcode validation

There is a list of allowed data and barcode sizes in the epson documentation. We should be validating data length and content.

A short term solution would be to set up regexes similar to escpos-php here, but in the future we might want to see if there is an external barcode library to validate checksums.

该提问来源于开源项目:python-escpos/python-escpos

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

9条回答

为你推荐