beautypg.com

Barcode: code 39 – AMT Datasouth PAL User Manual

Page 45

background image

39

_barcode: Code 39

Character Set

Valid characters for Code 39 bar codes are the digits 0 through 9, the capital letters A through Z, a
space, and the characters - . $ / + % and *. Any other characters will cause the string to be rejected
with a rangecheck error.

Extended Character Set

Code 39 supports a scheme for encoding the full ASCII character set. By combining the characters
$ + % and / with valid Code 39 characters as shown in the following table, all ASCII characters
may be encoded.

Usage Notes

The start and stop characters (*) need not be specified. If they are omitted, PAL will supply them.

The generated image includes leading and trailing quiet zones (white space). The size of the quiet
zone is 10 times NarrowWidth. If this results in a quiet zone of less than 0.10 inch (2.54 mm), the
user should leave additional white space before and after the bar code.

The following example generates 0.5 inch tall Code 39 bar code with 0.01 inch narrow bars and a
ratio of 2.5:1. A check digit will be calculated and start/stop characters will be displayed.

ASCII

PAL

String

ASCII

PAL

String

ASCII

PAL

String

ASCII

PAL

String

NUL

(%U)

SP

( )

@

(%V)

`

(%W)

SOH

($A)

!

(/A)

A

(A)

a

(+A)

STX

($B)

"

(/B)

B

(B)

b

(+B)

ETX

($C)

#

(/C)

C

(C)

c

(+C)

EOT

($D)

$

(/D)

D

(D)

d

(+D)

ENQ

($E)

%

(/E)

E

(E)

e

(+E)

ACK

($F)

&

(/F)

F

(F)

f

(+F)

BEL

($G)

'

(/G)

G

(G)

g

(+G)

BS

($H)

(

(/H)

H

(H)

h

(+H)

HT

($I)

)

(/I)

I

(I)

i

(+I)

LF

($J)

*

(/J)

J

(J)

j

(+J)

VT

($K)

+

(/K)

K

(K)

k

(+K)

FF

($L)

,

(/L)

L

(L)

l

(+L)

CR

($M)

-

-

M

(M)

m

(+M)

SO

($N)

.

.

N

(N)

n

(+N)

SI

($O)

/

(/O)

O

(O)

o

(+O)

DLE

($P)

0

0

P

(P)

p

(+P)

DC1

($Q)

1

1

Q

(Q)

q

(+Q)

DC2

($R)

2

2

R

(R)

r

(+R)

DC3

($S)

3

3

S

(S)

s

(+S)

DC4

($T)

4

4

T

(T)

t

(+T)

NAK

($U)

5

5

U

(U)

u

(+U)

SYN

($V)

6

6

V

(V)

v

(+V)

ETB

($W)

7

7

W

(W)

w

(+W)

CAN

($X)

8

8

X

(X)

x

(+X)

EM

($Y)

9

9

Y

(Y)

y

(+Y)

SUB

($Z)

:

(/Z)

Z

(Z)

z

(+Z)

ESC

(%A)

;

(%F)

[

(%K)

{

(%P)

FS

(%B)

<

(%G)

\

(%L)

|

(%Q)

GS

(%C)

=

(%H)

]

(%M)

}

(%R)

RS

(%D)

>

(%I)

^

(%N)

(%S)

US

(%E)

?

(%J)

_

(%O)

DEL

(%T)