EAN/UCC 128 Barcode Generation

Stimulsoft Reports.NET discussion
Post Reply
ilya
Posts: 1
Joined: Fri Feb 26, 2010 6:01 am
Location: Russia

EAN/UCC 128 Barcode Generation

Post by ilya »

Hi,

How shoul I insert EAN/UCC 128 barcodes into my reports? This format implies unptintable characters (for example, 29) to be inserted into code property, by StiReport just ignores 29 character when generation barcode.

I try to do it by the following:

char c = (char)29;

report.Dictionary.Variables["VariableName"].Value = "9198745069" + c + "3710000";

but this works exactly like there are no charactaer between "9198745069" and "3710000".

Please, advise.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

EAN/UCC 128 Barcode Generation

Post by Ivan »

Hello,
ilya wrote:How shoul I insert EAN/UCC 128 barcodes into my reports? This format implies unptintable characters (for example, 29) to be inserted into code property, by StiReport just ignores 29 character when generation barcode.
You can use, for example, following expression:

Code: Select all

{"12345" + (char)29 + "67890"}
Also please check that you use the Ean128a barcode type:

Code128a: ASCII character 0 to 95
Code128b: ASCII character 32 to 127
Code128c: number pairs from 00 to 99

If the issue is still present, please send to us a sample mrt file with data for analysis.

Thank you.
Post Reply