Using IMpb barcodes with <CODE128>

This sample illustrates how to encode an Intelligent Mail package barcode (IMpb), including the required FNC1 character. To generate the FNC1 character in an Enrichment-generated Code 128 barcode, you must use x'16'. Different IMpb formats may require the FNC1 character in fewer, or different, locations.

For more information about:

/*************************************************************************************/
/* This sample illustrates how to use the <CODE128> tag to generate */
/* Intelligent Mail package barcodes with Enrichment.               */
/*************************************************************************************/
<INPUT>
  <NAME>INPUT
  <file>C:\test\blankpage.afp
    <TYPE>A
    <density> 240
</INPUT>
<OUTPUT>
  <NAME>OUTPUT
  <add>
  <addtype>  128
  <code128> C
  <addpart> x'16'       // FNC1
  <addpart> 420         // Routing Application ID
  <addpart> 123456789   // Zip Code (9 digits)
  <addpart> x'16'       // FNC 1
  <addpart> 94          // Channel Application ID
  <addpart> 123         // Service Type Code
  <addpart> 12          // Source ID
  <addpart> 912345678   // Mailer ID
  <addpart> 1234567     // Serial Number
  <addpart> 1           // MOD 10 check digit
  <bars> 3 PELS
  <height> 60 PELS
  <orient> 1
  <position> 100.0 1000.0 PELS
  </add>

   <FILE>impb.afp

 </OUTPUT>

The generated barcode for this sample is: