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

Table Bar Code Type field values, Bar Code Mode field values, and Table Bar Code Flag field 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 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
X'21' Code 93
X'1C' Data Matrix
X'20' QR Code

Bar Code Mode field values

Modifier Value Bar Code Type Meaning
X'01' X'01' Present the bar code without a generated check digit.
X'02' X'01' Generate a check digit and present it with the bar code.
X'01' X'02' Present the bar code without check digits generated by the printer.
X'02' 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.
X'03' X'02' Present the barcode with two check digits. Both check digits are generated using the modulo-10 algorithm.
X'05' 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.
X'00' 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.
X'00' 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.
X'01'   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.
X'02' 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.
X'02' 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.
X'00' X'18' Present the ZIP code as 5 digits.
X'01' X'18' Present the ZIP code as 9 digits.
X'00' X'1E' Present a full PDF417 bar code symbol.
X'01' 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.
X'00' X'21' Present a Code 93 bar code symbol. The linear bar code symbology is similar to Code 39, but more compact than Code 39. Code 93 bar code symbols are made up of a series of characters, each of which is represented by 9 modules arranged into 3 bars with their adjacent spaces. The bars and spaces vary between 1 module wide and 4 modules wide.
X'00' X'1C' Present a Data Matrix Bar Code symbol using Error Checking and Correcting (ECC) algorithm 200.
X'02' X'20' Present a Model 2 QR Code Bar Code symbol.

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 field values

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