8.2 Control Code Details

(1) Command for Line Feed After Printing (CR/LF)

By entering CR (0DH)/LF (0AH) codes, data in the print buffer is printed followed by a line feed. Without data in the print buffer, only a line feed is performed. This command is ignored just after buffer full in case of 920 emulation.

CR and LF are valid in the following conditions.

CBM-920 Emulation

 

SW1 Switch No.1

 

 

OFF

ON

 

Serial

LF only

CR and LF

 

Parallel

LF only

CR and LF

 

 

iDP3110 Emulation

 

SW2 Switch No.2

 

 

OFF

ON

 

Serial

CR only

LF only

 

Parallel

LF only

CR only

(2) Specify/Clear double-width character (SI, SO, US, RS, and DC4) command

SI/SO codes function in the same manner as US/RS as long as 8-bit data are assigned (serial communication data bit length), which, however, are divided, under 7-bit assignment, into SI (20H~7FH characters) print assignment and SO (A0H~FFH characters) print assignment functions.

1.Standard letter assignment (SO/RS) command:

With SI (0FH)/US (1FH) codes input, lateral enlargement is cancelled and the data following are printed in standard letters. This command can cancel only lateral enlargement, which dose not apply to 4 enlargement.

2.Laterally enlarged letter assignment (SO/RS) command:

With SO (0EH)/RS (1EH) codes input in any columns, the data following are printed in prints enlarged double in width.

Although standard and enlarged letters can be mixed within one line, automatic (buffer-full) printing takes place when the number of columns reaches 24 (or 40) counted in standard letters. With 920 emulation, laterally enlarged letter assignment is cleared by printing after line feed, followed by SI, US, and DC1. With 3110 emulation, it is cleared by printing after line feed by LF and CR, followed by SI, US, and DC4.

[Example of receive data

[Results of Printing]

(For 24-column model)]

 

SO

1234567890

CR

SO

123

SI

ABCD

 

CR

 

 

 

 

 

 

 

 

 

 

 

SO

123

SI

ABCD

 

SO

12

CR

 

 

 

 

 

 

SO

SO

12345678901B

 

— 37 —

Page 40
Image 40
Citizen Systems CBM920II user manual Control Code Details, SW1 Switch No.1, SW2 Switch No.2