---
title: "pdf:barcode — Barcode"
description: "iXML command pdf:barcode: Barcode."
canonical_url: "https://www.zeyos.com/ixml/ref/pdf-barcode"
markdown_url: "https://www.zeyos.com/ai/guide/ixml/ref/pdf-barcode.md"
section: "ixml-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/ixmldoc.xml"
source_sha256: "a23f04e6a98628ca3c273c3b8dd2c33c034cfda3e0f00478d8793074fd2f70dd"
---

# pdf:barcode — Barcode

PDF:BARCODE prints a linear or matrix bar code according to a given type.

### Attributes
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
| type | string | C128 | Barcode type |
| height | float |  | Height |
| width | float | (expands to right margin) | Width |
| x | float | (current abscissa) | Abscissa |
| y | float | (current ordinate) | Ordinate |
| resolution | float | (default resolution) | Resolution |

#### Possible values
Possible values for `type`:
- C39 — CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9
- C39+ — CODE 39 + CHECKSUM
- C39E — CODE 39 EXTENDED
- C39E+ — CODE 39 EXTENDED + CHECKSUM
- C93 — CODE 93 - USS-93
- S25 — Standard 2 of 5
- S25+ — Standard 2 of 5 + CHECKSUM
- I25 — Interleaved 2 of 5
- I25+ — Interleaved 2 of 5 + CHECKSUM
- C128 — CODE 128
- C128A — CODE 128 A
- C128B — CODE 128 B
- C128C — CODE 128 C
- EAN2 — 2-Digits UPC-Based Extention
- EAN5 — 5-Digits UPC-Based Extention
- EAN8 — EAN 8
- EAN13 — EAN 13
- UPCA — UPC-A
- UPCE — UPC-E
- MSI — MSI (Variation of Plessey code)
- MSI+ — MSI + CHECKSUM
- POSTNET — POSTNET
- PLANET — PLANET
- RMS4CC — RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
- KIX — KIX (Klant index - Customer index)
- IMB — Intelligent Mail Barcode - Onecode - USPS-B-3200
- CODABAR — CODABAR
- CODE11 — CODE 11
- PHARMA — PHARMACODE
- PHARMA2T — PHARMACODE TWO-TRACKS
- DATAMATRIX — DATAMATRIX
- QRCODE — QR-CODE
- QRCODE,L — QR-CODE Low error correction
- QRCODE,M — QR-CODE Medium error correction
- QRCODE,Q — QR-CODE Better error correction
- QRCODE,H — QR-CODE Best error correction
- PDF417 — PDF417


### Children
- (none)

### Parents
- pdf:header
- pdf:footer
- pdf:body

### Result
- (none documented)
