Star Micronics NX-2415II Printer User Manual


 
chapter8
PRINTER CONTROL COMMANDS
This printer has two emulation modes: Standard/Epson mode and IBM
mode,
In Standard/Epson mode, theprinteremulates thefunctionsoftheEpsonLQ-
1060and the graphics commands for NEC 24-wire printers. In IBM mode,
theprinteremulates the IBM ProprinterXL24E. 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
printerisinStandard/Epsonmode, and when OFF, theprinter isinIBMmode
(see Chapter 5).
In addition, when EDS switch A-2 is ON, the printer automatically changes
the emulation by means of software control.
This chapter describes the printer’s controlcommands. Somecommands are
common to both the Standard and IBM modes. In the descriptions of the
commands, all commands will be given by functions. The name of each
command 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 recog-
nized.
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
characters are enclosed in pointed brackets: For ex-
ample, <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 n, m or d.
65