GDDM V3R2 Base Application Programming Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Bar-code-data descriptor (D3A6EB) BDD

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



Specifies the size of the bar-code-object presentation space, the bar code type, and various parameters and attributes for presenting bar code symbols within the object.

0 - 1
X'0000'
2 - 3
Number of measurement units in 10 inches in the x-direction
4 - 5
Number of measurement units in 10 inches in the y-direction
6 - 7
Presentation-space size in the x-direction
8 - 9
Presentation-space size in the y-direction
10 - 11
Reserved
12 - 13
Bar code type and modifier

The following types are supported.
X'01'
3-of-9 code, with modifier X'01'-'02'
X'02'
MSI, with modifier X'01'-X'09'
X'03'
UPC/CGPC-Version A, with modifier X'00'
X'05'
UPC/CGPC-Version E, with modifier X'00'
X'06'
UPC 2 digit supplement, with modifier X'00'
X'07'
UPC 5 digit supplement, with modifier X'00'
X'08'
EAN-8, with modifier X'00'
X'09'
EAN-13, with modifier X'00'
X'0A'
2-of-5 industrial, with modifier X'01'-X'02'
X'0B'
2-of-5 matrix, with modifier XX'01'-X'02'
X'0C'
Interleaved 2-of-5, with modifier X'01'-X'02'
X'16'
EAN 2-digit add-on, with modifier X'00'
X'17'
EAN 5-digit add-on, with modifier X'00'
14
Local font identifier

This allows control of the font to be used for any Human Readable Information (HRI) associated with the bar code. Setting it to X'FF' causes the printer to use the default font appropriate to the particular bar code type. A value in the range X'00' through X'7F' matching the Resource Local Identifier in the preceding MCF/2 causes the IPDS font specified by that MCF/2 to be used for the HRI.

The Resource Local Identifier on the MCF/2 must not clash with that used on any other MCF/2.

Printers may impose restrictions on the font that may be used with a particular bar code type. It is therefore recommended that you use the default X'FF'.

The UPC and EAN bar code types can only be printed with OCR-B.
15 - 16
Color identifier
X'0000' or X'FF00'
Printer default
X'0001' or X'FF01'
Blue
X'0002' or X'FF02'
Red.
X'0003' or X'FF03'
Magenta (pink)
X'0004' or X'FF04'
Green
X'0005' or X'FF05'
Turquoise (cyan)
X'0006' or X'FF06'
Yellow
X'0008'
Black
X'0010'
Brown
X'FF07'
Printer default
X'FF08'
Color or medium
17
Module width
X'FF'
Printer default
Others
The width in thousandths of an inch of the smallest defined bar code dimension
18 - 19
Element height
X'FFFF'
Printer default height
Others
The height of bar and space elements in units of 1/1440 of an inch.
20
Height multiplier

The number of vertically contiguous, identical bar and space patterns printed in a bar code symbol.
21 - 22
Wide-to-narrow ratio

The ratio of the wide element to the narrow element dimension.
X'FFFF'
Printer default
X'0014'-X'00IE'
2.0 - 3.0 in units of 0.1
X'00C8'-X'012C'
2.00 - 3.00 in units of 0.01

This does not apply to UPC/CGPC, EAN, JAN, or UPC codes.

Note: Printers impose restrictions on the values accepted in bytes 17 through 22. These restrictions also depend on the bar code type (byte 12). Check your printer documentation before using non-default values.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012