Programmer's Guide PcOS Series 150 Control Codes

STAR Codes

12/14/99 Rev G Page 77
Star Codes
This section lists the Star codes that are supported by the PcOS Series 150 Printer. Ithaca Peripherals
has no control over how Star extends or changes these control codes. Ithaca Peripherals makes no
guarantees as to the operation of its printer when it replaces a Star printer. The Star emulation is
intended to make it as easy as possible to replace a Star printer with a PcOS Series 150 Printer.
The following section lists the Star commands that are processed. They are as close as possible to a
Star printer. The user must remember that the Series 150 Printer is not designed as a drop in
replacement for a Star printer. The PcOS Series 150 Printer is designed to bring new and unique
features and functionalities to a POS receipt/validation printer.

Star Command Summary

Please refer to the Star Information Manual for field definitions.
The following is a list of the Star commands that are supported.
Command Description
Control codes used in character setting
[ESC] M Select 15-cpi character size.
[ESC] P Select 12-cpi character size.
[ESC] : Select 8-cpi character size.
[SO] Select expanded character mode.
[DC4] Cancel expanded character mode.
[ESC] E Select emphasized print mode.
[ESC] F Cancel emphasized print mode.
[ESC] – 1 Select underline mode.
[ESC] – 0 Cancel underline mode.
[ESC] _ 1 Select overline mode.
[ESC] _ 0 Cancel overline mode.
[SI] Select inverted print mode.
[DC2] Cancel inverted print mode.
Control codes used in line spacing
[LF] Set line feed.
[CR] Set carriage return.
[ESC] z 1 Set 1/6-inch line feed.
[ESC] 0 Set 1/8-inch line feed.
[ESC] a <n> Feed paper n lines.
Control codes used for page layout
[FF] Set form feed.
[ESC] C <n> Set page length at n lines.
[ESC] C <0> <n> Set page length at n inches.
[VT] Set vertical tabs.
[ESC] B <n1> <n2> Set vertical tab positions.
[ESC] l <n> Set left margin.
[ESC] Q <n> Set right margin.
[HT] Set horizontal tabs.
[ESC] D <n1> <n2> Set horizontal tab positions.