Samsung SRP-275 Operator's Manual page 55

Pos impact dot matrix printer
Hide thumbs Also See for SRP-275:
Table of Contents

Advertisement

CHAPTER 5
CONTROL COMMANDS LIST
GS ( A
[Name]
Execute test print
[Format]
ASCII
GS
(
Hex
1D
28
Decimal 29
40
1 ≤ m ≤ 3, 49 ≤ m ≤ 3
[Range]
[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 :
n
n
0, 48
0, 48
1, 49
1, 49
2, 50
2, 50
- m specifies a type of the test print as follows:
n
1, 49
2, 50
3, 51
[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.
5-40
A
pL
pH
n
m
41
02
00
n
m
65
2
0
n
m
Paper
Paper
Basic sheet (Paper roll)
Basic sheet (Paper roll)
Paper roll
Type
Hexadecimal dump
Printer status printing
Rolling pattern
GS ( C
[Name]
Edit NV user memory
[Format]
ASCII GS
(
C
pL pH m
Hex
1D 28 43 pL pH m
Decimal 29
40 67 pL pH m
[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.
fn
Paper
0, 48
Function 0
Deletes specified record
1, 49
Function 1
Stores data in specified record
2, 50
Function 2
Sends data stored in specified record
3, 51
Function 3
Sends capacity currently being used
4, 52
Function 4
Sends available capacity
Transmits the key code of the record stored in the
5, 53
Function 5
NV user memory
6, 54
Function 6
Cancels all records stored in the NV user memory
- 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.
fn
b
[c1, c2]
[d1...dk]
fn
b
[c1, c2]
[d1...dk]
fn
b
[c1, c2]
[d1...dk]
Description
5-41

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents