Samsung SRP-275CEPG Operation Manual - Page 55
Paper, Description
View all Samsung SRP-275CEPG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 55 highlights
CHAPTER 5 CONTROL COMMANDS LIST 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 : n Paper 0, 48 Basic sheet (Paper roll) 1, 49 Paper roll 2, 50 - m specifies a type of the test print as follows: n Type 1, 49 Hexadecimal dump 2, 50 Printer status printing 3, 51 Rolling pattern [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 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. fn Paper Description 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 [Notes] - 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. 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-41