Star Micronics LC24-20 Printer User Manual


 
chapter 8
PRINTER CONTROL COMMANDS
The printer hastwo emulationmodes: Standard/Epson mode and IBMmode.
In Standard/Epson mode. theprinteremulates thefunctionsof 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 describesthe printer’s control commands. Somecommands 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:
ASCII:
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
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 thecommand in hexadecimal character codes.
Parameters for which values must be supplied are indicated by italic letters
such as
H. m or d.
81