Skip to content

Code 39

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

#summary Reference for Code 39

=Code 39=

The Code 39 barcode symbology is discrete, variable length, and self-checking.

Also known as: Code 3 of 9, LOGMARS, Alpha39, USD-3, USS-39.

Variants:

  • [Code39Ext Code 39 Extended] is a variant of Code 39 that can be used to encode full 128 character ASCII with the use of shift character combinations.
  • [Hibc HIBC Code39] is a variant of Code 39 that should be used when encoding HIBC formatted data.
  • AIM USD-2 is a subset of Code 39 containing the characters A-Z, 0-9, space, - and ..

Standards: ISO/IEC 16388, ANSI/AIM BC1-1995 USS, BS EN 800, MIL STD 1189.

===Data and Options===

  • The data field can hold any of the following:
    • Numbers 0-9
    • Capital letters A-Z
    • Symbols -.$/+%* and space
  • The includecheck option calculates the check digit.
  • The includecheckintext option makes the calculated checksum appear in the human readable text.
  • The hidestars option suppresses the asterisks in the human readable text.

===Examples===

{{{ 0 0 moveto (CODE39) (includetext) /code39 /uk.co.terryburton.bwipp findresource exec }}}

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

{{{ 0 0 moveto (CODE39) (includecheck includetext includecheckintext) /code39 /uk.co.terryburton.bwipp findresource exec }}}

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

{{{ 0 0 moveto (CODE39) (hidestars includecheck includetext) /code39 /uk.co.terryburton.bwipp findresource exec }}}

http://wiki.postscriptbarcode.googlecode.com/git/images/code39-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