code: public static String getCode39Ex(String text) {
          String out = "";
          for (int k = 0; k < text.length(); ++k) {
              char c = text.charAt(k);
              if (c > 127)
                  throw new IllegalArgumentException("The character '" + c + "' is illegal in code 39 extended.");
              char c1 = EXTENDED.charAt(c * 2);
              char c2 = EXTENDED.charAt(c * 2 + 1);
              if (c1 != ' ')
                  out += c1;
              out += c2;
          }
          return out;
      }
docs: Converts the extended text into a normal, escaped text,
  ready to generate bars.
  @param text the extended text
  @return the escaped text