# GS1-128 and GS1 DataBar barcodes in PDF

GS1 application identifiers are written in the bracket syntax or with FNC1 separators, next to the DataBar codes for fresh food, coupons and small packs.

GS1 application identifiers: GS1-128 via gs1: true with (AI) syntax or {FNC1} separators, and the DataBar family for fresh food, coupons and small packs.

- PDF: https://legivel.com/examples/barcodes-qr-codes/gs1-128-databar.pdf
- Page: https://legivel.com/examples/barcodes-qr-codes/gs1-128-databar
- Open in the editor: https://legivel.com/markdown-to-pdf?sample=barcode-gs1-databar
- More barcodes and QR codes in Markdown to PDF: https://legivel.com/examples/barcodes-qr-codes

## Markdown source

````markdown
# GS1 & DataBar

GS1-128 with a serial shipping container code, written with application identifiers in brackets:

```barcode
type: code128
data: (00)376104250021234569
gs1: true
width: 320
height: 110
```

The same symbology with a GTIN, a batch number and a best-before date. `{FNC1}` ends the variable-length batch field:

```barcode
type: code128
data: 0104012345678901{FNC1}10LOT-42{FNC1}15260930
gs1: true
width: 320
height: 110
```

DataBar Omnidirectional, for fresh food sold by weight:

```barcode databar
0101234567890128
```

DataBar Limited, for very small packs:

```barcode databar-limited
0100012345678905
```

DataBar Expanded takes the full application identifier syntax, here a GTIN with a weight and a price:

```barcode databar-expanded
(01)98898765432106(3202)012345(3922)0795
```
````
