Previous Topic

Next Topic

Book Contents

Book Index

Adding the CTX/PTX to the Banner Member

The user banner (member $$USERST in the IOA BANNERS library) must be updated with the CTX/PTX instruction on the line on which the bar code is to be printed. Then the banner variable %USER% must be added on the same line. If any additional data are required in print in bar code format, it can be added in the banner.

Following is an example of the CTX/PTX line that must be added to the user banner. Notice that it is in Hex format.

X'5A002CD3EE9B0000012BD303F10216DA'

where

00 2C          Length of the record.

D3 EE 9B       Structured field identifier (CTX/PTX).

2B D3 03 f1 02 Set the font identifier (for example, 02).

16             Length of the followed data (for example,

               recipient name).

The data (for example, %USER%) must start after X‘DA’ in regular character format.

Note: If only the recipient name must be printed in bar code, the above example can be copied exactly as it appears into the banner member.

Parent Topic

Bar Codes in Banners