Oki MICROLINE 390 TURBO Printer Handbook - Page 96

Bar Code Command

Page 96 highlights

Epson Function Commands (ASCII, Decimal, Hexadecimal) Notes Select Epson Character Set ASCII: ESC t n Dec: 27 116 n Hex: 1B 74 n Print data as character table ASCII: ESC (^ n1 n2 [data] Dec: 27 40 94 n1 n2 [data] Hex: 1B 28 5E n1 n2 [data] Permit printing of upper ASCII: ESC 6 range control codes Dec: 27 54 Hex: 1B 36 Cancel printing of upper ASCII: ESC 7 range control codes Dec: 27 55 Hex: 1B 37 Bar Code Command Select Bar Code Type and ASCII: ESC DLE A m n1 ··· n8 Size Dec: 27 16 65 m n1 ··· n8 Hex: 1B 10 41 m n1 ··· n8 Table selection is made from among four character tables. n=0: Character Table 0 n=1: Character Table 1 n=2: Character Table 2 n=3: Character Table 3 The tables designated by default are as follows: Character Table 0: Italic Character Table 1: Table being selected by "CodePage" in the MENU Character Table 2: DLL character reallocation. Character Table 3: PC 437 (USA) All [data] become printing data. All codes of 01H-FF are treated as printing data. 00H code is ignored as Null code. The number of printing data (in bytes) to follow are indicated by n1 and n2. Number of printing data (in bytes)=n1 + [n2 x 256] Enables printing of characters in upper ASCII code range (128 to 159). Cancels ESC 6 command. m is number of parameters specified: 2, 4, 5, 6, 7, or 8 n1, n2 set bar code style as follows: n1, n2=0, 1: EAN8 n1, n2=0, 2: EAN13 n1, n2=1, 0: UPC-A n1, n2=1, 4: UPC-E n1, n2=2, 0: CODE 39 n1, n2=3, 0: Interleaved 2 of 5 n1, n2=4, 0: Code 128 ML390/391 Turbo Printer Handbook 89

  • 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

ML390/391 Turbo Printer Handbook
89
Select Epson Character
Set
Print data as character
table
Permit printing of upper
range control codes
Cancel printing of upper
range control codes
Bar Code Command
Select Bar Code Type and
Size
ASCII: ESC t n
Dec: 27 116 n
Hex: 1B 74 n
ASCII: ESC (^ n
1
n
2
[data]
Dec: 27 40 94 n
1
n
2
[data]
Hex: 1B 28 5E n
1
n
2
[data]
ASCII: ESC 6
Dec: 27 54
Hex: 1B 36
ASCII: ESC 7
Dec: 27 55
Hex: 1B 37
ASCII: ESC DLE A m n
1
···
n
8
Dec: 27 16 65 m n
1
···
n
8
Hex: 1B 10 41
m n
1
···
n
8
Epson
Function
Commands
(ASCII, Decimal, Hexadecimal)
Table selection is made from among four
character tables.
n=0: Character Table 0
n=1: Character Table 1
n=2: Character Table 2
n=3: Character Table 3
The tables designated by default are as
follows:
Character Table 0: Italic
Character Table 1: Table being selected
by "CodePage" in the MENU
Character Table 2: DLL character re-
allocation.
Character Table 3: PC 437 (USA)
All [data] become printing data. All
codes of 01H-FF are treated as printing
data. 00H code is ignored as Null code.
The number of printing data (in bytes) to
follow are indicated by n
1
and n
2
.
Number of printing data (in bytes)=n
1
+
[n
2
x 256]
Enables printing of characters in upper
ASCII code range (128 to 159).
Cancels ESC 6 command.
m is number of parameters specified: 2,
4, 5, 6, 7, or 8
n
1
, n
2
set bar code style as follows:
n
1
, n
2
=0, 1: EAN8
n
1
, n
2
=0, 2: EAN13
n
1
, n
2
=1, 0: UPC-A
n
1
, n
2
=1, 4: UPC-E
n
1
, n
2
=2, 0: CODE 39
n
1
, n
2
=3, 0: Interleaved 2 of 5
n
1
, n
2
=4, 0: Code 128
Notes