BT-T080 Programming Manual
- 59 -
[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
The contents of the data in
③
are defined as follows:
The on/off setting of the memory switch is defined as [On: Hex = 30H / Decimal = 48] or
[Off: Hex = 31H / Decimal = 49]. The status of each memory switch is indicated by one
byte, and the returned value corresponds to bit 8 ~ bit 1 of memory switch.
Example: The data of
③
is “10110001”
(31H, 30H, 31H, 31H, 30H, 30H, 30H, 31H)