Microcom 814M Programming Manual User Manual
Page 49

45
Flage: Hexadecimal = 20H /Decimal = 32 (1 byte)
NUL: Hexadecimal = 00H /Decimal = 0 (1 byte)
• In the user-defined mode, only the following commands can be executed:
Function 2, Function 3 and Function 4 of this command and
GS I:
GS ( E pL pH m d1 d2 d3 (m = 2)
[Format]
ASCII GS
(
E p
L
p
H
m d1 d2 d3
Hex
1D
28 45 p
L
p
H
02 d1 d2 d3
Decimal 29
40 69 p
L
p
H
2 d1 d2 d3
[Range]
p
L
= 4
,
p
H
= 0
m = 2
d1 = 79
d2 = 85
d3 = 84
[Description]• Ends the user-defined mode and performs the software reset. Therefore, the printer clears the
receive and print buffers, and resets all settings (user-defined characters, downloaded bit images,
macros, and the character style) to the mode that was in effect at power on.
• The function with m = 2 of this command is only effective on the user-defined mode.
GS ( E pL pH m [a1 b18...b11]...[ak bk8...bk1] (m = 3)
[Format]
ASCII
GS
( E p
L
p
H
m
[a1
b1
8...
b1
1
]...[ak bk
8
...bk
1
]
Hex 1D
28 45 p
L
p
H
03 [a1 b1
8...
b1
1
]...[ak bk
8
...bk
1
]
Decimal 29
40 69 p
L
p
H
3
[a1
b1
8...
b1
1
]...[ak bk
8
...bk
1
]
[Range]
10 ≤ ( pL + pH x 256) ≤ 65530
(where ( pL + pH x 256) = 9 (k + 1: 0 pL 255; 0 pH 255)
m = 3
1 ≤ a ≤ 8
b = 48, 49, 50
1 ≤ k ≤ 7281
[Description] Changes the setting of the memory switch specified with a using the value of b
b
Function
48
Sets the specified bit to 0
49
Sets the specified bit to 1
50
Does not change the previous status of the specified bit
• The total bits 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.
• Set b as “2” (50) to the reserved bit.