3. RS-232C Protocol

Appendix C Host Computer Interface

3. RS-232C Protocol

A protocol is a set of rules the computer follows in sending data to the printer. They are indicated on the status page. Parameters can be changed from the operator panel. See Changing Serial Interface Modes on page 3-19. The parameters and their identi- fication codes are given below.

H1: Baud rate

Parameter value

Baud rate

 

 

12

1200

 

 

24

2400

 

 

48

4800

 

 

96

9600

 

 

19

19200

 

 

38

38400

 

 

57

57600

 

 

11

115200

 

 

The factory default setting is 9600 baud.

NOTE

Some computers may not be compatible with a baud rate of 115200 bps. If you set the baud rate to 115200 and communica- tion problems occur, lower the baud rate.

H2: Data bits

7 or 8; the factory default setting is 8.

H3: Stop bits

1 or 2; the factory default setting is 1.

H4: Parity

Parameter value

Meaning

 

 

0

None

 

 

1

Odd

 

 

2

Even

 

 

3

Ignore

 

 

The factory default setting is None (0 on the status printout).

H5: Protocol logic

Parameter value

Meaning

 

 

0

Combination of 1 and 3 below

 

 

1

DTR, positive logic

 

 

2

DTR, negative logic

 

 

3

XON/XOFF

 

 

4

ETX/ACK

 

 

5

XON/XOFF recognized only as protocol

 

 

The factory default setting is 0.

H6: Buffer nearly-full threshold

This is a percentage from 0 to 99. The factory default setting is 90.

H7: Buffer nearly-empty threshold

This is a percentage from 0 to 99. The factory setting is 70. The factory default settings of the buffer nearly-full and nearly- empty thresholds (H6 and H7) are subject to change without no- tification.

The gap between the nearly-full and nearly-empty thresholds al- lows the computer to send a fairly large amount of data in a con- tinuous stream.

H8: Received-data buffer size

This is the size of the input buffer, specified in units of 10 Kbytes. The factory default setting is 6, meaning 60 Kbytes.

PRESCRIBE FRPO D0 command

The PRESCRIBE FRPO D0 command is provided to allow ma- nipulating XON/XOFF when an error has occurred on the serial interface. The following table summarizes the error status corre- sponding to different D0 values.

Timing of XON transfer to host

Serial interface error

 

 

while Ready or Waiting

Error

Error

 

not handled

handled

XON sent every 3 to 5 seconds

D0=0

D0=1

 

(default)

 

 

 

 

XON not sent

D0=10

D0=11

 

 

 

C-3

Page 97
Image 97
Kyocera S-9100DN RS-232CProtocol, Appendix C Host Computer Interface, H1: Baud rate, Parameter value, H2: Data bits, Error