Enhancing Your Printing

The variable n is a number that identifies the mode or combination of modes. To find the value of n use the following table to add up either the decimal or hexadecimal numbers for the features you want.

 

FeatureDec.Hex.

 

 

10 cpi

0

00

 

 

12 cpi

1

01

 

 

proportional

2

02

 

 

condensed

4

04

 

 

emphasized

8

08

 

 

double-strike

16

10

 

 

double-wide

32

20

 

 

italics

64

40

 

 

underline

128

80

 

For example, to print a title you may want to use double-wide 12 cpi characters printed in the double-strike mode. You would add three numbers together to calculate the value of n.

12 cpi

1

Double-strike

16

D o u b l e - w i d e 3 2n = 49

After calculating the value of n, you use the Master Select command to send the value to the printer.

ASCII:

ESC

!

1

Decimal:

27

33

49

Hexadecimal:

1B

21

31

Software and Graphics 4-7