Samsung SRP-275CEPG Operation Manual - Page 42
ESC &
View all Samsung SRP-275CEPG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 42 highlights
CHAPTER 5 CONTROL COMMANDS LIST [Notes] - Functions for each bit can also be executed by the following commands: - Bit 0 (character font): ESC M - Bit 3 (Emphasized mode): ESC E - Bit 7 (underline mode): ESC - When some characters in a line are double-height, all characters on the line are aligned at the baseline. When double-width mode is turned on, the characters are enlarged to the right, based on the left side of the character. When both double-height and double-width modes are turned on, quadruple size characters are printed. The character is enlarged in the paper feed direction when double-height mode is selected, and it is enlarged perpendicular to the paper feed direction when double-width mode is selected. The underline thickness is that specified by ESC -, regardless of the character size. The underline is the same color as the printed character. The printer cannot underline the space set by HT. ESC % [Name] Select/cancel user-defined character set [Format] ASCII ESC % n Hex 1B 25 n Decimal 27 37 n [Range] 0 ≤ n ≤ 255 [Default] n = 0 [Description] Selects or cancels the user-defined character set. - When the LSB of n is 0, the user-defined character set is canceled. - When the LSB of n is 1, the user-defined character set is selected. [Notes] When the user-defined character set is canceled, the resident character set is automatically selected. Settings of this command are effective until ESC @ is executed, the printer is reset, or the power is turned off. 5-14 ESC & [Name] Define user-defined characters [Format] ASCII ESC & y c1 c2 [x1 d1 ... d(y X x1)] ... [xk d1 ... d(y X xk)] Hex 1B 26 y c1 c2 [x1 d1 ... d(y X x1)] ... [xk d1 ... d(y X xk)] Decimal 27 38 y c1 c2 [x1 d1 ... d(y X x1)] ... [xk d1 ... d(y X xk)] [Range] y = 2 32 ≤ c1 ≤ c2 ≤ 126 0 ≤ x ≤ 12 (Font A (9 x 9)) 0 ≤ x ≤ 10 (Font B (7 x 9)) 0 ≤ d ≤ 255 k = c2 - c1 + 1 [Default] None [Description] Defines user-defined characters from character code check c1 to c2. - y specifies the number of bytes in the vertical direction. - x specifies the number of dots in the horizontal direction. - d is the dot data for the user-defined characters. [Notes] Character codes from the alphanumeric characters (20H (decimal 32) to 7EH (decimal 126)) can be defined. Data (d) specifies a bit printed to 1 and not printed to 0. The dot pattern is in the horizontal direction from the left side. Any remaining dots on the right side are blank. The data to define a user-defined character is (y x x) bytes. When the value of y, c1, c2, or x is out of the range, this command is canceled, and the following data is processed as normal data. This command can define user-defined characters for each font independently. To select a font, use ESC ! or ESC M. Once the user-defined characters have been defined, they are available until ESC ? or ESC @ is executed; the user-defined characters are redefined; the power is turned off; or the printer is reset. The user-defined characters are not defined at the default, and the resident characters are printed. The relationship between the definition data and printing result is as follows. Example: Downloaded character definition consists of 9 x 7 dots. MSB d1 d3 d5 d7 d9 d11 d13 LSB MSB d2 d4 d6 d8 d10 d12 d14 LSB 5-15