Skip to content

Code 49

Terry Burton edited this page Mar 31, 2023 · 19 revisions

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 escape sequences:
    • ^FNC1: FNC1
    • ^FNC2: FNC2
    • ^FNC3: FNC3
  • The sam option specifies this symbol is part of multi-part structured data held in up to nine "mode 3" symbols. For example sam=25 specifies this to be the second symbol in a group of five symbols.
  • The concat option specifies that this symbol is an alphanumeric continuation symbol ("mode 1").
  • 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.

Examples

Data:    MULTIPLE ROWS IN CODE 49
Options: 
Encoder: code49

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

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


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