If you are using AFP, you can create BCOCA (Bar Code Object Content
Architecture) bar codes instead of using fonts.
See how to use the AFP Toolbox from COBOL applications to create bar
codes. The AFP Toolbox documentation is in the PSF bookshelf.Here is
the latest level bookshelf:
G'day mates,
This is my second attempt to get information about how to print
barcodes on a report that is created in a Cobol program on a mainframe IBM
platform. My particular issue is I do not understand how to look at a barcode
and know what is required on the printline to
This will depend on the printer available.
In modern (FSVO of modern) printers, the barcode font is included in the
printer. YMMV.
In an nutshell, AFP(via COBOL) is used to print a string with a font that
corresponds to the bar code chosen.
There are logic rules to be followed to produce a
The one I remember is EANSRC and EANSRP barcode subroutines with 1/2 and
1 fonts provided. These are for AFP printers. Some of the little printers
do have bar-codes built-in but we couldn't find a justification for them in
the long run.
In a message dated 7/13/2012 2:02:43 P.M. Central