Oki ML591 MICROLINE Reference Manual - Page 45

-06.pdf, Print Data from IBM All Characters Set, IBM Set III] Command IBM

Page 45 highlights

Select All Character Set [IBM Set III] Command (Epson LQ) ߜ ML390 Turbo, ML391 Turbo ߜ ML590, ML591 Function ASCII Dec Hex Select All Character Set ESC ( ^ Ln Hn [data] 27 40 94 Ln Hn[data] 1B 28 5E Ln Hn[data] Use this command to engage the All Character Set (IBM Set III) and apply it to the data which follows the command. This allows normally non-printable characters to print. Parameters Ln and Hn Parameters Ln and Hn are used to designate how many characters you wish to print using the All Character set: Number of characters = Ln + (Hn x 256) For fewer than 256 characters, substitute the number of characters for Ln and set Hn = 0. For more than 256 characters, divide the number of characters by 256 and assign the whole number result to Hn, then assign the remainder to Ln. Ln and Hn can have any value from 0 to 255 decimal. Print Data from IBM All Characters Set [IBM Set III] Command (IBM) ߜ ML320 E/I, ML321 E/I ߜ ML320 Turbo, ML321 Turbo ߜ ML390 Turbo, ML391 Turbo ߜ ML520, ML521 ߜ ML590, ML591 Function Print Specified Data from IBM All Characters Set ASCII Dec Hex ESC \ Ln Hn 27 92 Ln Hn 1B 5C Ln Hn This command will print the amount of data you specify within the command, using the IBM All Characters set (also known as Character Set III). The IBM All Characters set contains only printable characters with the exception of decimal codes 0 and 255, and gives you a broad range of graphics characters and other special symbols. This set is also a handy debugging tool for programmers, since you can print out and examine files that contain control codes and escape sequences. In the above command, you must use parameters Ln and Hn to specify the total count of characters to be printed. The total count is calculated as Ln + (Hn x 256) If you are printing fewer than 256 characters, substitute the number of characters for the value of Ln and replace Hn with 0. If you are printing 256 or more characters, divide the total number of characters you wish to print by 256. Replace Hn with the whole number result and assign the remainder to Ln. 6 Chapter 2: Character Set Commands

  • 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 2: Character Set Commands
6
Select All Character Set [IBM Set III] Command (Epson LQ)
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
ASCII
Dec
Hex
Select All Character Set
ESC ( ^ L
n
H
n
[data]
27 40 94 L
n
H
n
[data]
1B 28 5E L
n
H
n
[data]
Use this command to engage the All Character Set (IBM Set III) and apply it to the data which
follows the command. This allows normally non-printable characters to print.
Parameters L
n
and H
n
Parameters L
n
and H
n
are used to designate how many characters you wish to print using the All
Character set:
Number of characters = L
n
+ (H
n
x 256)
For fewer than 256 characters, substitute the number of characters for L
n
and set H
n
= 0. For
more than 256 characters, divide the number of characters by 256 and assign the whole
number result to H
n
, then assign the remainder to L
n
.
L
n
and H
n
can have any value from 0 to 255 decimal.
Print Data from IBM All Characters Set
[IBM Set III] Command (IBM)
±
ML320 E/I, ML321 E/I
±
ML320 Turbo, ML321 Turbo
±
ML520, ML521
±
ML390 Turbo, ML391 Turbo
±
ML590, ML591
Function
ASCII
Dec
Hex
Print Specified Data from
IBM All Characters Set
ESC \ L
n
H
n
27 92 L
n
H
n
1B 5C L
n
H
n
This command will print the amount of data you specify within the command, using the IBM
All Characters set (also known as Character Set III).
The IBM All Characters set contains only printable characters with the exception of decimal
codes 0 and 255, and gives you a broad range of graphics characters and other special
symbols. This set is also a handy debugging tool for programmers, since you can print out and
examine files that contain control codes and escape sequences.
In the above command, you must use parameters L
n
and H
n
to specify the total count of
characters to be printed. The total count is calculated as
L
n
+ (H
n
x 256)
If you are printing fewer than 256 characters, substitute the number of characters for the value
of L
n
and replace H
n
with 0.
If you are printing 256 or more characters, divide the total number of characters you wish to
print by 256. Replace H
n
with the whole number result and assign the remainder to L
n
.