Overview
Code One was the earliest public domain 2D matrix-style barcode. It is used by the health care and recycling industry and can encode full 256 character extended-ASCII.
Invoking
- The data field can consist of any ASCII data for standard and T-type symbols.
- Note: S-type symbols are special in that they represent a numeric value which must be binary encoded using ^NNN notation.
- When the parse option is specified, any instances of ^NNN in the data field are replaced with their equivalent ASCII value, useful for specifying unprintable characters, e.g. ^029 for GS, etc.
- The version option is used to specify the size and type of the symbol:
- A, B, C, D, E, F, G, H - for standard format symbols (default automatic selection)
- version=T-16, version=T-32, version=T-48 - T-type symbols
- version=S-10, version=S-20, version=S-30 - S-type symbols
- The raw option denotes that the data field is providing the input as a pre-encoded codewords in ^NNN format, suitable for direct low-level encoding.
Examples
0 0 moveto (Code One) () /codeone /uk.co.terryburton.bwipp findresource exec
0 0 moveto (Code One) (version=C) /codeone /uk.co.terryburton.bwipp findresource exec
0 0 moveto (Code One) (version=T-32) /codeone /uk.co.terryburton.bwipp findresource exec
0 0 moveto (^012^013^014^015) (version=S-10) /codeone /uk.co.terryburton.bwipp findresource exec