Epson GQ-3500 User Manual page 73

Epson gq-3500: user manual
Hide thumbs Also See for GQ-3500:
Table of Contents

Advertisement

ALLOCATE
Reserves the proper amount of printer memory for the image to be
stored
CIRCLE
Draws a circle (or a partial circle, called an arc>
LINE
Draws a line or a box
PAINT
Fills an enclosed area with a pattern
EXIT
Leaves the graphics mode and returns the printer to normal
operation.
The parameters for these commands are entered as ASCII strings.
For example, to send the value 100 to the printer in graphics mode, you
use LPRINT "100" instead of LPRINT CHR$(lOO). The difference is
that three codes (1, 0, and 0) are sent to the printer instead of just one
(ASCII 100). To see the difference, study the example programs that
follow.
Using the line primitive
100 LPRINT CHR$(27);";";CHR$(O);CHR$(4);
110 LPRINT "EXIT";CHR$(13);
120 LPRINT CHR$(27);" ;";CHR$(l) ;CHR$(4);
130 LPRINT "ALLOCATE(650,65O)';CHR$(l3);
140 LPRINT "LINE
150 LPRINT "LINE
160 LPRINT "LINE
170 LPRINT "LINE
180 LPRINT "LINE
200 LPRINT "LINE(500,200)-(445,235)";CHR$(l3);
210 LPRINT "LINE(600,600)-(555,585)";CHR$(l3);
220 LPRINT "EXIT";CHR$(13);
230 LPRINT CHR$(27);"I";CHR$(2);CHR$(4);
240 LPRINT CHR$(236);CHR$(O);CHR$(1OO);CHR$(2);
250 LPRINT "EXIT";CHR$(l3);
260 LPRINT CHR$(12);
6-10
Software Control of Printer Features
-

Advertisement

Table of Contents
loading

Table of Contents