beautypg.com

Citizen Systems CBM-231 User Manual

Page 46

background image

CBM-230/231 User’s Manual

41

CITIZEN

(23) Selecting Character Code Table (ESC t n)

Code : [1B]h + [74]h + n

* {0

n

1}

The data is described with the hexadecimal code.

Selecting Page n on the character code table:

"n" has the following meanings.

n (Hex)

Type

0

IBM character No. 2

(24) Transmitting the printer status (ESC v)

Code : [1B]h + [76]h

Transmits the current printer status.

The transmitted status is of 1 byte and its contents are as shown in the table below.

In case of DTR/DSR control, only one byte is transmitted after confirming that the host is ready to

receive (DSR signal is in the Space mode). In case of XON/XOFF control, only one byte is transmitted

without confirming the state of the DSR signal.

In case of DTR/DSR control, if the host is not ready to receive (DSR signal is in the Mark mode), it

waits to get ready to receive.

Value

Bit

Function

0

1

0

Paper near end

With Paper

Without Paper

1

Undefined

2

Paper end

With Paper

Without Paper

3

Undefined

4

Unused

Fixed to 0

5

Undefined

6

Undefined

7

Undefined

[Caution]

Serial interface only