TransAct Technologies ITHERM 280 User Manual

Page 143

Advertising
background image

iTherm

®

280 Programmer’s Guide

Programming Codes

28-07764

Rev C

Page 141

Code 39
Code 39 is an alphanumeric bar code. It is a discrete, self-checking, variable-length code. The
printer prints the complete data field. The number of characters that can be printed depends on
the bar width scaling. If the bar code scale is set to 2, 17 characters may be printed per line.
There are two modes of operation for the Code 39 barcodes. The first is in a variable length
format. In this mode all characters sent to the printer will be printed up to the termination
character. Only 0-9, A-Z -, period, and space may be printed. $, %, +, and / Characters may be
used as escape characters for full 128 character support. If illegal characters are passed to the
printer, they are converted to legal codes. (For example, a would be converted to A).

In full 128 character mode, the printer will encode the full 128 character set. In this mode, the
first character received must be the length. IE. [ESC]k<1><n>… where n specifies the number
of characters to follow. The characters following n characters may be from 0to 127. Values
greater than 127 are converted to printable characters by removing the 8

th

bit.


The following table specifies the Code 39 character set.

ASCII

Code

NUL

%U

SOH

$A

STX

$B

ETH

$C

EOT

$D

ENQ

$E

ACK

$F

BEL

$G

BS

$H

HT

$I

LF

$J

VT

$K

FF

$L

CR

$M

SO

$N

SI

$O

DLE

$P

DC1

$Q

DC2

$R

DC3

$S

DC4

$T

NAK

$U

SYN

$V

ETB

$W

CAN

$X

EM

$Y

SUB

$Z

ESC

%A

FS

%B

GS

%C

RS

%D

US

%E

ASCII

Code

SP

Space

!

/A

"

/B

#

/C

$

/D

%

/E

&

/F

'

/G

(

/H

)

/I

*

/J

+

/K

,

/L

-

-

.

.

/

/O

0

0

1

1

2

2

3

3

4

4

5

5

6

6

7

7

8

8

9

9

:

/Z

;

%F

<

%G

=

%H

>

%I

?

%J

ASCII

Code

@

%V

A

A

B

B

C

C

D

D

E

E

F

F

G

G

H

H

I

I

J

J

K

K

L

L

M

M

N

N

O

O

P

P

Q

Q

R

R

S

S

T

T

U

U

V

V

W

W

X

X

Y

Y

Z

Z

[

%K

\

%L

]

%M

^

%N

_

%O

ASCII

Code

`

%W

a

+A

b

+B

c

+C

d

+D

e

+E

f

+F

g

+G

h

+H

i

+I

j

+J

k

+K

l

+L

m

+M

n

+N

o

+O

p

+P

q

+Q

r

+R

s

+S

t

+T

u

+U

v

+V

w

+W

x

+X

y

+Y

z

+Z

{

%P

|

%Q

}

%R

~

%S

DEL

%T

Figure 14 Code 39 full 128 character encoding

Advertising