Lines per inch, Variable line spacing, Igure – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual

Page 30: Elections, Igp for dot matrix printers user guide, Page formatting

Advertising
background image

IGP for Dot Matrix Printers

User Guide

30

Page Formatting

Many of the parameters for formatting the print and page characteristics (such as LPI, Horizontal
Tabs, etc.) can be set from your host computer using escape sequences. This section discusses
and explains the Escape Sequences and Reserved Control Codes used for page formatting.

Lines Per Inch

The following escape sequence selects lines per inch (LPI):

ESC [ n z

1B

5B 7A

Where:

n = one of the values from the table below.

LPI

n Value

Selection

ASCII

HEX

1.5 LPI

7

37

2 LPI

8

38

3 LPI

9

39

4 LPI

10

3130

5 LPI

11

3131

6 LPI*

3

33

7 LPI

12

3132

8 LPI

4

34

9 LPI

13

3133

10 LPI

6

36

11 LPI

14

3134

12 LPI

15

3135

15 LPI

16

3136

*Default LPI value

Figure 9 – LPI Selections

The LPI may be changed anywhere on a form. The current LPI setting is used to compute the
physical form length when loading a VFU or selecting a form length. Changing the LPI does not
change the physical form length, bottom-of-form skip, vertical tab stops, or VFU channel
positions. However, it does change the size of the units by which they are set and reported. For
example, an 11 inch form at 6 LPI has 66 lines, but the same form length has 88 lines at 8 LPI.

Variable Line Spacing

You may set up these emulations to use variable line spacing in increments of n/720". To set up
variable line spacing, use the sequence:

ESC

[

<

n

Sp

h

space required before h

1B 5B 3C 20 68

Where:

n = Desired line spacing in increments of n/720".

Advertising