chapter 8

PRINTER CONTROL COMMANDS

The printer has two emulation modes: Standard/Epson mode and IBM mode.

In Standard/Epson mode. the printer emulates the functions of the Epson LQ- 860/850, and the graphics commands for NEC 24-wire printers. In IBM mode, the printer emulates the IBM Proprinter X24E/24P and PS/1 printer. Additional command codes are included as a superset of these emulations.

The emulation is changed by means of EDS switch A-1. When it is ON. the printer will be in Standard/Epson mode, and when OFF, the printer will be in IBM mode (see Chapter 5).

In addition. when the EDS switch A-2 is ON, the printer automatically changes the emulation by means of software control.

This chapter describes the printer’s control commands. Some commands are common to both the standard and IBM modes. In the descriptions of the commands. all commands will given by functions. The name of each com- mand is followed by a table like the one below:

Mode

ASCII

Decimal

Hexadecimal

std.

<ESC> “’x” <1>

27 120 1

IB 78 01

Mode: Indicates the mode in which the command is recognized. Std. Standard/Epson mode (EDS switch A-1 is ON. ) IBM IBM mode (EDS switch A-1 is OFF. )

Both Both Standard/Epson and IBM modes

ASCII: Indicates the ASCII coding of the command. Control char- acters are enclosed in pointed brackets: For example, <1> means character code 1.

Decimal: Gives the command in decimal character codes.

Hexadecimal: Gives the command in hexadecimal character codes.

Parameters for which values must be supplied are indicated by italic letters such as H. m or d.

81

Page 89
Image 89
Star Micronics LC24-20 user manual Printer Control Commands