Maxicode Program Documentation

 

 

Example HR

Example HR

Command Line

         The infile and outfile args are required and specify the input and
         output files respectively.   The infile is the input file and contains
          command lines that consist of a two character command ( capital
          letters), followed by a quoted text string.

Postal Code

             The postal code command in the input file is used to specify the postal code
          for the destination of the maxicode.  The postal code is all numeric (0-9) and
          must be less than 6 characters long.  In the USA, the postal code is the zip   
         ( zone improvement) code of the United States Post Office.

<>           And example of the postal code command is given below.
           
                     PC "54729"    
 

Country Code
 
             The country code command is specified by CC followed by the
             Iso 3166 country code for the destination country of the barcode.   An example
             is given below for specifying the barcode for the US.  The maxicode
             program will use the CC text to look up the 2 character iso country code
             ( for exampe "us" for United States ) and use this two character abbreviation
             in the maxicode barcode.

Example HR

Sevice Class

            The service class command is used to specify the service class of the maxicode
        barcode.   An example of the service class command is given below.

  Mode

          The mode command specifies the mode of the barcode.  It is a single digit.
      Modes 0 and 1 are depricated.  Mode 4 and 5 are enhanced error correction mode.
      Modes 2 and 3 are the commonly used modes.

             MO "3"

  Primary Message

          The primary is at most 6 characters.   Primary messages shorter than 6 characters
       will be appended with spaces.   Primary messages longer than 6 characters will
        be truncated to 6 character.

               PM "primar"

  Secondary Message


          The secondary message can be an ascii message string of 68 characters max
     (mode = 5) or 84 characters max ( any of the modes except 5).  An example
     of the secondary is given below.

            SM "1200 BLINKER STREET, OMAHA NE"

  Special Message

          The special message is used as an alternative way to specify the postal, country
      code  and message for the maxicode barcode.    The special message string is at
      most  104 characters,   with the first 3 characters  =        , the characters 4 to 14
       specify the postal code, characters 15 and 16 specify the iso country code
       abbreviation, characters 17,18 and 19 specify the service class and the
       secondary message is specified in character 20 to 104.   The special message
       characters 20-104  prepended with "[)>\RS01\GS"  and used as a new secondary
       message.

Example HR

Error Correction Code

Example HR
          The standard suggests the following number of codewords for error correction:
 

            Number of Message Symbols           Error Correction Level           Number of Error
                                                                                                                           Code Bytes

                      1-40                                                             2                                    8
                    40-160                                                           3                                   16
                   161-320                                                          4                                   32
                   321-863                                                          5                                   64
 
 

Graphic Output Formats


For comments or questions contact:  jtlien@sbcglobal.net
Netscape NowThis page created with Netscape Navigator Gold