Hi, i'm using barcode4j to generate Datamatrix from a datamatrix bean like this example : http://barcode4j.sourceforge.net/2.1/embedding-bean.html
It's the first time i work with Datamatrix and I don't understand how encoding works.
Concretely, i have to generate datamatrix from data like this :
"124151<GS>EXAMPLE<GS>SOMETHING13124/312312<GS>12328F" with C40 encoding followed by a byte array (byte[]) with base 256 encoding.
I don't know how it works. Is the encoding is automatic ? Do I need to add a latch for switching between encoding ?
And most of all, how can I format my byte array to place it in the data string ?
Tanks in advance and good job for this amazing API !
|