Bar code GS1-128

98 views
Skip to first unread message

Jordi Moncadas

unread,
Dec 11, 2024, 9:54:18 AM12/11/24
to reportman
 Is it possible to generate GS1-128 barcodes with Report Manager?  

Daniel Georgi

unread,
Dec 11, 2024, 11:01:22 AM12/11/24
to reportman
Yes, I think so.

Basically, it is a normal Code 128 barcode with a special data structure according to GS1 specifications.

For example, a GTIN article number and a best-before date.

01 GTIN of the trading unit
15 Best before date (YYMMDD)

'(01)4000001012978(15)250320'

In the condition of the barcode, you must of course dynamically assemble the correct structure.

I am not sure whether the brackets must also be included in the barcode.

gs1-sample.png

Jordi Moncadas

unread,
Dec 11, 2024, 12:22:29 PM12/11/24
to reportman
Thank you for your response,
But we found that the generated format is not exactly the same. I have highlighted the differences between the Code 128C barcode, which is the closest match, and the one it should be.
We have the problem that not all barcode readers can read 128 codes.
El dia dimecres, 11 de desembre del 2024 a les 17:01:22 UTC+1, hyr...@gmail.com va escriure:
Bar codes.jpg

Jordi Moncadas

unread,
Dec 11, 2024, 1:05:02 PM12/11/24
to reportman
I need to generate that

El dia dimecres, 11 de desembre del 2024 a les 18:22:29 UTC+1, Jordi Moncadas va escriure:
barcode.gif

Daniel Georgi

unread,
Dec 11, 2024, 1:44:14 PM12/11/24
to reportman
I will try to generate the barcode tomorrow with the report manager.

Jordi Moncadas

unread,
Dec 12, 2024, 4:36:04 AM12/12/24
to reportman
 We have detected that what we are missing is the FNC1GS1-128.jpg  

El dia dimecres, 11 de desembre del 2024 a les 19:44:14 UTC+1, hyr...@gmail.com va escriure:

Jordi Moncadas

unread,
Dec 12, 2024, 4:39:14 AM12/12/24
to reportman
 If we generate a Code 128 barcode on https://barcode.tec-it.com/en and create the following barcode \F0218422410535450\F370448\F10201206, it works correctly.

El dia dijous, 12 de desembre del 2024 a les 10:36:04 UTC+1, Jordi Moncadas va escriure:

Toni Martir

unread,
Dec 12, 2024, 10:20:26 AM12/12/24
to reportman
GS1 should start with an FNC1, that is the #102 char.
Expression example:
#102+'10896021'+#102+'21456738XABT'
Parentheses are not encoded. (10)896021(21)456738XABT'
FNC1 is used to separate information segments when they are variable length (like batch number), usually only one variable length segment is placed at the end, so only a FNC1 is needed at the start.

--
You received this message because you are subscribed to the Google Groups "reportman" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reportman+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/reportman/c1b056d7-a281-4e54-a75e-70c8e866ad71n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Toni Martir

Jordi Moncadas

unread,
Dec 12, 2024, 11:52:39 AM12/12/24
to reportman
We are still facing the same issue with the expression: #102 + '0218422410535450' + #102 + '370448' + #102 + '10241206'
problem.jpg

El dia dijous, 12 de desembre del 2024 a les 16:20:26 UTC+1, toni....@gmail.com va escriure:

Toni Martir

unread,
Dec 13, 2024, 4:21:16 AM12/13/24
to reportman
I think I was wrong about the FNC1, it's coded internally as the '¿' character not the #102.


For more options, visit https://groups.google.com/d/optout.


--
Toni Martir

Jordi Moncadas

unread,
Dec 18, 2024, 4:43:55 AM12/18/24
to reportman
It seems that it works perfectly!

Thank you!

El dia divendres, 13 de desembre del 2024 a les 10:21:16 UTC+1, toni....@gmail.com va escriure:
Reply all
Reply to author
Forward
0 new messages