Image Data Bytes; Graphics Programming Example; Printed Results Of Sample Program - Genicom GEK 00031B Programmer's Manual

Genicom printer user manual
Table of Contents

Advertisement

Image Data Bytes

Weight
Wire
128
1
64
2
32
3
16
4
8
5
4
6
2
7
1
8
0

Graphics Programming Example

Printed Results of Sample Program

GEK-00029A
The FX-286e printer supports both 8-pin and 9-pin vertical formats.
Since this emulation supports only 8-pin graphics, 9-pin graphics
will not be explained or illustrated here. When 9-pin graphics are
sent to this printer. the byte containing the 9th bit is discarded.
Each image data byte represents a vertical column of eight dots. The
most significant of the eight bits controls the top pin of a column and
the least significant bit controls the bottom pin of that column The
first byte of data (v1) Is the first column (v2) is the second column,
and so on. The illustration below shows byte values of various dot
combinations.
Graphics Dot Pattern
! ! !
!
!
!
!
!
0
0
112 136 132 130
Image Byte Values
100 WIDTH "LPT1:",255
110 FOR N - 1 TO 4
115 LPRINT CHR$(27);"K";CHR$(80);CHR$(0);
120 FOR K - 1 TO 5
140 LPRINT CHR$(0);CHR$(0);CHR$(0);CHR$(112);
150 LPRINT CHR$(136);CHR$(132);CHR$(130);
160 LPRINT CHR$(65);CHR$(49);CHR$(65);
170 LPRINT CHR$(130).CHR$(132);CHR$(136);
180 LPRINT CHR$(112);CHR$(0):CHR$(0);
190 NEXT K
200 PRINT
210 NEXT N
220 LPRINT "DONE"
230 END
! ! !
!
!
!
!
!
!
! ! !
65
49
65
130 132 136 112
151
!
!
!
!
!
0
0
5000 Series Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5000 series

Table of Contents

Save PDF