Code 49

Terry Burton edited this page Aug 22, 2016 · 12 revisions

Symbologies Reference

Point of Sale

GS1 DataBar

Supply Chain

Two-dimensional Symbols

One-dimensional Symbols

Postal Symbols

Pharmaceutical Symbols

Less-used Symbols

GS1 Composite Symbols

Raw Symbols

Partial Symbols

Clone this wiki locally

Code 49

The Code 49 barcode symbology is 2D stacked-linear barcode that can encode 128 character ASCII.

Also known as: USS-49.

Standards: ANSI/AIM BC6 - USS Code 49.

Data and Options

  • The input can consist of any ASCII data.
  • 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.
  • When the parsefnc option is specified, non-data function characters can be specified by ^FNC1 through ^FNC3.
  • The mode option specifies the mode for the symbol. It is usual to leave this unspecified in which case the most appropriate mode that results in the shortest symbol is automatically selected based in the input data.
    • mode=0 - regular alphanumeric mode
    • mode=1 - append mode
    • mode=2 - numeric mode
    • mode=3 - group alphanumeric mode
    • mode=4 - alphanumeric mode starting shift 1
    • mode=5 - alphanumeric mode starting shift 2
    • mode=6 - reserved
  • The pos option specifies this symbol to be part of multi-part structured data, i.e. selecting mode=3. For example pos=25 specifies this to be the second symbol in a group of five symbols.
  • The rows option specifies the number of rows in the symbol, between 2 and 8.
  • If rows is unspecified the encoder will default to the smallest number of rows that can hold the given data.
  • The rowheight option specifies the height of the bars in each row in points. The default is 10.
  • The sepheight option specifies the height of the separator bars enclosing the rows in points. The default is 1.


Encoder: code49

Data:    CODE 49
Options: rows=8
Encoder: code49

Data:    Short bars, fat seperators
Options: rows=8 rowheight=6 sepheight=2
Encoder: code49