EasyManuals Logo
Home>Oki>Printer>MICROLINE ML521

Oki MICROLINE ML521 Reference Manual

Oki MICROLINE ML521
180 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #97 background imageLoading...
Page #97 background image
Chapter 6: Graphics Commands for 9-Pin Printers 59
Graphics Print Mode Commands (ML)
ML320 Std., ML321 Std. ML320 Turbo, ML321 Turbo ML520, ML521
Function ASCII Dec Hex
Select Graphics Print Mode ETX 3 03
End Graphics Print Mode ETX STX 3 2 03 02
To begin printing graphics, you must first send the ETX command. This is followed by graphics
data—bytes representing the individual dot columns you will be printing. The graphics data is
followed by the ETX STX command which ends graphics printing. The listing below is a BASIC
program that generates a row of six triangles in quadruple density.
10 WIDTH LPT1:,”255 ‘Set printer for maximum line width
20 LPRINT CHR$(27);”*”;CHR$(113);CHR$(80);”:”;CHR$(3);
30 REM CHR$(113) and CHR$(80) are the attribute codes for normal speed,
quadruple density graphics
40 REM CHR$(3) Begins graphics printing
50 FOR I=1 TO 6 Repeat triangle pattern six times
60 FOR J=1 TO 16 ‘Each triangle has 16 columns
70 READ A Read the column
80 LPRINT CHR$(A); Send the byte to the printer
90 NEXT J Now print the next column
100 RESTORE Go back to the beginning of the DATA statements
110 NEXT I Now print the next triangle
120 LPRINT CHR$(3);CHR$(2); ‘End graphics printing
130 END
140 DATA 128,192,224,240,248,252,254,255,255,254,252,248,240,224,192,128
Your printout will look like this:
䊱䊱䊱䊱䊱䊱

Table of Contents

Other manuals for Oki MICROLINE ML521

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Oki MICROLINE ML521 and is the answer not in the manual?

Oki MICROLINE ML521 Specifications

General IconGeneral
BrandOki
ModelMICROLINE ML521
CategoryPrinter
LanguageEnglish

Related product manuals