Control Codes

PcOS Series 150

Programmer's Guide

STAR Codes

 

 

 

 

 

 

 

Control codes used for graphic printing

 

 

 

 

 

 

[ESC] 1

Set 7/72-inch line feed.

 

 

[ESC] A

Define n/72-inch line feed.

 

 

[ESC] 2

Set n/72-inch line feed.

 

 

 

 

 

[ESC] J <n>

Set one-time line feed of n/72-inch.

 

[ESC] z 0

Set 1/12-inch line feed.

 

 

[ESC] K <n1> <0>

Set 8-dot single-density bit image.

 

 

 

 

[ESC] L <n1> <n2>

Set 8-dot double-density bit image.

 

 

 

 

[ESC] h 1

Select vertical expanded character mode.

 

[ESC] h 0

Cancel vertical expanded character mode.

 

Control codes used for peripheral units

 

 

[BEL]

Defer drive command for Peripheral Unit 1.

 

 

 

 

[EM]

Set immediate drive command for Peripheral Unit 2.

 

 

 

 

[FS]

Set immediate drive command for Peripheral Unit 1.

 

[SUB]

Set immediate drive command for Peripheral Unit 2.

 

Other control codes

 

 

 

[RS]

Activate sound buzzer. 11

 

 

[CAN]

Cancel print data in buffer.

 

 

[ESC] U 1

Select unidirectional print mode.

 

 

[ESC] U 0

Select bidirectional print mode.

 

 

 

 

 

 

[ESC] @

Initialize printer.

 

 

 

 

 

 

[ESC] ! *

End italics.

 

 

[ENQ]

Perform inquiry.

 

 

 

 

 

 

[ESC] d 0

Cycle autocutter.12

 

 

[ESC] d 1

Cycle autocutter.

 

 

[ESC] W 1

Select expanded character mode.

 

 

 

 

[ESC] W 0

Cancel expanded character mode.

 

 

 

 

 

[ESC] y <n>

Set n/144-inch line feed.

 

 

[ESC] 3 <n>

Set n/216-inch line feed.

 

11This command only functions if the internal buzzer option was installed at the factory.

12The printer can be equipped with either a full or partial cutter option.

Page 78

Rev G

12/14/99

Page 88
Image 88
Star Micronics 150 manual Control codes used for graphic printing, ESC a, Control codes used for peripheral units, Enq