Samsung SRP-275CEPG Operation Manual - Page 64
GS E pL pH fn a <Function 6>
View all Samsung SRP-275CEPG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 64 highlights
CHAPTER 5 CONTROL COMMANDS LIST GS ( E pL pH fn [a1 n1L n1H]...[ak nkL nkH] [Format] [Range] [Default] [Description] ASCII GS ( E pL pH fn [a1n1L n1H] ... [ak nkL nkH] Hex 1D 28 45 pL pH 05 [a1 n1L n1H] ... [ak nkL nkH] Decimal 29 40 69 pL pH 5 [a1 n1L n1H] ... [ak nkL nkH] 4 ≤ (pL + pH x 256) ≤ 65533 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255: (pL + pH x 256) = 3 x k + 1) fn = 5 1 ≤ k ≤ 21844 a = 3 nL + nH x 256 = 2, 4, 5 ( nL = 2, 4, 5, nH = 0) (nL + nH x 256) = 5 ( nL = 5, nH = 0) [default value when a = 3] Changes the customized value specified by parameter a to (nL + nH x 256). a Type of customized value 3 Paper width [Notes] This function works only in user setting mode. Customized value is specified by unit of 3 bytes ( a, nL, nH) Ex: A transmitted data as specifying paper width; ASCII: GS ( E pL pH fn a nL nH Hexadecimal: 1D 2B 45 04 00 05 03 06 00 Decimal: 29 40 69 4 0 5 3 6 0 To activate the customized values you set with this function, you must transmit a Function 2 command. If you attempt to set a combination of settings that is not possible, the NV bit image memory setting is reduced to an allowable value. paper width settings ( a = 3) (nL + nH x 256) 2 4 5 Paper width 57.5 mm (2.26 inch) 69.5 mm (2.74 inch) 76 mm (3.00 inch) Setting the paper width ( a = 3) can be changed by Memory switch setting mode by the panel switch operation when the power supply is turned on. 5-58 GS ( E pL pH fn a [Format] [Range] [Description] ASCII GS ( E pL pH fn a Hex 1D 28 45 02 00 06 a Decimal 29 40 69 2 0 6 a (pL + pH x 256) = 2 ( pL = 2, pH = 0) fn = 6 a = 3 The printer transmits to the host the customized value for the NV memory area specified by parameter a. [Notes] a Type of customized value 3 Paper width This function works both in user setting mode and during normal printer operation. The printer transmits the data below ( Header to NUL ) with this function: Transmit data Header Identifier Value number (*1) Hex 37H 21H 30H or 31H Decimal 55 33 48 ~ 49 Data quantity 1 byte 1 byte 1-3 byte Transmit data Separation code Setting value NUL Hex 1FH 30H ~ 39H 00H Decimal 31 48 ~ 59 0 Data quantity 1 byte 1-5 byte 1-3 byte (*1) The decimal value for the customized value number (a; parameter of this function) is converted to ASCII character data and sent starting from the high order end. Example: If the a is 118, the 118 (expressed hexadecimally as 31H, 31H, 38H. Decimally as 49, 49, 56) is converted to 3-bytes data. (*2) The customized value is determined by the value defined in Function 5. Example 1: When setting value is 120, the customized value is 120 expressed with 3 bytes of data (hex numbers: 31H,32H, 30H / decimal numbers: 49, 50, 48). Example 2: When setting value is -1, the customized value is 65535 expressed with 5 bytes of data (hex numbers: 36H,35H, 35H, 33H, 35H / decimal numbers: 54,53, 53, 51, 53). 5-59