GS1 Application Identifier syntax denotes a set of representations for GS1 structured messages, with different encodings defined based on the carrier, e.g. within a barcode message, as human-readable text on a label, exchanged between electronic systems of trading partners.
Questions tagged [gs1-ai-syntax]
44 questions
14
votes
4 answers
EAN128 or GS1-128 decode c#
Here is the sample of EAN128 or new name GS1-128 barcode
01088888931021461712031510W1040190
I want to decode it to ais
(01)08888893102146
(17)120315
(10)W1040190
But the barcode can be changed like this
1712031510W1040190
(17)120315
…

Murat Vezir
- 216
- 1
- 3
- 12
13
votes
2 answers
What is the actual ASCII value of the FNC1 character in GS1 barcodes?
I have searched many a page on wikipedia, the official GS1 specifications, but have yet to find a definite answer to the question
What is the actual HEX / binary value of the GS1 FNC1 character?
There is much information about how to use the GS1…

F.P
- 17,421
- 34
- 123
- 189
11
votes
2 answers
GS1 barcode parsing
We need to parse the GS1 datamatrix barcode which will be provided by other party. We know they are going to use GTIN(01), lot number(10), Expiration date(17), serial number (21). The problems is that barcode reader output a string, the format is…

BackToSorrento
- 119
- 1
- 1
- 4
6
votes
1 answer
Missing AIM Symbol Identifiers in GS1 Application Identifier data with ZXing and ZBar
I am trying to validate GS1 Barcodes scanned with ZXing or ZBar. The GS1 General Specifications say in 7.8 that GS1 barcodes
must be transmitted with a specific Symbology Identifier:
]C1 = GS1-128
]e0 = GS1 DataBar and GS1 Composite Symbols
]d2 =…

tobltobs
- 2,782
- 1
- 27
- 33
6
votes
1 answer
How to parse scanned GS1 AI messages with (01)...(10)...(17)...(21)...?
I have some products which have 2d GS1 bar codes on them. Most have the format 01.17.10 which is GTIN.Expiry Date.Lot Number.
This makes sense as 01 and 17 are fixed length, so can be parsed easily, just by splitting the string in the appropriate…

tony.wiredin
- 617
- 8
- 21
5
votes
2 answers
Decoding EAN-128 (and other GS1 barcodes)
There are lots of components out there creating/parsing barcode images but i could not manage to find a library which parses a EAN-128 barcode-string and gives me simply a java-pojo object from which I can get EAN-128 groups if they were included in…

archangle
- 217
- 4
- 12
5
votes
0 answers
Scanning GS1/EAN/UCC-128 barcodes in iOS
So I'm currently working on a project that requires scanning GS1-128 barcodes. So far, for other barcode types, we've been using AVFoundation's scanning without a problem. AVFoundation can read Code-128 (which GS1-128 is encoded in); where we're…

Saelyria
- 142
- 7
5
votes
1 answer
GS1-128 barcode parsing
Scanner Model :- Motorola- DS4208-HC
We need to parse the GS1-128 barcode. We know they are going to use GTIN(01), lot number(10), Expiration date(17), serial number (21).
Input String:- (01)07612345678900(17)100503(10)AC3453G3(21)455777
The problem…

Neelam
- 51
- 1
- 2
5
votes
1 answer
GS1 support in a QR encoder/decoder?
Very few QR encoders/decoders have (explicit) support for so-called GS1 encoding. Zint is one of the exceptions (under QR select GS-1 Data Mode), but its license prevents me from using it. Commercial offers, mainly from Tec-It, are costly,…

Thijs van Dien
- 6,516
- 1
- 29
- 48
4
votes
3 answers
Extracting information from a scanned GS1-type barcode
I also want to determine product information such as the description, manufacturer and expiry date from a scanned GS1 barcode message.
How can I do that?

jay123
- 49
- 1
- 1
- 3
4
votes
3 answers
GS1-128 and RegEx
I'm busy with GS1-128 and want to match scanned barcodes using RegEx. I currently have the following expression:
^(01)(12345678)(\d{5})\d(11|17)(\d{2}[0-1]\d[0-3]\d)(10|21)(\d{1,20})(30)(\d{1,20})
This succesfully matches the barcode…
user2244255
3
votes
1 answer
Decoding GS1 string using R
In a dataframe, one column includes a GS1 code scanned from barcodes. A GS1 code is a string including different types of information. Application Identifiers (AI) indicate what type of information the next part of the string is.
Here is an example…

Marco
- 31
- 3
3
votes
3 answers
How to use the npm module gs1-barcode-parser?
I want to extract the price value from the GS1 data martix QR code value using Nodejs.
Using the module
npm i gs1-barcode-parser
Tried the below throwing "parseBarcode" is not a function
const { parseBarcode } = require('gs1-barcode-parser');
let…

Nadhas
- 5,421
- 2
- 28
- 42
3
votes
1 answer
EAN-128/GS1-128 barcode conflict
I am trying to generate EAN-128 (GS1-128) barcode labels to label a product.
I have found some online barcode generators that allow to do this task.
However, I am experiencing some conflicts between many web pages.
I mean:
for the same code data,…

E. Williams
- 405
- 1
- 6
- 21
2
votes
1 answer
ZPL: How to encode an FNC1 within GS1 DataBar Expanded?
I am creating a GS1 DataBar Expanded barcode in ZPL and I can't find a way to encode FNC1 character to terminate variable length GS1 Application identifiers (GS1 AI).
To be honest, it is not a necessity. GS1 DataBar is mostly used for fresh foods…

Viliamm
- 618
- 5
- 12