Input/output device commands

11-9-2005

Ps

Mode

 

6 (X'36')

5x7 dots, 4 rows (default)

 

7 (X'37')

5x7 dots, 5 rows

 

8 (X'38')

16x16 dots, 2 rows

 

Horizontal scroll

1B 5C 3F 4C 48 Pm 3B Pl 3B Pt 3B Pn 3B Pd...Pd

Purpose:

This command initiates horizontal scrolling. The control bytes embedded in the command sequence (represented by Pm, Pl, Pt, and Pn in the preceding command format), change the scrolling characteristics. Pd...Pd represents the data bytes.

Pm

6

(X'36'): 5x7 dots, 4 rows

 

7

(X'37'): 5x7 dots, 5 rows

 

8

(X'38'): 16x16 dots, 2 rows

Pl

1

4 (X'31' X'34'): Pm=6

 

1

5 (X'31' X'35'): Pm=7

 

1, 2 (X'31', X'32'): Pm=8

Pt

1

(X'31'):

1

line/10

ms

 

1

(X'32'):

1

line/20

ms

Pn

The number of data bytes (1 for half-size letter, 2 for full-size letter,

 

maximum is 128 (X'80').

Pd...Pd The data characters.

 

The following list explains how the horizontal scroll command operates:

vWhen a character is displayed on the line selected for scroll mode, all displaying characters and the display mode set command are erased.

vA character scrolls by closed loop until the cancel command is selected. In this case, the same message is scrolled repeatedly with no space.

vA screen scrolls from right to left, dot by dot.

vThe scrolled display range is defined by the screen mode setting.

vThe command is canceled when Pn = X'00'. After it is canceled, displayed characters are cleared, and the write-in position moves to the most significant digit of the row.

vThe command can be started only on a single line.

vA character’s display mode set command (reverse, blinking, and so on) can be added with the display data frame. If the command is written two or more times in one scroll data frame, only the first command is valid; others are ignored.

vWhen message data is changed, you must reissue this command. While scrolling, the user definable font set command is not available.

Display mode set

1B 5B Ps 6D

Purpose:

This command sets the display mode characteristics. The control byte embedded in the command sequence (represented by Ps) sets the mode.

A-12SurePOS Installation and Service

Page 44
Image 44
IBM 32x, W2H, 31x manual Horizontal scroll, Display mode set