beautypg.com

Character attribute commands, Programmer's guide pcos series 150 control codes – Star Micronics 150 User Manual

Page 43

background image

Programmer's Guide

PcOS Series 150

Control Codes

Character Attributes

12/14/99

Rev G

Page 33

Character Attribute Commands

Function

Begin one-line double-wide print

ASCII

[SO]

Hexadecimal

0EH

Decimal

<14>

IPCL

&%MW

EPOS

none

Description

This command causes subsequent characters to be printed at twice the currently
selected character width. For example ten cpi becomes five cpi, 17 cpi becomes
8.5 cpi, and so on. This command will remain in effect until:

a. a valid line terminator is received (CR, LF, or fine line feed);

b. the command is canceled; or

c. the maximum number of characters per line is reached and the printer
performs an auto print.

Function

Cancel one-line double-wide print

ASCII

[DC4]

Hexadecimal

14H

Decimal

<20>

IPCL

&%MN

EPOS

none

Description

This command cancels one-line double-wide mode set by the [SO] command
and allows single- and double-wide characters to be printed on the same line.

Figure 10 Example of one-line double-wide
print

Example of one line Double Wide[CR][LF]
This is normal 12 cpi Print[CR][LF]
[SO]
Double Wide[CR][LF]
This is back to normal[CR][LF]

Figure 11 Data sent to printer for one-line
double-wide print