
BT-T080 Programming Manual
- 58 -
• The function with m = 2 of this command is effective only in the user-defined mode.
GS ( E pL pH m [a1 b18...b11]...[ak bk8...bk1] (m = 3) <Function 3>
[Format]
ASCII GS
(
E
pL pH
m
[a1
b18...b11]...[ak
bk8...bk1]
Hex 1D
28 45
pL pH 03
[a1b18...b11]...[ak
bk8...bk1]
Decimal
29
40 69
pL
pH
3 [a1
b18...b11]...[ak
bk8...bk1]
[Value range]
10
≤
( pL + pH×256)
≤
65530
(herein ( pL + pH×256) = 9×k + 1: 0
≤
pL
≤
255; 0
≤
pH
≤
255)
m = 3
1
≤
a
≤
8
b = 48, 49,50
1
≤
k
≤
7281
[Notes]
Change the settings of the memory switch by setting the value of b.
b
Function
48 Set the specified bit to 0
49 Set the specified bit
to 1
50 Not change the previous setting of the specified bit
• The total bit of the memory switch is 8.
• The value of b is processed in order of bit 8 to bit 1;
• If an error occurs in the process of writing data, the memory error process is
executed.
• When the value of b is set to “2” (50), the previous setting of the specified bit will not
be changed.
• Only after the printer is reset can the changed settings become effective.
• The setting values can be checked by executing the self-test.
GS ( E pL pH m a (m = 4) <Function 4>
[Format] ASCII GS
( E
pL
pH
m
a
Hex
1D 28 45 pL pH 04 a
Decimal 29 40 69 pL pH 4 a
[Value range]
( pL + pH×256) =2 (pL = 2, pH = 0)
m = 4
1
≤
a
≤
8
[Notes]
Return the values of the memory switch specified by a.
The contents of the returned data are as follows:
Returned data Hex
Decimal
Data length
Header
①
37H
55
1
byte
Flag
②
21H 33 1
byte
Data
③
30H, 31H
48, 49
8 bytes
NUL
④
00H 0 1
byte