Toshiba B-850 manual Control Code Selection

Models: B-850

1 288
Download 288 pages 53.68 Kb
Page 199
Image 199

7.CONTROL CODE SELECTION

(1)Automatic Selection

This printer automatically selects [ESC] (1BH). [LF] (0AH). [NUL] (00H) or {(7BH). (7CH).} (7DH) as an interface command control code. After the power is turned on, the program checks the data from the host for [ESC] and { and assumes the data whichever has been sent first to be a control code.

For example, if [ESC] is sent first after the power is turned on, [ESC]. [LF]. [NUL] becomes a control code, and if { is sent first, { . . } becomes a control code. Control code selection is made for every command. If the first command is [ESC] ~ [LF] [NUL], followed by [ESC], the control code becomes [ESC]. [LF]. [NUL], and if it is followed by { , the control code for the next command becomes { . . }. When { . . } is a control code, the data of 00H to 1FH in { ~ } is ignored. However, the data of 00H to 1FH becomes valid while processing the Graphic Command or Writable Character Command in the hexadecimal mode. When { . . } is a control code, { . . } cannot be used in the data of the Data Command or Display Command.

Power ON

Read received data

 

 

No

 

<Received data ESC?>

 

 

 

 

 

 

 

 

No

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Yes

 

 

 

 

 

 

 

<Received data { ?>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Yes

 

 

 

 

 

 

 

 

 

 

 

Assume control code

Assume control code

to be ESC. LF. NUL

to be { . . }

Command processing

(2) Manual Selection (ESC. LF. NUL)

Discard read

data

The control code of the command is [ESC] (1BH). [LF] (0AH). [NUL] (00H), and the control code selection is not performed.

(3)Manual Selection ({ . . })

The control code of the command is {(7BH). (7CH).} (7DH), and the control code selection is not performed. Data of 00H to 1FH is ignored and discarded in this mode. However, data of 00H to 1FH becomes valid while processing the Graphic Command or Writable Character Command in the hexadecimal mode. { . . } cannot be used in the data of the Data Command or Display Command.

(4)Manual Selection (Any set code)

The control code of the command is the code set in the system mode, and the control code selection is not performed. The code used in each command should not be set as a control code. In the Data Command or Display Command, the code set as the control code cannot be used.

- 195 -

Page 199
Image 199
Toshiba B-850 manual Control Code Selection