Bar codes

A bar code resource (or BCOCA resource) is a Bar Code Object Content Architecture (BCOCA) object stored as a resource in the page segment library. Bar codes are soft resources.

Bar codes represent characters by sets of parallel bars of differing thickness and separation, multiple rows of parallel bars, or a matrix of data cells that is typically composed of squares or circles. These codes can represent, for example, product numbers, part numbers, and manual numbers. Bar codes can be read optically by transverse scanning. Figure 1 shows the bar code printed on the sample page.
Figure 1. Bar codes on the sample page
This figure shows a bar code on the bottom of the sample page.

Many different kinds of bar code coding arrangements, or symbologies, are developed for specific applications. PSF supports both linear symbologies and two-dimensional symbologies. Some of these codes are:

  • 2 of 5 Codes: Industrial, Interleaved, Matrix
  • Codabar
  • Code 39 (Code 3 of 9)
  • Code 93
  • Data Matrix and MaxiCode
  • EAN 8 and EAN 13
  • MSI/Plessey
  • PDF417
  • Postnet
  • QR Code
  • UPC A and UPC E
Note: To see whether a printer supports bar code encodings, such as Data Matrix, GS1 DataBar, Royal Mail RED TAG, and USPS Intelligent Mail Container, use the display printer information function in PSF. See PSF for z/OS: Diagnosis for more information.

A bar code can be created several different ways, but if it is created by using a set of MO:DCA-P structured fields that is called a BCOCA object, the object can then be stored as a resource for easier use.