AMT Datasouth PAL User Manual

Page 207

Advertising
background image

A. Bar Code Considerations

201

The formulas use the following variables:

L

The width of the bar code bit map.

X

Width of narrow elements in the symbol. The units of this variable
determine the units of the answer (i.e., if X is in dots, L will be in dots).

N

The number of characters including function and shift codes, if applicable,
and excluding characters covered by D, P, and W.

D

Number of numerical digits in Code 128 mode C.

P

Number of partial or complete pairs of digits in I 2 of 5 bar codes.

W

Number of : / . and + characters in Codabar symbols.

R

Wide to narrow ratio of elements in symbologies that have wide and
narrow elements.

Q

Quiet zone width. Number of narrow elements (X) to leave blank at the
beginning and end of the symbol. This value is always 10 in PAL symbols.

Use the following formulas to estimate the bar code width:

Code 39

L = N + 1 + (N + 2) * (6 * X + 3 * R * X) + 2 * Q

Code 93

L = ((4 + N) * 9 + 1) * X + 2 * Q

Code 128

L = ((5.5 * D + 11 * N + 35) * X) + 2 * Q

CODABAR

L = (((2 * R + 5) * N + (R - 1) * (W + 2) + (N - 1) * X) + 2 * Q

EAN-13

L = 95 * X + 2 * Q

EAN-13+2

L = 125 * X + 2 * Q

EAN-13+5

L = 153 * X + 2 * Q

EAN-8

L = 67 * X + 2 * Q

I 2 of 5

L = (P * (4 * R + 6) + 6 + R) * X + 2 * Q

UPC-A

L = 95 * X + 2 * Q

UPC-A+2

L = 125 * X + 2 * Q

UPC-A+5

L = 153 * X + 2 * Q

UPC-E

L = 51 * X + 2 * Q

Note that all PAL bar code bit maps have a 10X quiet zone at each end. If you need to place the
bar portion of the bit map at a specific location, start the bar code 10X to the left of the desired lo-
cation. Be sure to leave at least 10X of white space or the bar code may not scan properly. Also,
remember that UPC and EAN symbols print human-readable text in the quiet zone.

Advertising