Star Micronics 150 User Manual

Page of 151
Programmer's Guide
PcOS Series 150
Control Codes
EPOS Codes
12/14/99
Rev G
Page 69
EPOS Codes
This section lists the EPOS codes that are supported by the Series 150 Printer. Ithaca Peripherals has
no control over how Epson extends or changes these control codes. Ithaca Peripherals makes no
guarantees as to the operation of its printer when it replaces an Epson printer. The EPOS emulation is
intended to make it as easy as possible to replace an Epson printer with an Ithaca Series 150 Printer.
The following section lists the EPOS commands that are processed. They are as close as possible to
Epson printers. The user must remember that the Series 150 Printer is not designed as a drop-in
replacement for an Epson printer. The Series 150 Printer is designed to bring new and unique
features and functionalities to a POS receipt/validation printer.
Real-time Status
The Series 150 Printer is available in serial and parallel versions. When Epson supports parallel
operation, the company redefines some of the standard IEEE 1284 interface signals to be special
status lines. The Series 150 Printer does not alter the IEEE 1284 standard. If an application
requires real-time status from the printer, the IEEE 1284 bidirectional protocol must be used.
The Series 150 Printer supports real-time status. The EPOS real-time status commands [DLE]
[ENQ] and [DLE] [EOT] are processed by the printer. The printer, however, does not support all
the response bit fields. See the descriptions below.
EPOS Command Summary
Please refer to the Epson ESC/POS Information Manual for field definitions.
The following is a list of the EPOS commands that are supported.
Command
Comment
Description
[BEL]
Extension
Activate sound buzzer.
[VT]
Extension
Set vertical tabs.
[LF]
Set line feed.
[FF]
Eject form.
[HT]
Extension
Set horizontal tabs.
[BS]
Extension
[CR]
Set carriage returns.
[CAN]
Not the same
Cancel print.
[ESC] [BEL]
Extension
Activate sound buzzer.
[ESC] SI
Extension
Set 24 cpi.
[ESC] [SP] <n>
Set right-side character spacing.
[ESC] ! <n>
Select print modes.
[ESC] $ <n
L
> <n
H
>
Set absolute print position.
[ESC] % <n>
Not implemented
Select or cancel the user-defined character set.
[ESC] & ...
Not implemented
Define user-defined characters.
[ESC] * <m> <n>1 <n>2
Extension
Select single-density bit image mode.
[ESC] - <n>
Turn underline mode ON/OFF.
[ESC] 0
Set eight lines per inch spacing.
[ESC] 1
Set 7/72-inch spacing.
[ESC] 2
Set 6 lines per inch spacing.
[ESC] 3 <n>
Set line spacing.
[ESC] 4
Extension
Set italic mode set.
[ESC] 5
Extension
Set italic mode reset.