Bar code problem - missing divider (EAN-128c)

Stimulsoft Reports.Silverlight discussion
Locked
Zaily
Posts: 6
Joined: Wed Nov 25, 2015 2:14 pm

Bar code problem - missing divider (EAN-128c)

Post by Zaily »

Hello guys,

I have a pallet label (enclosed) and within the first barcode, there is a problem that there is no divider/separator between AI's (37) and (15), so the scanner does not recognize where the AI 37 ends and AI 15 starts.

this is the code I use to create barcode (all of those qPrehledSSCC's are numbers with counts and date)

Code: Select all

(02){qPrehledSSCC.EANKARTONU}(37){Ceiling(qPrehledSSCC.MNKARTONU)}(15){qPrehledSSCC.TRVANLIVOST}(10){qPrehledSSCC.VYROBA}
this is what we get from customer:

Beispiel:
Klarschriftzeile: (02)08595601700982(37)162(15)170209(10)090816
abgecannter Code: 020859560170098237162@1517020910090816
Attachments
Lidl test.pdf
(127.72 KiB) Downloaded 498 times
Last edited by Zaily on Thu Aug 25, 2016 12:02 pm, edited 1 time in total.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Bar code problem - missing divider (EAN-128c)

Post by HighAley »

Hello.

It seems that you use EAN-128c barcode but need to get the GS1 128 barcode.
The different between these bar-codes is in additional FNC1 codes.

So, please, change the type of the barcode to GS1 128 or add the FNC1 symbols this way:

Code: Select all

(02){qPrehledSSCC.EANKARTONU+ (char)129}(37){Ceiling(qPrehledSSCC.MNKARTONU)+ (char)129}(15){qPrehledSSCC.TRVANLIVOST+ (char)129}(10){qPrehledSSCC.VYROBA}
Thank you.
Zaily
Posts: 6
Joined: Wed Nov 25, 2015 2:14 pm

Re: Bar code problem - missing divider (EAN-128c)

Post by Zaily »

Hello, Thank you

When I use it like this (as you wrote me):

Code: Select all

(02){qPrehledSSCC.EANKARTONU+ (char)129}(37){Ceiling(qPrehledSSCC.MNKARTONU)+ (char)129}(15){qPrehledSSCC.TRVANLIVOST+ (char)129}(10){qPrehledSSCC.VYROBA}
I get always the result of:
0208595601700982372911517020910090816

(so it seems like it replaces original number 162 (which is the count of cartons))
In our version, there is not a GS1-128 bar code to choose, i got just code128 and EAN 128 and couple others, but not GS1-128 (im using ESO9 software which uses stimulsoft to create reports)
Zaily
Posts: 6
Joined: Wed Nov 25, 2015 2:14 pm

Re: Bar code problem - missing divider (EAN-128c)

Post by Zaily »

Any ideas, what could help me please?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Bar code problem - missing divider (EAN-128c)

Post by HighAley »

Hello.

Sorry, there is a error in the expression.
Please, convert the number to string

Code: Select all

{Ceiling(qPrehledSSCC.MNKARTONU).ToString() + (char)129}
or use next expression:

Code: Select all

{Ceiling(qPrehledSSCC.MNKARTONU)}{(char)129}
Thank you.
Zaily
Posts: 6
Joined: Wed Nov 25, 2015 2:14 pm

Re: Bar code problem - missing divider (EAN-128c)

Post by Zaily »

Thank You very much HighAley, used the

Code: Select all

{Ceiling(qPrehledSSCC.MNKARTONU)}{(char)129}
solution and it worked perfectly :)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Bar code problem - missing divider (EAN-128c)

Post by HighAley »

Hello.

We are very glad to help you.
Let us know if you need our help.

Thank you.
Locked