beautypg.com

Appendix a. character conversion, Track 1 character set, Track 2 and 3 character set – MagTek TTL User Manual

Page 25

background image

21

APPENDIX A. CHARACTER CONVERSION

TRACK 1 CHARACTER SET

Card Data

ASCII

Card Data

ASCII

Character P B

6

B

5

B

4

B

3

B

2

B

1

P0 P1 EP OP

Character

P B

6

B

5

B

4

B

3

B

2

B

1

P0 P1 EP OP

Space 1 0 0 0 0 0 0 20 A0 A0

20

@

(ND) 0 1 0 0 0 0 0 40 C0 C0

40

!

(ND) 0 0 0 0 0 0 1 21 A1

21

A1

A

1 1 0 0 0 0 1 41 C1 41

C1

"

(ND) 0 0 0 0 0 1 0 22 A2

22

A2

B

1 1 0 0 0 1 0 42 C2 42

C2

#

(OG) 1 0 0 0 0 1 1 23 A3 A3

23

C

0 1 0 0 0 1 1 43 C3 C3

43

$

0 0 0 0 1 0 0 24 A4

24

A4

D

1 1 0 0 1 0 0 44 C4 44

C4

%

(SS) 1 0 0 0 1 0 1 25 A5 A5

25

E

0 1 0 0 1 0 1 45 C5 C5

45

&

(ND) 1 0 0 0 1 1 0 26 A6 A6

26

F

0 1 0 0 1 1 0 46 C6 C6

46

'

(ND) 0 0 0 0 1 1 1 27 A7

27

A7

G

1 1 0 0 1 1 1 47 C7 47

C7

(

0 0 0 1 0 0 0 28 A8

28

A8

H

1 1 0 1 0 0 0 48 C8 48

C8

)

1 0 0 1 0 0 1 29 A9 A9

29

I

0 1 0 1 0 0 1 49 C9 C9

49

* (ND)

1 0 0 1 0 1 0 2A AA AA 2A

J

0 1 0 1 0 1 0 4A CA CA 4A

+ (ND)

0 0 0 1 0 1 1 2B AB 2B AB

K

1 1 0 1 0 1 1 4B CB 4B CB

, (ND)

1 0 0 1 1 0 0 2C AC AC 2C

L

0 1 0 1 1 0 0 4C CC CC 4C

-

0 0 0 1 1 0 1 2D AD 2D AD

M

1 1 0 1 1 0 1 4D CD 4D CD

.

0 0 0 1 1 1 0 2E AE 2E AE

N

1 1 0 1 1 1 0 4E CE 4E CE

/

1 0 0 1 1 1 1 2F AF AF 2F

O

0 1 0 1 1 1 1 4F CF CF 4F

0

0 0 1 0 0 0 0 30 B0

30

B0

P

1 1 1 0 0 0 0 50 D0 50

D0

1

1 0 1 0 0 0 1 31 B1 B1

31

Q

0 1 1 0 0 0 1 51 D1 D1

51

2

1 0 1 0 0 1 0 32 B2 B2

32

R

0 1 1 0 0 1 0 52 D2 D2

52

3

0 0 1 0 0 1 1 33 B3

33

B3

S

1 1 1 0 0 1 1 53 D3 53

D3

4

1 0 1 0 1 0 0 34 B4 B4

34

T

0 1 1 0 1 0 0 54 D4 D4

54

5

0 0 1 0 1 0 1 35 B5

35

B5

U

1 1 1 0 1 0 1 55 D5 55

D5

6

0 0 1 0 1 1 0 36 B6

36

B6

V

1 1 1 0 1 1 0 56 D6 56

D6

7

1 0 1 0 1 1 1 37 B7 B7

37

W

0 1 1 0 1 1 1 57 D7 D7

57

8

1 0 1 1 0 0 0 38 B8 B8

38

X

0 1 1 1 0 0 0 58 D8 D8

58

9

0 0 1 1 0 0 1 39 B9

39

B9

Y

1 1 1 1 0 0 1 59 D9 59

D9

: (ND)

0 0 1 1 0 1 0 3A BA 3A BA

Z

1 1 1 1 0 1 0 5A DA 5A DA

; (ND)

1 0 1 1 0 1 1 3B BB BB 3B

[

(ND) 0 1 1 1 0 1 1 5B DB DB 5B

<

(ND) 0 0 1 1 1 0 0 3C BC 3C BC

\

(ND) 1 1 1 1 1 0 0 5C DC 5C DC

=

(ND) 1 0 1 1 1 0 1 3D BD BD 3D

]

(ND) 0 1 1 1 1 0 1 5D DD DD 5D

> (ND)

1 0 1 1 1 1 0 3E BE BE 3E

^

(FS) 0 1 1 1 1 1 0 5E DE DE 5E

?

(ES) 0 0 1 1 1 1 1 3F BF 3F BF

_

(ND) 1 1 1 1 1 1 1 5F DF 5F DF

TRACK 2 AND 3 CHARACTER SET

Card Data

ASCII

Card Data

ASCII

Character P B

4

B

3

B

2

B

1

P0 P1 EP OP

Character

P B

4

B

3

B

2

B

1

P0 P1 EP OP

Hex

Character

0

1 0 0 0 0 30

B0

30 B0

8

0 1 0 0 0 38

B8

B8

38

1

0 0 0 0 1 31

B1

B1 31

9

1 1 0 0 1 39

B9

39

B9

2

0 0 0 1 0 32

B2

B2 32

:

(AS) 1 1 0 1 0 3A

BA

3A BA

A

3

1 0 0 1 1 33

B3

33 B3

;

(SS) 0 1 0 1 1 3B

BB

BB 3B

B

4

0 0 1 0 0 34

B4

B4 34

<

(ND) 1 1 1 0 0 3C

BC

3C BC

C

5

1 0 1 0 1 35

B5

35 B5

=

(FS) 0 1 1 0 1 3D

BD

BD 3D

D

6

1 0 1 1 0 36

B6

36 B6

>

(ND) 0 1 1 1 0 3E

BE

BE 3E

E

7

0 0 1 1 1 37

B7

B7 37

?

(ES) 1 1 1 1 1 3F

BF

3F BF

F

P = Parity

EP = Even Parity

OP = Odd Parity
P0 = Parity bit set to 0

REGISTERED TO ISO 9001:2000

1710 Apollo Court, Seal Beach, CA 90740

Phone: (562) 546-6400, Help Line (651) 415-6800
Fax (562) 546-6301

http://www.magtek.com

P1 = Parity bit set to 1
SS = Start Sentinel
ES = End Sentinel
FS = Field Separator
AS = Account Separator (Track 3 only)

P/N 99875065-4, 4/03Copyright 2000-2003, Mag-Tek

®

, Inc

ND = Character Not Defined by Credit Card Standards
OG

=

Optional Graphic