Hi gopinethi

sample:
you need the code for eg.
(01)07640166510246 (11)150819 (10)0000001422 (21)00176327

the string for the datamatrix.generate(string) needs to contain \u001d for
the <FNC1> separators.
I got the string from an other source and agreed with them that there the
<FNC1> separators are placed with the agreed 'tag' like eg. #FNC1# so the
string looks like this:
f.010764016651024611150819100000001422#FNC1#2100176327
this (or multiple) #FNC1# is now simply replace (with java string.replace)
with \u001d eg:
newstring = inputstring.replace("#FNC1#", "\u001d")
then
datamatrix.generate(newstring)
this will now generate the correct code

hope that helps





--
View this message in context: 
http://itext.2136553.n4.nabble.com/Datamatrix-DM-Extension-FNC1-variable-length-GS1-element-tp4661024p4661116.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to