# Barcode labels and check digits in PDF

The options set where the human-readable text goes, what it says, its colors and size, and the check digit modes, for every linear code.

Label positions, custom text, colors and sizes, no label at all, and MSI check-digit modes: the label capability every linear symbology shares.

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

## Markdown source

````markdown
# Labels & check digits

EAN keeps the classic split-digit layout; colors are free:

```barcode
type: ean13
data: 5901234123457
module-color: #1a3a8f
label-color: #8f1a3a
```

Any position and custom text:

```barcode
type: code39
data: ASSET-0042
label: Property of the city library
label-position: inside-bottom
width: 300
height: 120
```

```barcode
type: code128
data: Ward 4, bed 12
label: Ward 4 · Bed 12
label-position: above
label-size: 16
width: 300
height: 110
```

Code 39 with its label above, as on a warehouse rack:

```barcode
type: code39
data: RACK B-07/3
label-position: above
```

MSI with a chosen check-digit mode; the label shows the computed digits:

```barcode
type: msi
data: 1234567
check: mod1010
```

No label at all, for a code read only by machines:

```barcode
type: code93
data: CONTAINER-0931
label: none
```
````
