Oki ML591 MICROLINE Reference Manual - Page 104

Set/Reset Graphics Mode Command Epson, Print Raster Graphics Command Epson

Page 104 highlights

Parameters Ln and Hn Parameters Ln and Hn are used to designate the number of bytes to follow in the subsequent parameters, where Number of Bytes = Ln + (Hn x 256) Ln and Hn can have any value from 0 to 255 decimal. Generally, Ln is set to 1 and Hn is set to 0. Parameter Pn Parameter Pn sets the graphics mode. It can have a hexadecimal value of 01 or 31. Note: To cancel the graphics mode, enter the ESC @ command. Set/Reset Graphics Mode Command (Epson) ߜ ML390 Turbo, ML391 Turbo Function Engage Raster Graphics Mode Disengage Raster Graphics Mode ASCII ESC DLE G n 1 ESC DLE G n 0 Dec 27 16 71 n 49 27 16 71 n 48 Hex 1B 10 47 n 31 1B 10 47 n 30 Use this command to engage and disengage the graphics mode. Parameter n This parameter determines how this command is handled: n = 0: Command invalid n = 1: data valid n > 1: data valid; data that follows is discarded after the command has been executed. Print Raster Graphics Command (Epson) ߜ ML390 Turbo, ML391 Turbo ߜ ML590, ML591 Function Print Raster Graphics ASCII ESC . Pc Pv Ph Pm Ln Hn [data] Dec 27 46 Pc Pv Ph Pm Ln Hn [data] Hex 1B 2E Pc Pv Ph Pm Ln Hn [data] Use this command to print bit-image graphics horizontally. Parameter Pc Parameter Pc sets the mode: Pc = 0: Full Graphics Mode Pc = 1: Compressed Mode 66 Chapter 7: Graphics Commands for 24-Pin Printers

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180

Chapter 7: Graphics Commands for 24-Pin Printers
66
Parameters L
n
and H
n
Parameters L
n
and H
n
are used to designate the number of bytes to follow in the subsequent
parameters, where
Number of Bytes
= L
n
+ (H
n
x 256)
L
n
and H
n
can have any value from 0 to 255 decimal. Generally, L
n
is set to 1 and H
n
is set to 0.
Parameter P
n
Parameter P
n
sets the graphics mode. It can have a hexadecimal value of 01 or 31.
Note:
To cancel the graphics mode, enter the ESC @ command.
Set/Reset Graphics Mode Command (Epson)
±
ML390 Turbo, ML391 Turbo
Function
ASCII
Dec
Hex
Engage Raster Graphics Mode
ESC DLE G n 1
27 16 71 n 49
1B 10 47 n 31
Disengage Raster Graphics Mode
ESC DLE G n 0
27 16 71 n 48
1B 10 47 n 30
Use this command to engage and disengage the graphics mode.
Parameter n
This parameter determines how this command is handled:
n = 0: Command invalid
n = 1: data valid
n > 1: data valid; data that follows is discarded after the command has been executed.
Print Raster Graphics Command (Epson)
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
ASCII
Dec
Hex
Print Raster Graphics
ESC . P
c
P
v
P
h
P
m
L
n
H
n
[data]
27 46 P
c
P
v
P
h
P
m
L
n
H
n
[data]
1B 2E P
c
P
v
P
h
P
m
L
n
H
n
[data]
Use this command to print bit-image graphics horizontally.
Parameter P
c
Parameter P
c
sets the mode:
P
c
= 0:
Full Graphics Mode
P
c
= 1:
Compressed Mode