Reassign Graphics Codes Command (Epson); Select Graphics Command (Epson); Select Graphics Mode Command (Ml) - Oki MICROLINE ML521 Reference Manual

Oki microline ml521: reference guide
Hide thumbs Also See for MICROLINE ML521:
Table of Contents

Advertisement

Reassign Graphics Codes Command (Epson)

ML320 E/I, ML321 E/I
Function
Reassign Graphics
You can use this command to reassign any of the 8-pin graphics modes to one of the graphics
commands (ESC K, ESC L, ESC Y, or ESC Z).
Parameter m
This parameter designates which of the four commands you're redefining. Substitute one of the
four letters (K, L, Y, or Z) for m in the command.
Parameter n
This parameter designates the density of the mode you are reassigning to the redefined code.
Substitute the appropriate value (0 through 7) for the density you wish to select, as taken from
the 8-Pin Graphics Density Codes table earlier in this chapter.
When you are ready to print a graphics pattern, send the redefined command, followed by the
graphics data.
For example, the following BASIC statement reassigns quadruple density to the command ESC
L:

Select Graphics Command (Epson)

ML320 E/I, ML321 E/I
Function
Select 9-pin Graphics
Printing
This command permits use of all nine pins on the printhead. It operates exactly like the ESC *
command, except that dot columns are given two bytes each instead of one. The first byte for
each column represents the top eight pins, just like the ESC * command. The second byte is
128 if the bottom (9th) pin is to be fired, and zero if it's not to be fired.

Select Graphics Mode Command (ML)

ML320 Std., ML321 Std.
Function
Select Graphics Mode
Use this command to select the density and to define the speed and "word size."
Parameter n
1
This parameter specifies the density. To calculate the value of n
you want, then determine the n
add 96 to the total.
ML320 Turbo, ML321 Turbo
ASCII
ESC ? m n
LPRINT CHR$(27);"?";"L";CHR$(3)
ML320 Turbo, ML321 Turbo
ASCII
ESC ^ m Ln Hn
[data]
ML320 Turbo, ML321 Turbo
ASCII
Dec
ESC * n
n
:
27 42 n
1
2
values for each from the table below. Add them together, then
1
Chapter 6: Graphics Commands for 9-Pin Printers
Dec
Hex
27 63 m n
1B 3F m n
Dec
Hex
27 94 m Ln Hn
1B 5E m Ln Hn
[data]
[data]
Hex
n
58
1B 2A n
1
2
3A
, first select the dpi and density
1
ML520, ML521
ML520, ML521
ML520, ML521
n
1
2
57

Advertisement

Table of Contents
loading

Table of Contents