Samsung SRP-275CEPG Operation Manual - Page 58
GS C pL pH m fn b <Function 3>
View all Samsung SRP-275CEPG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 58 highlights
CHAPTER 5 CONTROL COMMANDS LIST [Notes] - When the specified record exists, the printer sends the "Header to NUL" data shown below: Send data Header Identifier Identification status (*1) (*2) Data (*3) NUL Hex 37H 70H 40H or 41H 20H __FEH 00H Decimal 55 112 64 or 65 32 __254 0 Data quantity 1 byte 1 byte 1 byte 1 -80 bytes 1 byte (*1) When the quantity of stored data exceeds 80 bytes, the printer performs partial processing, using the following rules: - If there is unsent data, the identification status of the third byte is 41H or 65 decimal. - If there is no unsent data, the identification status of the third byte is 40H or 64 decimal. (*2) The printer performs batch processing when the data to be stored in the specified record is 80 bytes or less. At this time, the identification status of the third byte is 40H or 64 decimal. (*3) The key code and terminator are not included in the data. - If the host specifies a nonexistent record, the printer sends the "Header to NUL" data shown below: Send data Header Identifier Identification status NUL Hex Decimal Data quantity 37H 55 1 byte 70H 112 1 byte 40H 64 1 byte 00H 0 1 byte - See [Notes for transmission process] for description of transmission process. - See [Notes for ESC/POS Handshaking Protocol] for description of ESC/POS Handshaking Protocol. 5-46 GS ( C pL pH m fn b [Format] ASCII GS ( C pL pH m fn b Hex 1D 28 43 03 00 00 fn 00 Decimal 29 40 67 3 0 0 fn 0 [Range] (pL + pH x 256) = 3 ( pL = 3, pH = 0) m = 0 fn = 3, 51 b = 0 [Description] The printer sends the host the number of data bytes currently used in the NV memory area. [Notes] - ESC/POS Handshaking Protocol is not required for this function. - With this function, the printer sends the "Header to NUL" data shown below: Send data Header Identifier Identification status NUL Hex 37H 28H 30H - 39H 00H Decimal 55 40 48 - 57 0 Data quantity 11 byte 1 byte 1-8 bytes 1 byte (*1) The quantity of stored data bytes, plus the key code and terminator, equal the capacity being used. - The decimal value expressing the capacity being used is converted to ASCII character data and sent from the most significant digit. Example : When 120 bytes is used, the number 120 is expressed with three bytes of data (Hexadecimal: 31H, 32H, and 30H / decimal numbers 49, 50, and 48). When no memory area is used, the number 0 is expressed with 1 byte of data. (Hexadecimal: 30H / decimal number 48). - See previous [Notes for transmission process] for process sending data group. 5-47