CHAPTER 7: Advanced Features

7.5 Printing Bar Codes

7.5.1THE COMMAND LINE

Using the HPIIISi Twinax Card’s “bar code” feature, the bar codes in Table 7-1 can be easily printed.

Table 7-1. Printable Bar Codes

 

Type

Bar Code

 

1

Code 3 of 9

 

2

Code 128

 

3

Interleaved 2 of 5

 

4

POSTNET

 

5

UPC A

 

6

EAN 8

 

 

7

EAN 13

To print any of these bar codes, use the following format:

¬B<type>,<height>,<width>,

<hr>,<chkd>,<ast>,<data>¬B

The bar-code command string must contain all of these parameters, even if the parameter is irrelevant for the type of bar code being printed. For example, POSTNET comes in only one size, so any height or width specifications are ignored. But the parameters for height and width must be included anyway.

The following paragraphs describe each of the components of the bar-code command string:

¬B:

Identifies the string as a bar-code command string. ¬B must be placed at the beginning and at the end of the string.

<type>:

Specifies the bar-code type according to Table 7-1.

<height>:

Specifies the height of the bar code. Height is expressed in whole-number multiples of 2.5 mm (approximately 110"), from 1 (2.5 mm) to 9 (22.5 mm).

Height values are ignored if the POSTNET bar code is being printed, since POSTNET uses one standard height. However, a valid value (1 to 9) must be entered for the height parameter to ensure that the bar-code command string is complete.

59

Page 60
Image 60
Black Box PC118C-R2 manual Printing Bar Codes, Printable Bar Codes