Bym,r,a (bar-code default values), B2r,a,h,p,c (interleaved 2/5) – Compuprint 6314 CZL User Manual

Page 19

Advertising
background image

CZL – Programmer Manual



19

^BYm,r,a (Bar-code default values)

This command makes it possible to set the width of the module, the ratio and height of all bar-codes
included in the label, and affects the bar-codes that follow it up to the next ^BY command.
m is a whole number between 1 and 10

48

and expresses the width in dots of the narrow bar (the base

module of the bar-code)

r is a rational number (with a single decimal-place character) between 2.0 and 3.0

49

and sets the ratio

of the bar-codes. The actual ratio (according to which the bar-code is printed) is limited by the
fact that it is not possible to break up a dot into fractions. Therefore, it depends on the parameter
r, together with the parameter m in accordance with table 1. In fixed ratio bar-codes, this
parameter has no effect.

a is a whole number between 1 and 9999

50

and indicates the height of the bar-code, expressed in

dots.

Ratio (r)

Module (m)

1

2 3 4 5 6 7 8 9

10

2.0 2:1

2:1 2:1 2:1 2:1 2:1 2:1 2:1 2:1 2:1

2.1 2:1

2:1 2:1 2:1 2:1 2:1 2:1 2:1 2:1

2.1:1

2.2 2:1

2:1 2:1 2:1

2.2:1

2.16:1

2.1:1

2.12:1

2.1:1

2.2:1

2.3

2:1 2:1 2.3:1 2.25:1 2.2:1 2.16:1 2.28:1 2.25:1 2.2:1 2.3:1

2.4 2:1 2:1 2.3:1 2.25:1 2.4:1 2.3:1 2.28:1 2.37:1 2.3:1 2.4:1
2.5 2:1 2.5:1 2.3:1 2.5:1 2.4:1 2.5:1 2.4:1 2.5:1 2.4:1 2.5:1
2.6 2:1 2.5:1 2.3:1 2.5:1 2.6:1 2.5:1 2.57:1 2.5:1 2.5:1 2.6:1
2.7 2:1 2.5:1 2.6:1 2.5:1 2.6:1 2.6:1 2.57:1 2.65:1 2.6:1 2.7:1
2.8

2:1 2.5:1 2.6:1 2.75:1 2.8:1 2.6:1 2.7:1 2.75:1 2.7:1 2.8:1

2.9

2:1 2.5:1 2.6:1 2.75:1 2.8:1 2.8:1 2.85:1 2.87:1 2.8:1 2.9:1

3.0 3:1

3:1 :31 3:1 3:1 3:1 3:1 3:1 3:1 3:1

table 1 – Relationship between the ratio and width of the module

^B2r,a,h,p,c (Interleaved 2/5)

This is a high-density code, accepts only numerals, and is of variable length with an optional digit
check; it accepts ratios from 2 to 3 (see table 8 on page 49).
The command accepts up to 100 characters but the limit is determined by the label width (or by the
maximum length of the printing area if the bar-code is rotated by 90°/270°

51

) together with the ratio

set by the ^BY command on page 19. In other words, if the bar-code spills over the boundaries of the
printing area due its excessive size (determined by the number of characters to be coded and/or by
the ratio), it could be wrongly interpreted by the reader. In any event, the part that is included in the
useful printing area is printed.

48

The default value is 2.

49

The default value is 3.0. The point is used as the decimal separator.

50

The default value is 10. The upper limit is determined by the greatest length of the label (see note 7 on page 9).

51

The maximum length of the printing area is in turn limited by the available RAM. Please refer to the User Manual.

Advertising
This manual is related to the following products: