Samsung SRP-275CEPG Operation Manual - Page 67
code of [Header +Identifier + NUL].
View all Samsung SRP-275CEPG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 67 highlights
CHAPTER 5 CONTROL COMMANDS LIST [Notes for printer ID] Each printer ID is composed of 1 byte of data (when 1 ≤ n ≤ 3, 49 ≤ n ≤ 51). Printer model ID differs, depending on the printer model (when n = 1, 49). Transmits specified printer information, as follows: Bit Off/On Hex Decimal Function Off 00 0 On 01 1 Off On 00 02 Off 00 2 On 04 3 - - 4 Off 00 5 - - 6 Off 00 7 Off 00 0 Multi-byte character codes are not supported. 1 Multi-byte character codes are supported. 0 Auto cutter not installed. 2 Auto cutter installed. 0 DM-D (customer display) is not installed. 4 DM-D (customer display) is installed. - Reserved. 0 Not used. Fixed to Off. - Reserved. 0 E/P (Endorse printer) not installed 0 Not used. Fixed to Off. Printer ID is distinguished from other send data by bits 4 and 7. When the data sent from printer after printing GS I is "0xx0xxxx" (x = 0, 1), the printer processes the data as printer ID. [Notes for printer information A] Printer information A (n = 33) consists of [Header ~ NUL] as shown in the following table: Transmit data Header Identifier(*1) Printer information A (*2) NUL Hex 3DH 20H ~ 2FH Depends on printer model 00H Decimal 61 32 ~ 47 Depends on printer model 0 Amount of data 1 byte 1 byte 0 ~ 80 bytes 1 byte 5-64 (*1) The identifier is transmitted as the transmitted parameter n of this command. Example: When type information is specified (n = 33), the identifier is [hex = 21H/decimal = 33]. (*2) If the printer information cannot be transmitted, the printer transmits 3-byte code of [Header +Identifier + NUL]. The printer information A of type information (n = 33) is 2 bytes of data as shown in the following tables. Bit Off/On Hex Decimal Function 0 Off 00 On 01 Off 00 1 On 02 2 Off 00 On 04 3-5 - - 6 On 40 7 Off 00 0 Multi-byte character codes are not supported. 1 Multi-byte character codes are supported. 0 Auto cutter not installed. 2 Auto cutter installed. 0 DM-D (customer display) is not installed. 4 DM-D (customer display) is installed. - Reserved. 64 Fixed. 0 Fixed. During transmission of [Header ~ NUL], ASB status and real time commands are disabled. When communication with the printer uses XON/XOFF control, the XOFF code may interrupt the Header to NUL data string. The printer information A can be differentiated by the header of the block data from other transmission data. After outputting GS I, if the data transmitted from the printer is [Hex = 3DH/Decimal = 61], data is processed up to NUL [Hex = 00H/Decimal = 0] as the data block, according to the header and identifier. 5-65