beautypg.com

Character height and cpi, Igure, Haracter – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual

Page 29: Eight, Ultipliers, Chapter 2: emulations

background image

Chapter 2: Emulations

29

Character Height and CPI

This sequence allows you more control over how characters will look when they are printed out
on the printer. With this command you can change both the character height and the character
width. This allows you to print in wide characters for increased readability. To change character
size, use the following escape sequence:

ESC [ n1 ; n2 Sp B

1B

5B 3B 20

42

Where:

n

1

= one of the values from the following table.

n1 values

Char Height

ASCII

HEX

amount of increase

100 313030

=

normal

height

200

323030

=

twice normal height

Figure 8 – Character Height Multipliers

Note: Changing the height of a character set will change the distance the
paper moves in response to a Line Feed Command.

n

2

= a width multiplier in the range of 1 (.01x) to 1000 (10x). For example, a

value of 50 would be .50 X 10 CPI = 5 CPI, and a value of 200 would be 2.00 X
10 CPI = 20 CPI. The result is variable to within a decipoint, so that a value of
128 would be 1.28 X 10 CPI = 12.8 CPI.


The table above lists all of the available CPIs on this emulation and the values used to select
them. This command will work with any alphanumeric font.

A new CPI selection will cancel the horizontal size selected with this command, and selecting a
new horizontal size cancels the previous CPI selection.