Repeating a pattern, Igure, Epetition – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual

Page 46: Onversion, Able, Igp for dot matrix printers user guide

Advertising
background image

IGP for Dot Matrix Printers

User Guide

46

Step 1.

Find the desired dot pattern from the two dot pattern columns. For example, use the dot
pattern from Figure 16. It is located in the right-hand column (it's the one inside the oval).

Step 2.

Look to the right of the dot pattern and determine the number for this particular dot
pattern. In the Figure we have provided the ASCII, Hexadecimal, and Decimal
equivalent. Whatever code you use, this number becomes the dot-pattern designator.

Step 3.

Send the Enter Plot Mode escape sequence followed by the dot-pattern designator
(ASCII = u), like this:

ESC

[ < 3 h u

1B 5B 3C 33 68 75

The desired dot pattern will print one time.

Repeating a Pattern

To repeat a dot pattern, add the desired number of repetitions after the dot-pattern designator.
When no repetitions are designated, the printer defaults to 1 and the dot pattern will be printed 1
time. For repetitions of 15 or fewer, the ASCII codes used to designate the number of repetitions
begin with S p (0) and continue through to the / (15).

In the example that follows the table, we show the sequence of actions required to compose an
ASCII data code.

Repetitions

ASCII

Multiples

ASCII

1—15

Value

Of 16

Value

0 Sp 00 0
1

!

16 x 1 = 16

1

2

16 x 2 = 32

2

3

#

16 x 3 = 48

3

4

$

16 x 4 = 64

4

5

%

16 x 5 = 80

5

6

&

16 x 6 = 96

6

7

'

16 x 7 = 112

7

8

(

16 x 8 = 128

8

9

)

16 x 9 = 144

9

10

*

16 x 10 = 160

:

11

+

16 x 11 = 176

;

12

,

16 x 12 = 192

<

13

16 x 13 = 208

=

14

.

16 x 14 = 224

>

15

/

16 x 15 = 240

?

Figure 17 – Repetition Conversion Table

Advertising