Gemini Printer User Manual page 99

Gemini industries printer user manual
Table of Contents

Advertisement

Fundamentals
of Dot Matrix Pfinting
Print Head
Print Head
&Bit
7.Bit
Pin Number
(toIN
Interface
Interface
7
.
.
.
.
.
.
.
.
.
d
128
ns:
used
64
64
32
32
16
18
8
8
4
4
2
2
1
1
not used
not used
Based on the chart presented above, if you had a 7-bit
computer and wanted to fire pins number 1 and 4 simultaneously,
you would send CHR$(64+8). In other words, you'd send CHR$(72):
Therein is the pattern. Thus, if you wanted to fire all the pins, using
an 8-bit computer, you'd send:
CHR!$(128 + 64 + 32 + 16 + 8 + 4 + 2 + 1) = CHR$(255)
Control
Code
CHR$(128)
CHR$(
64)
CHR$(
32)
CHR$(
16)
CHR$(
8)
CHRS(
4)
CHR$(
2)
CHR$(
1)
CHR$(
0)
CHR$(255)
CHR$(
72)
Binary
Representation
10000000
01000000
00100000
00010000
00001000
00000100
00000010
00000001
00000000
1
1
1
1
1
1
1
1
01001000
Pin
Fired
#l
#2
#3
#4
#5
#6
#7
#8
none
all 8
#2&#5
93

Advertisement

Table of Contents
loading

Table of Contents

Save PDF