Chapter 7 Bar Codes

Bar Code Format

ASCII Code SSCC c t ; d data d [; N n ; xxxx ; yyyy ] [; X mmmm ] [; P p ] [; C ] [; H hh ] [; D]

Hex Code SSCC 63 t 3B d data d [3B 4E n 3B xxxx 3B yyyy] [3B 58 mmmm] [3B 50 p] [3B 43] [3B 48 hh] [3B 44]

Dec Code SSCC 99 t 59 d data d [59 78 n 59 xxxx 59 yyyy] [59 88 mmmm] [59 80 p] [59 67] [59 72 hh] [59 68]

Purpose Invokes bar codes.

Comment The brackets indicate optional parameters in the command string. Do not include the brackets in your command.

These bar codes cannot be rotated or scaled. If there is a printable data field in the bar code specification, it prints in the Letter Gothic (LG) font; except for UPC-A and UPC-E which print in OCR B.

Bar codes cannot be positioned beyond the bottom or right end of the currently defined logical form. The command syntax prevents positioning the cursor above the current position or to the left of the form. Drawing a bar code causes the printer to automatically switch to print mode.

The LG print mode is active until the bottom of the bar code has been printed. After this, you can change the print mode. You can change the print mode to OCR A, OCR B or back to LG between the current cursor location and the bottom of the bar code position. Print mode changes to Courier are ignored in this region.

where: t = type of bar code (see Table 61).

Table 61. Bar Code Type Codes

 

t

Selects Bar

 

 

 

ASCII

 

Hex

Code

 

 

 

 

 

 

 

 

 

H

 

48

Australian 4-State

B

 

42

Codabar

C

 

43

Code 39

9

 

39

Code 93

D

 

44

Code 128

8

 

38

EAN 8

1

 

31

EAN 13

F

 

46

FIM

G

 

47

German I-2/5

I

 

49

Interleaved 2/5

X

 

58

Maxicode

 

 

 

 

218

Page 218
Image 218
IBM 4400 manual Bar Code Format, Bar Code Type Codes Selects Bar