Site Logotype, floated left.
SM0TVI Namespace: File Information Schema:

Portable Barcode Format

Media Type:
image/prs.barcode.
Extension(s): N/A.
Parameter(s):
type:
The identifier for the symbology used. If no type parameter is specified, the “aim” type is assumed by default. The value is case-insensitive.
Additionally, the various barcode symbologies have parameters specific to the individual symbologies.
Draft

This specification is a draft and subject to change without prior notice.

Introduction

Format

type parameter

aimAIM Prefixes

When the type parameters value is “aim”, the data is prefixed with its AIM identifier and the barcode symbology is determined by it instead. This is also the default value for the “type” parameter if it is not given in the Media Type.

Association for Automatic Identification and Mobility (AIM)

data:image/prs.barcode,%5BE06432100023926

aztec — Aztec, Aztec Rune.

codabar — Codabar

code11 — Code 11

code128 — Code 128

code39 — Code 39

code93 — Code 93

databar — GS1 Databar Family

datamatrix — Data Matrix

dtf — Discrete 2 of 5, Standard 2 of 5, IATA 2 of 5

eanEAN, GS1, UPC Retail Barcodes

gridmatrix — Grid Matrix

hanxin — Han Xin

itf — Interleaved 2 of 5

maxicode — MaxiCode

msi — MSI Barcode

pdf417 — PDF417

qrQR Code

Quick Response (QR) Code
ecc — Error Correction Parameter

The possible values are:

  • L — Level L (Low), 7% of data bytes can be restored.
  • M — Level M (Medium), 15% of data bytes can be restored.
  • Q — Level Q (Quartile), 25% of data bytes can be restored.
  • H — Level H (High), 30% of data bytes can be restored.
mask — Mask
mode — Encoding Mode
  • 1 — Numeric encoding (10 bits per 3 digits).
  • 2 — Alphanumeric encoding (11 bits per 2 characters)
  • 3 — Structured append (used to split a message across multiple QR symbols)
  • 4 — Byte encoding (8 bits per character)
  • 5FNC1 in first position (see Code 128 for more information)
  • 7ECI (select alternate character set or encoding)
  • 8 — Kanji encoding (13 bits per character)
  • 9FNC1 in second position
model
version

telepen — Telepen

other — Miscellaneous

charset — Character Set Encoding

eci — Extended Channel Interpretation

Extended Channel Interpretation (ECI)

Character set

fnc1

length

References and Further Reading

Appendix #: AIM Prefixes

Table #: AIM Prefixes.
N.B.: This list is by no means a complete one, contact AIM for an up-to-date list of prefixes.
Prefix Type/Description
Prefix Type/Description
code39 — Code 39, Code 39 Full ASCII, Code 32
] A 0 No check character or Full ASCII processing.
1 Reader has checked one check character.
3 Reader has checked and stripped check character.
4 Reader has performed Full ASCII character conversion.
5 Reader has performed Full ASCII character conversion and checked one check character.
6 Reader has performed Full ASCII character conversion and checked and stripped check character.
code128 — Code 128, ISBT 128, ISBT 128 Concatenated, GS1-128, Coupon (Code 128 portion)
] C 0 Standard data packet, no FNC1 in first symbol position.
1 FNC1 in first symbol character position.
2 FNC1 in second symbol character position.
datamatrix — Data Matrix, GS1 Data Matrix
] d 0 ECC 000-140, not supported.
1 ECC 200.
2 ECC 200, FNC1 in first or fifth position. Also used for GS1 Datamatrix
3 ECC 200, FNC1 in second or sixth position.
4 ECC 200, ECI protocol implemented.
5 ECC 200, FNC1 in first or fifth position, ECI protocol implemented.
6 ECC 200, FNC1 in second or sixth position, ECI protocol implemented.
eanUPC/EAN, Coupon (UPC portion)
] E 0 Standard data packet in full EAN format, i.e. 13 digits for UPC-A, UPC-E and EAN (not including supplemental data).
1 Two digit supplemental data only.
2 Five digit supplemental data only.
3 Combined data packet comprising 13 digits from EAN-13, UPC-A or UPC-E symbol and 2 or 5 digits from supplemental symbol.
4 EAN-8 data packet.
GS1 DataBar Family
] e 0
codabar — Codabar
] F 0 No option specified at this time. Always 0. GS1 DataBar Omnidirectional and GS1 DataBar Limited transmit with an Application Identifier โ€œ01โ€.
Note: In GS1-128 emulation mode, GS1 DataBar is transmitted using Code 128 rules (i.e., ]C1).
code93 — Code 93
] G 0 No options specified at this time. Always 0.
gridmatrix — Grid Matrix
] g UNKNOWN FORMAT
code11 — Code 11
] H 0 Single check digit
1 Two check digits
3 Check characters validated but not transmitted.
hanxin — Han Xin
] h 0 Generic data, no special features are set. The transmitted data does not follow the AIM ECI protocol.
1 ECI protocol enabled. There is at least one ECI mode encoded. Transmitted data must follow the AIM ECI protocol.
itf — Interleaved 2 of 5
] I 0 No check digit processing.
1 Reader has validated check digit.
3 Reader has validated and stripped check digit.
pdf417 — PDF417, Macro PDF417, Micro PDF417
] L 0 Reader set to conform to protocol defined in 1994 PDF417 symbology specifications. Note: When this option is transmitted, the receiver cannot reliably determine whether ECIs have been invoked or whether data byte 92DEC has been doubled in transmission.
1 Reader set to follow the ECI protocol. All data characters 92DEC are doubled.
2 Reader set for Basic Channel operation (no escape character transmission protocol). Data characters 92DEC are not doubled. Note: When decoders are set to this mode, unbuffered Macro symbols and symbols requiring the decoder to convey ECI escape sequences cannot be transmitted.
Also used for TLC39
3 The barcode contains a GS1-128 symbol, and the first codeword is 903-907, 912, 914, 915.
4 The barcode contains a GS1-128 symbol, and the first codeword is in the range 908-909.
5 The barcode contains a GS1-128 symbol, and the first codeword is in the range 910-911.
msi — MSI
] M 0 Check digits are sent.
1 No check digit is sent.
qr — QR Code, MicroQR, GS1 QR
] Q 0 Model 1 symbol.
1 Model 2 / MicroQR symbol, ECI protocol not implemented.
2 Model 2 symbol, ECI protocol implemented.
3 Model 2 symbol, ECI protocol not implemented, FNC1 implied in first position.
4 Model 2 symbol, ECI protocol implemented, FNC1 implied in first position.
5 Model 2 symbol, ECI protocol not implemented, FNC1 implied in second position.
6 Model 2 symbol, ECI protocol implemented, FNC1 implied in second position.
dtf — Discrete 2 of 5
] S 0 No options specified at this time. Always 0.
maxicode — Maxicode
] U 0 Symbol in Mode 4 or 5.
1 Symbol in Mode 2 or 3.
2 Symbol in Mode 4 or 5, ECI protocol implemented.
3 Symbol in Mode 2 or 3, ECI protocol implemented in secondary message.
aztec — Aztec, Aztec Rune
] Z 0 Aztec symbol.
C Aztec Rune symbol.
Miscellaneous Barcode Symbologies
] X 0 Bookland EAN, ISSN EAN, Trioptic Code 39, Chinese 2 of 5, Matrix 2 of 5, Korean 3 of 5, US Postnet, US Planet, UK Postal, Japan Postal, Australia Post, Netherlands KIX Code, USPS 4CB/One Code/ Intelligent Mail, UPU FICS Postal, Mailmark, Signature Capture-.

Appendix #: ECI Prefixes

Appendix #: Function Codes (FNCx)

Function Code 1 (FNC1)

Function Code 2 (FNC2)

Function Code 3 (FNC3)

Function Code 4 (FNC4)