5-41
GS ( C
[Name] Edit NV user memory
[Format] ASCII GS ( C pL pH m fn b [c1, c2] [d1...dk]
Hex 1D 28 43 pL pH m fn b [c1, c2] [d1...dk]
Decimal 29 40 67 pL pH m fn b [c1, c2] [d1...dk]
[Description] Deletes, stores, and transmits data in the NV user memory area based on the
functions defined in the table below. Also sends status information for the
amount of space used in NV RAM and the amount of space still available.
- The function code (fn) specifies the function.
- pL and pH specify the bytes following parameter
pH (m and [a1 b1] ... [ak bk]) as (pL + (pH x_256)).
- The other parameters are explained under each of the functions.
[Notes] The command function is defined by the function code (fn). The command
operation differs, depending on the function.
The NV user memory area is especially provided for storing character data
in the non-volatile memory built into the printer.
The NV user memory data configuration is as follows:
key code + data + terminator. This unit is called a record.
- A record is one data processing unit in the NV user memory.
It is identified and specified by a key code. One record consists of a
group of 4 bytes of data or more.
- The key code is a 2-byte ID code used to identify records and is created
with parameters c1, c2 in the command. You can specify any desired
character code from 32H - 7EH.
- Data is the character string specified by d1... dk in Function 1 of the GS
( C command. You cannot specify control codes 00H — 1FH, 7FH as
character string data.
- The terminator is a 1-byte code, automatically assigned when the
printer stores data.
5-40
GS ( A
[Name] Execute test print
[Format] ASCII GS ( A pL pH n m
Hex 1D 28 41 02 00 n m
Decimal 29 40 65 2 0 n m
[Range] 1 ≤ m ≤ 3, 49 ≤ m ≤ 3
[Description] Executes a specified test print.
- pL and pH specify the number of parameters following n to
(pL + pHx256) bytes.
- n specifies paper used for the test print as follows :
- m specifies a type of the test print as follows:
[Notes] This command is effective only when processed at the beginning of the line.
After processing this command, the printer performs a software reset.
Executing this command puts the printer in the same status as when the
power is turned on. Transmit commands or data after confirming the
complete software reset.
If hexadecimal dump (m = 1, 49) is specified, the printer prints a message.
Transmit commands or data after the printing.
When processing printer status printing (m = 2, 50), rolling pattern printing
(m = 3, 51), ASB status and real-time commands cannot be used.
n
0, 48
1, 49
2, 50
Paper
Basic sheet (Paper roll)
n
0, 48
1, 49
2, 50
Paper
Basic sheet (Paper roll)
fn
0, 48
1, 49
2, 50
3, 51
4, 52
6, 54
Paper
Function 0
Function 1
Function 2
Function 3
Function 4
Function 6
Description
Deletes specified record
Stores data in specified record
Sends data stored in specified record
Sends capacity currently being used
Sends available capacity
Transmits the key code of the record stored in the
NV user memory
Cancels all records stored in the NV user memory
CONTROL COMMANDS LIST
CHAPTER 5
Paper roll
n
1, 49
2, 50
3, 51
Type
Hexadecimal dump
Printer status printing
Rolling pattern
5, 53 Function 5
Comentários a estes Manuais