Skip to content

Code 49

Terry Burton edited this page Mar 26, 2014 · 19 revisions

#summary Reference for Code 49

=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-1995 USS.

===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 2^nd^ symbol in a group of 5 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.

===Examples===

{{{ 0 0 moveto (MULTIPLE ROWS IN CODE 49) () /code49 /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/code49-1.png

{{{ 0 0 moveto (CODE 49) (rows=8) /code49 /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/code49-2.png

{{{ 0 0 moveto (Short bars, fat seperators) (rows=8 rowheight=6 sepheight=2) /code49 /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/code49-3.png


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