3.Run any program that causes the printer to print (either an application program or one in any programming language). Your printer prints out all the codes sent to the printer, as shown below. (In order to print the last line, you will have to take the printer off line.)

1 8

4

0 1 B 5 2 0 0 1 B 7 4 0 1

1 2 1 8

5 0 1 B 7 0 0 0

. @ . R . . t . . 6 . . P . p .

2 0

2

0 5 4

6 8

6 9

7 3 2 0

a l 6 E 2 0 6 5 7 8

6 1

T h i s i s a n e x a

6 D 7 0 6 C 6 5 2 0 6 F 6 6

6 4

6 1

7 4 6 1

2 0 6 4

m p l e o f a a a t a d

7 5

6 D 7 0

2 0

7 0

7 2

6 9

7 5

7 4 2 E 2 0 5 4

6 8

u m p p r i n t o u t .

T h

6 9 7 3 2 0 6 6

6 5 6 1 7 4

5 2 0

6 D 6 1

6 B 6 5

7 3

i s f e a t u r e m a k e s

0 A 2 0 2 0 2 0

2 0 2 0

6 9

5 6 1 7 3 7 9

2 0

6 6

6 F

i t

e a s y

t o

On the left side of the printout all the codes are printed in hexadecimal format. On the right side of the printout all printable characters are printed, and others, such as control codes, are represented by dots.

4.To turn off the data dump mode after you have taken the printer off line, turn off the printer.

By comparing the characters printed in the text field on the right side of the data dump printout with the printout of hex codes, you can check which codes are being sent to the printer.

To interpret the data dump printout, examine the first three hex codes on the second line of the printout sample (20 20 54). Each hex code 20 represents a space; hex code 54 represents the letter T. Check the second line of the text field on the right side of the printout and you will find the letter T preceded by two spaces.

The chart below interprets the first eight codes.

Hex codes

Command

Function

 

 

 

 

 

 

1B40

ESC

Initialize printer

 

1B5200

ESC R 0

Select USA character set

 

1B7401

ESC t 1

Select PC 437 (Epson Extended Graphics)

 

 

 

 

 

 

Using the Printer 3-27