From the US ASCII character table, the ASCII character whose decimal value is 50 is the ASCII character 2. Thus, in this example, you set the value of n to 2.

Printer Operation Commands

These commands allow the host computer to control some basic printer functions.

Sound Bell

Control character: BEL

Hexadecimal: 07

This command causes the printer to sound a short tone.

Transmit Configuration Report

Escape sequence:

ESC

[

c

Hexadecimal:

1B

5B

63

The host computer sends this command to request a report of the current printer configuration. A configuration report contains hexadecimal codes that inform the host of the current printer configu- ration.

Example. The following is a typical configuration report.

[880;14;27;36;41c

Each of the two-digit numbers is a hexadecimal configuration code that indicates the following.

 

Code

Configuration

 

 

 

 

14

The current printer communication mode is direct-connection

 

 

with pin 11 of the serial interface active for ready.

 

27

The current baud rate setting is 4800 bits per second.

 

36

The printer is set for 7-bit operation with even parity

 

 

checking.

 

41

The current ASCII language version is U.S.

 

 

 

 

 

 

TI Model 880 Printer Emulation 4-11

Page 72
Image 72
Epson 8900 Series manual Printer Operation Commands, Sound Bell, Transmit Configuration Report, Code Configuration