Do you have a list of the Code 39 bitpattern?

A Code 39 symbol consists of nine elements (bars or spaces) of which three are wide and six are narrow. Here is a Code 39 bar pattern array in C-style format. The sequence is: character, followed by the data for wide and narrow elements (alternating bars, spaces).

unsigned char c39_bp[44][10] =
{
  {'0', 0, 0, 0, 1, 1, 0, 1, 0, 0},
  {'1', 1, 0, 0, 1, 0, 0, 0, 0, 1},
  {'2', 0, 0, 1, 1, 0, 0, 0, 0, 1},
  {'3', 1, 0, 1, 1, 0, 0, 0, 0, 0},
  {'4', 0, 0, 0, 1, 1, 0, 0, 0, 1},
  {'5', 1, 0, 0, 1, 1, 0, 0, 0, 0},
  {'6', 0, 0, 1, 1, 1, 0, 0, 0, 0},
  {'7', 0, 0, 0, 1, 0, 0, 1, 0, 1},
  {'8', 1, 0, 0, 1, 0, 0, 1, 0, 0},
  {'9', 0, 0, 1, 1, 0, 0, 1, 0, 0},
  {'A', 1, 0, 0, 0, 0, 1, 0, 0, 1},
  {'B', 0, 0, 1, 0, 0, 1, 0, 0, 1},
  {'C', 1, 0, 1, 0, 0, 1, 0, 0, 0},
  {'D', 0, 0, 0, 0, 1, 1, 0, 0, 1},
  {'E', 1, 0, 0, 0, 1, 1, 0, 0, 0},
  {'F', 0, 0, 1, 0, 1, 1, 0, 0, 0},
  {'G', 0, 0, 0, 0, 0, 1, 1, 0, 1},
  {'H', 1, 0, 0, 0, 0, 1, 1, 0, 0},
  {'I', 0, 0, 1, 0, 0, 1, 1, 0, 0},
  {'J', 0, 0, 0, 0, 1, 1, 1, 0, 0},
  {'K', 1, 0, 0, 0, 0, 0, 0, 1, 1},
  {'L', 0, 0, 1, 0, 0, 0, 0, 1, 1},
  {'M', 1, 0, 1, 0, 0, 0, 0, 1, 0},
  {'N', 0, 0, 0, 0, 1, 0, 0, 1, 1},
  {'O', 1, 0, 0, 0, 1, 0, 0, 1, 0},
  {'P', 0, 0, 1, 0, 1, 0, 0, 1, 0},
  {'Q', 0, 0, 0, 0, 0, 0, 1, 1, 1},
  {'R', 1, 0, 0, 0, 0, 0, 1, 1, 0},
  {'S', 0, 0, 1, 0, 0, 0, 1, 1, 0},
  {'T', 0, 0, 0, 0, 1, 0, 1, 1, 0},
  {'U', 1, 1, 0, 0, 0, 0, 0, 0, 1},
  {'V', 0, 1, 1, 0, 0, 0, 0, 0, 1},
  {'W', 1, 1, 1, 0, 0, 0, 0, 0, 0},
  {'X', 0, 1, 0, 0, 1, 0, 0, 0, 1},
  {'Y', 1, 1, 0, 0, 1, 0, 0, 0, 0},
  {'Z', 0, 1, 1, 0, 1, 0, 0, 0, 0},
  {'-', 0, 1, 0, 0, 0, 0, 1, 0, 1},
  {'.', 1, 1, 0, 0, 0, 0, 1, 0, 0},
  {' ', 0, 1, 1, 0, 0, 0, 1, 0, 0},
  {'*', 0, 1, 0, 0, 1, 0, 1, 0, 0},
  {'$', 0, 1, 0, 1, 0, 1, 0, 0, 0},
  {'/', 0, 1, 0, 1, 0, 0, 0, 1, 0},
  {'+', 0, 1, 0, 0, 0, 1, 0, 1, 0},
  {'%', 0, 0, 0, 1, 0, 1, 0, 1, 0}
};

The asterisk ('*') is used as a start / stop character. Please see also our page about Code 39 which has more information on this barcode as well as a Code 39 Extended code table.