IBM W2H Carriage return, Test, Clear display, Display position, Delete to end of line, Purpose

Models: 32x 31x W2H

1 68
Download 68 pages 63.98 Kb
Page 42
Image 42
Carriage return

Input/output device commands

11-9-2005

Carriage return

0D

Purpose:

The write-in position is shifted to the most significant digit of the same row. If the write-in position is on the most significant digit, the command is ignored.

Test

0F

Purpose:

Causes the 40 characters in the IBM code page 437 character (X'20'-X'47') set to be displayed one time. In addition, at the end of the test, a test pattern is written that turn all pixels.

When Test is working, all codes are ignored. The test command X'OF' is only available when the IBM code page 437 is selected.

When the other font table except IBM code page 437 is selected, test code is ignored.

Clear display

(1B), (5B, 32), (4A)

Purpose:

All the displayed characters are erased. The write-in position is not changed.

Display position

1B 5B Py 3B Px 48

Purpose:

Instead of writing the character from the first digit, use this command to specify the write-in start position. The write-in position is shifted with Py and Px and is based on the half-size letter of the font, which is specified with the Screen Mode command. Py indicates the position of the row and Px the digit. Py and Px must be defined under the following conditions:

vIf Py is 0, it is set to 1 (X'31').

vIf Py is greater than the bottom row, it is set to the bottom row.

vIf Px is 0, it is set to 1 (X'31').

vIf Px is greater than the least digit, it is set to the least digit.

A special form of the display position command exists (1B 5B 48 27), which sets the write-in position to the home position (Py=1 and Px=1).

Delete to end of line

1B 5B 30 4B

A-10SurePOS Installation and Service

Page 42
Image 42
IBM W2H, 31x Carriage return, Test, Clear display, Display position, Delete to end of line, Input/output device commands