Bar codes and printing from SAP R/3 through InfoPrint Manager

Table Bar code Type field values, Table Bar code Mode field values, and Table Bar Code Flag Values map the Bar Code Object Content Architecture values with the SAP R/3 system values found in the barcode.tab configuration file, which is located in the /usr/lpp/psf/sap2afp directory on an InfoPrint AIX or InfoPrint Linux system and the install_path\sap2afp folder on an InfoPrint Windows system.

Bar code Type field values

Bar code Type field values Description
X'01' Code 3 of 9
X'02' MSI
X'08' EAN-8
X'09' EAN-13
X'0C' Interleaved 2 of 5
X'11' Code 128
X'18' POSTNET
X'1E' PDF 417

Bar code Mode field values

Mode Field values Bar code Type Meaning
1 X'01' Present the bar code without a generated check digit.
2 X'01' Generate a check digit and present it with the bar code.
1 X'02' Present the bar code without check digits generated by the printer.
2 X'02' Present the bar code with generated modulo-10 check digit. This check digit is the second check digit; the first check digit is the last byte of the BSA data.
3 X'02' Present the barcode with two check digits. Both check digits are generated using the modulo-10 algorithm.
5 X'02' Present the barcode with two check digits. The first check digit is generated using the modulo-11 algorithm; the second using the modulo-10 algorithm. The first check digit equals the remainder; exception condition EC-0E00 exists if the first check-digit calculation results in a value of 10.
0 X'08' Present an EAN-8 barcode symbol. The input data consists of seven digits: two flag digits and five article digits. All seven digits are encoded along with a generated check digit.
0 X'09' Present an EAN-13 barcode symbol. The input data consists of twelve digits: two flag digits and ten article digits, in that order. The first flag digit is not encoded. The second flag digit, the article number digits, and generated check digits are encoded. The first flag digit is presented in HRI form at the bottom of the left quiet zone. The first flag digit governs the A and B number-set pattern of the barcode and space coding of the six digits to the left of the symbol center pattern.
1   Present the bar code without a generated check digit. In sequence, the input data consists of a start character, digits to be encoded, and a stop character.
2 X'0C' Generate a check digit and present it with the bar code. In sequence, the input data consists of a start character, digits to be encoded, and a stop character.
2 X'11' Generate a Code 128 symbol using subset A, B, or C as appropriate, to produce the shortest possible bar code from the given data. The Code 128 code page is used to interpret the bar code symbol data. Generate a check digit and present it with the data.
0 X'18' Present the ZIP code as 5 digits.
1 X'18' Present the ZIP code as 9 digits.
0 X'1E' Present a full PDF417 bar code symbol.
1 X'1E' Present a truncated PDF417 bar code symbol, for use in a relatively clean environment in which damage to the symbol is unlikely. This version omits the right row indicator and simplifies the stop pattern into a single module width bar.

The barcode.tab configuration file can contain the FlagPDF keyword that represents byte 5 of the BSA (Bar Code Symbol Data) from PDF417 Special-Function Parameters. This flag is only used with PDF417 bar code types, and it controls how the bar code data is processed by the BCOCA receiver. For more information, see Bar Code Object Content Architecture Reference.

Bar Code Flag Values

Flag field values Meaning
128 Present without Human Readable Text (HRI)
0 Present with Human Readable Text