metafloor / bwip-js

Barcode Writer in Pure JavaScript
Other
2.12k stars 305 forks source link

C40 encoding support for generated datamatrix? #245

Open Epono opened 2 years ago

Epono commented 2 years ago

Hi,

For a french certification, we need to generate datamatrixes with the header encoded using the C40 format

Is it possible to encode some data using this format? If yes, how can it be done? I haven't been able to make it work while tinkering with the data I provide to the toBuffer function. Otherwise, is it something that's on your roadmap?

Thanks!

metafloor commented 2 years ago

@terryburton: I see the mailmark option using C40, but not a more general purpose option. Would this be possible?