Programmer's Guide

PcOS Series 150

Control Codes

 

 

Character Attributes

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.

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

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.

12/14/99

Rev G

Page 33

Page 43
Image 43
Star Micronics 150 manual Character Attribute Commands, Performs an auto print