beautypg.com

Primary and secondary fonts and languages, Igure, Anguage and – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual

Page 26: Elections, Igp for dot matrix printers user guide

background image

IGP for Dot Matrix Printers

User Guide

26

Primary and Secondary Fonts and Languages

This escape sequence allows a font style and some language substitutions to be loaded into the
primary (G0) and secondary (G1) areas. To load your primary and alternate character sets, use
the sequence:

ESC [ n1 ; n2 ! s

1B

5B 3B 21

73

Where:

n

1

= the value field for the primary (G0) character set.

n

2

= the value field for the alternate (G1) character set.

There are six groupings of Character Sets to select from on your printer.

ASCII Values

Language

Gothic

Courier

Draft

DP

(user default)

10

40

100 or 700

0

US

11

41

101 or 701

1

German

12

42

102 or 702

2

Norwegian/Danish–T6

13

43

103 or 703

3

French–T6

14

44

104 or 704

4

UK

15

45

105 or 705

5

Spanish

16

46

106 or 706

6

Swedish/Finnish–T6

17

47

107 or 707

7

Italian–T6

18

48

108 or 708

8

Special Characters

19

49

109 or 709

9

Character Set

ASCII

OCR-A 600
OCR-B 610

Figure 6 – Language and Font Selections

In the examples that follow, we show you how to use this escape sequence in a variety of ways.

Example 1:

To select US Data Processing as the primary set (n

1

= 1) and Italian Data Processing as the

alternate set (n

2

= 8) use the escape sequence:

ESC

[ 1 ; 8 ! s

1B 5B 31 3B 38 21 73

Example 2:

You may change to another primary set without changing the alternate set by omitting n

2

in the

sequence. For example, the original escape sequence shown above can be modified to:

ESC [ 1 2 ! s

1B 5B 31 32 21 73

This escape sequence would change the primary character set to German Gothic

(n

1

= 12). The alternate character set remains unchanged.

Example 3: