Rev. 1.00
- 35 -
FEC-150
GS ( E pL pH fn [parameter]
[Name] To Customize NV memory area
[Description] Customize the NV user memory area. The table below explains the functions
available in this command. Executes commands related to the user setting
mode by specifying the function code fn.
fn
Format
No.
Function
1
GS ( E pL pH fn d1 d2
1
Changes into the user setting mode
2
GS ( E pL pH fn d1 d2 d3
2
Ends the user setting mode sessio.
(Performs a soft reset.)
3
GS ( E pL pH fn [a1 b18...b11]...
[ak bk8...bk1]
3
Sets value(s) for the memory switch
4
GS ( E pL pH fn a
4
Transmits the settings of the memory
switch to the host
[Notes] - pL, pH specifies (pL + pH x 256) as the number of bytes after pH (fn and
[parameter]).
- The user setting mode is a special mode to change the values in the NV user
memory with this command.
- In Function 2, the printer performs software reset. Therefore, the printer clears the
receive and print buffers, and resets all settings (user-defined characters, macros,
and the character style) to the mode in effect at power on.
- Frequent write commands by this command, may damage the NV memory.
Therefore, it is recommended to write to NV memory no more than 10 times a day.
- While processing this command, the printer is BUSY while writing data to the user
NV memory and stops receiving data. Therefore it is prohibited to transmit data
including the real-time commands during the execution of this command.
<Function 1> GS ( E pL pH fn d1 d2 (fn=1)
[Format]
[Range]
[Description]
ASCII GS
( E
pL pH fn d1 d2
Hex 1D
28
45 pL pH fn d1 d2
Decimal 29 40 69 pL pH fn d1 d2
(pL + pH x 256) = 3 (pL=3, pH=0)
fn=1
d1=73, d2=78
▪
Enter the user setting mode and notifies that the mode has changed.
HEX
DECIMAL
Number of Data
Header 37H
55
1
byte
Flag 20H
32 1
byte
NUL 00H
0
1
byte
▪
The following commands are enabled in the user setting mode.
<Function 2> through <Function 12> of GS ( E, GS I.
<Function 2> GS ( E pL pH fn d1 d2 d3 (fn=2)
[Format]
[Range]
[Description]
ASCII GS
( E
pL pH fn d1 d2 d3
Hex 1D
28
45 pL pH fn d1 d2 d3
Decimal 29 40 69 pL pH fn d1 d2 d3
(pL + pH x 256) = 4 (pL=4, pH=0)
fn=2
d1=79, d2=85, d3=84
▪
Ends the user setting mode and performs a software reset. Therefore, the