Page 1 of 1

FNC1 In a barcode

Posted: Fri Nov 19, 2010 8:12 am
by Terry
I am new, very new to Stimulsoft, and we need to create a barcode with the FNC1, how can I do that using the software. I did find this code on a Forum but not sure if it is correct. Can anybody help me with it.

Code128a, Code128b, EAN-128a, EAN-128b barcode understand the "FNC1" command (it is used for aggregation several data rows in one bar-code).
To input this command to the data row the 0x81 character is used. For example:

{"Data1" + "\x81" + "Data2"}
{"Line1 " + (char)129 + " Line2"}

This is the code I am testing/working with.
{String.Concat("91",Trim(LBS.[order.productDescription]),"\x81" ,"37",LBS.[order.actualQuantityPerUnit])}

Any help would be appreciated.

FNC1 In a barcode

Posted: Fri Nov 19, 2010 8:26 am
by Ivan
Hello,

Please use the following expression, for example:

Code: Select all

{String.Concat("91", Trim(LBS.[order.productDescription]), '\x81', "37", LBS.[order.actualQuantityPerUnit])}
{String.Concat("91", Trim(LBS.[order.productDescription]), (char)129, "37", LBS.[order.actualQuantityPerUnit])}
Thank you.