SRP-275II Command Manual Rev. 1.00 http://www.bixolon.
SRP-275II Command Manual ■ Contents 1. Notice........................................................................................................................................................................................................3 2. SRP-275II Supported Commands ...........................................................................................................................................................4 2-1 Command Description Items ............................................
SRP-275II Command Manual 1. Notice This document contains proprietary information of BIXOLON Corporation and its affiliates. You may utilize the information solely for the purpose of facilitating authorized sales and service of, or developing software and similar products for authorized use with, BIXOLON products, provided that such proprietary information may not be used, reproduced, or disclosed to any other parties for any other purpose without the prior written permission of BIXOLON Corporation.
SRP-275II Command Manual 2. SRP-275II Supported Commands No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Command EOT ENQ BS ^ E HT LF CR DLE DC4 ESC SP ESC ! ESC % ESC & ESC * ESC ESC 2 ESC 3 ESC < ESC = ESC ? ESC @ ESC D ESC E ESC G ESC J ESC K ESC M ESC R ESC R S ESC U ESC a Rev. 1.
SRP-275II Command Manual 2-1 Command Description Items Command Function: Command function outline Code: Command format expressed in ASCII, hexadecimal, and decimal codes Range: Argument value (Setting range) for the command Default: Initial argument value for the command Description: Detailed command function description Remarks: Additional information about using the command Differences: Variations depending on the printer model Rev. 1.
SRP-275II Command Manual 2-2 Details of Control Commands EOT Function: Code: Transmit status ASCII Hex Decimal Range: 1≤n≤4 Default: None EOT 04 4 n n n Description: This command transmits the printer-related status specified by n as follows: n Function 1 Transmit printer status 2 Transmit off-line status 3 Transmit error status 4 Transmit paper roll sensor status ■ Printer transmits the following status n=1: Printer status Bit 0 1 2 3 4 5 6 7 Rev. 1.
SRP-275II Command Manual n=2: Off-line status Bit 0 1 2 3 4 5 6 7 Off/On Off On Off On Off On On Off On Off On Off Hex 00 02 00 04 00 08 10 00 20 00 40 00 Decimal 0 2 0 4 0 8 16 0 32 0 64 0 Binary 0 1 0 1 0 1 1 0 1 0 1 0 Hex 00 02 00 04 00 08 10 00 20 00 40 00 Decimal 0 2 0 4 0 8 16 0 32 0 64 0 Status Fixed Fixed Cover is closed Cover is open Paper is not being fed by using the paper FEED button Paper is being fed by the paper FEED button Fixed No paper-end stop Printing is being stopped No error Err
SRP-275II Command Manual n=4: paper sensor status Bit 0 1 2,3 4 5,6 7 Remarks: Binary 0 1 00 11 1 00 11 0 Hex 00 02 00 0C 10 00 60 00 Decimal 0 2 0 12 16 0 96 0 Status Not used. Fixed to Off Not used. Fixed to On Paper near end sensor: paper adequate Paper near end sensor: paper near end Not used. Fixed to On Paper end sensor: paper present Paper end sensor: paper not present Not used. Fixed to Off ■ This command can be executed in a real time mode using DLE.
SRP-275II Command Manual ENQ Function: Code: Request to printer ASCII Hex Decimal ENQ 05 5 n n n Range: n=2 Default: None Description: This command enables the printer to restore from an error state after clearing the receive and print buffers. Remarks: ■ This command can be executed in a real time mode with DLE preceding it. ■ In a real time mode, upon receiving this command, the printer carries out the resume operation to get back normal by clearing error conditions.
SRP-275II Command Manual BS ^ E Function: Set NV user memory area Code: None Range: None Default: None Description: This command stores the customized values to the NV user memory area and uses them for the printer operation. The table below explains the functions available in this command. Executes commands related to the user setting mode by specifying the function code fn. fn Format No.
SRP-275II Command Manual BS ^ E pL pH fn (fn=1) Code: ASCII Hex Decimal BS 08 8 ^ 5E 94 E 45 69 pL pL pL pH pH pH fn fn fn Range: (pL + pH x 256) = 1 fn=1 (pL=1, pH=0) Default: None Description: This command starts the user setting mode, enabling the printer to notify that the mode has changed as follows: [Mode change feedback] Hexadecimal Decimal Number of Data Header 37H 55 1 byte Flag 20H 32 1 byte NUL 00H 0 1 byte Remarks: ■ This command is effective only in standard mode, n
SRP-275II Command Manual BS ^ E pL pH fn d1 d2 d3 (fn=2) Code: ASCII Hex Decimal BS 08 8 ^ 5E 94 E 45 69 pL pL pL pH pH pH fn fn fn Range: (pL + pH x 256) = 1 fn=2 Default: None Description: This command terminates the user setting mode and performs a software reset. Remarks: ■ This command activates setting items set in the user setting mode. ■ All the setting items will be effective only after performing this command.
SRP-275II Command Manual BS ^ E pL pH fn [b18...b11]...[ bk8...bk1] (fn=3) Code: ASCII Hex Decimal BS 08 8 ^ 5E 94 E 45 69 pL pL pL fn fn fn [b18...b11]... [bk8...bk1] [b18...b11]... [bk8...bk1] [b18...b11]... [bk8...
SRP-275II Command Manual Msw Value Function 48 2 byte character mode not selected 1-4 49 2 byte character mode selected 48 Print speed 80mm/s 1-5 49 Print speed 50mm/s 1-6 48 Reserved • The print density adjusts the darkness of characters to be printed. • 2-byte character mode is selected to support for Chinese, Japanese, and Korean model. • The printer supports 2 different printing speeds, 80 and 50mm/sec. Please be sure that the printing quality at higher speed may be worse than at the lower.
SRP-275II Command Manual Msw2-8 48 48 48 48 48 48 48 48 48 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 Rev. 1.
SRP-275II Command Manual ■ The setting items of the memory switch 3 are as follows: Specify the 2 dimensional bar codes to be enabled using the memory switch 3-1 through 3-4.
SRP-275II Command Manual ■ The setting items of the memory switch 5 are as follows: Specify the length of idle time before the printer enters the power-down mode. • Range of idle time: 0 sec ≤ idle time ≤ 90 sec When memory switch value is 0, the power-down mode is not active Rev. 1.
SRP-275II Command Manual ■ The setting items of the memory switch 6 are as follows: Set the standby time before the printer enters the power saving mode. • Range of standby time: 10 sec ≤ standby time ≤ 255 sec When memory switch value is 0, the power saving mode does not work.
SRP-275II Command Manual ■ The setting items of the memory switch 8 are as follows: • Either the character font A or B is selected. • The beep is activated for the audible paper empty warning signal. • The beep is activated for the audible low battery warning signal. • The label printing is available by the setting.
SRP-275II Command Manual ■ The setting items of the memory switch 8 is as follows: Msw 8-1 8-2 8-3 8-4 8-5 8-6 Value 48 49 48 49 48 49 48 48 49 48 48 8-7 49 8-8 Rev. 1.
SRP-275II Command Manual BS ^ E pL pH fn a (fn=4) Code: ASCII Hex Decimal BS 08 8 ^ 5E 94 E 45 69 pL 02 2 pH 00 0 fn 04 4 a a a Range: (pL + pH x 256) = 2 fn=4 a=2, 8 Default: None Description: This command transmits the setting value of the memory switch corresponding to a.
SRP-275II Command Manual BS ^ E pL pH fn a d1….dk (fn=11) Code: ASCII Hex Decimal BS 08 8 ^ 5E 94 E 45 69 pL pL pL pH pH pH fn 0B 11 [d11...d16][d12][d13][d14] [d11...d16][d12][d13][d14] [d11...
SRP-275II Command Manual When (pL+pH x256) =8: d11~d41: Baud rate value d12: Parity setting value d13: Flow control setting value d14: Data length setting value For instance, when defining 19200 bps, (pL = 9, pH=0) and ASCII converted character data(Hexadecimal = 31H,39H,320H,30H,30H//Decimal= 49, 57, 50, 48, 48) of 19200 should be sent.
SRP-275II Command Manual Remarks: ■ The change of settings of serial interface is available by adjusting the corresponding DIP switch that is recommended for setting of serial interface. ■ To enable the settings by this command, it is first required to adjust the DIP switch that activates the serial interface configuration set by the memory switch. Differences: Rev. 1.
SRP-275II Command Manual BS ^ E pL pH fn a (fn=12) Code: ASCII Hex Decimal BS 08 8 ^ 5E 94 E 45 69 pL pL pL pH pH pH fn fn fn a a a Range: (pL + pH x 256) = 2 (pL=2, pH=0) fn=12, 1 ≤ a ≤ 4 Default: None Description: ■ This command transmits the communication conditions of the serial interface according to a as follows: a 1 2 3 4 Communication Condition Baud rate Parity Flow control Data length ■ The data format to be transmitted is as follows: Hexadecimal Decimal Header 37H 5
SRP-275II Command Manual ■ Configuration of the setting value • When the baud rate (a=1) is specified: Baud rate (bps) 2400 4800 9600 19200 38400 57600 115200 d1 50 52 57 49 51 53 49 d2 52 56 54 57 56 55 49 d3 48 48 48 50 52 54 53 d4 48 48 48 48 48 48 50 d5 ---48 48 48 48 d6 ------48 • When the parity setting (a=2) is specified: d1 48 49 50 Parity No parity Odd parity Even parity • When the flow control setting (a=3) is specified: d1 48 49 Flow control DTR / DSR (Fixed) XON / XOFF • When the d
SRP-275II Command Manual HT Function: Code: Horizontal tab ASCII Hex Decimal HT 09 9 Range: None Default: None Description: This command moves the print position to the next horizontal tab position. If the next horizontal tab position is not specified, this command will be void. Remarks: ■ The horizontal tab position is set by D. ■ With the underline mode turned on, the underline printing is not applied to the tab space created by this command. Differences: Rev. 1.
SRP-275II Command Manual LF Function: Code: Print and line feed ASCII Hex Decimal LF 0A 10 Range: None Default: None Description: This command prints the data in the print buffer and feeds one line based on the current set line spacing in standard mode. Remarks: ■ In page mode, the printer does not perform actual printing, but moving only the print position to the next line. Differences: None Rev. 1.
SRP-275II Command Manual CR Function: Code: Print and carriage return ASCII Hex Decimal CR 0D 13 Range: None Default: None Description: This command prints the data. With auto line feed enabled, it performs printing and one line feeding same as LF. Remarks: ■ Auto line feed is only enabled with a parallel interface using the DIP switch. Differences: ■ Auto line feed is turned on by setting DIP S/W 2-1 Rev. 1.
SRP-275II Command Manual DLE Function: Code: Set real-time command mode ASCII Hex Decimal DLE 10 16 Range: None Default: None Description: This command enables commands to be operable in real-time. Remarks: ■ A single command following this command is regarded as a real time command. ■ The real time command is stored into the receive buffer and executed with higher priority than other commands.
SRP-275II Command Manual DC4 Function: Code: Generate pulse ASCII Hex Decimal DC4 14 20 n n n m m m t t t Range: n = 1, m=0,1, 1 ≤ t ≤ 8 Default: None Description: ■ This command generates the drive pulse to connector pin m with pulse width defined by t as following: • Drawer kick-out connector pin 2 is selected with m=0 while pin 5 chosen for m=1. • Pulse ON time is [t x100 ms] and OFF time [t x100 ms] Remarks: ■ This command can be executed in a real time mode by placing DLE prior to it.
SRP-275II Command Manual ESC SP Function: Set the character right space Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: ■ This command sets the size of space to right of character. • Right space = n × [horizontal motion units]. Remarks: ■ In a double width mode, the right space will be doubled. ■ Horizontal motion unit varies depending the printer model. Differences: ■ Horizontal motion unit: 0.159mm(1/160 inch) Rev. 1.
SRP-275II Command Manual ESC ! Function: Set print mode Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: This command selects print mode(s) with bits having following meanings.
SRP-275II Command Manual ESC % Function: Select/cancel user-defined character set Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: ■ This command selects/deselects user-defined character set that is downloaded by user. To make it valid, the least ESC 1B 27 % 25 37 n n n significant bit should be defined like following. • When n=0, the user-defined character set is deselected. • When n=1, the user-defined character set is selected.
SRP-275II Command Manual ESC & Function: Code: Define user-defined character set ASCII Hex Decimal ESC 1B 27 & 26 38 y y y c1 c1 c1 c2 [x1 c2 [x1 c2 [x1 d1 ... d(yⅹx1)]... [xk d1 ... d(yⅹx1)]... [xk d1 ... d(yⅹx1)]... [xk d1 ... d(yⅹxk)] d1 ... d(yⅹxk)] d1 ...
SRP-275II Command Manual MSB d1 d3 d5 d7 d9 d11 d13 LSB MSB d2 d4 d6 d8 d10 d12 d14 LSB Differences: Rev. 1.
SRP-275II Command Manual ESC * Function: Code: Specify bit image mode ASCII Hex Decimal ESC 1B 27 Range: m = 0, 1 0 ≤ nL ≤ 255 0 ≤ nH ≤ 3 0 ≤ d ≤ 255 k = nL + nH x 255 Default: None * 2A 42 m m m nL nL nL nH nH nH d1...dk d1...dk d1...dk Description: ■ This command specifies the bit image for the mode m as to the number of dots specified by nL and nH. • d specifies the bit image data with 1 for printed data and 0 for not printed. • k denotes the number of horizontal dots.
SRP-275II Command Manual DPI : Dots per Inch (25.4mm) Differences: Rev. 1.
SRP-275II Command Manual ESC – Function: Code: Turn underline mode on/off ASCII Hex Decimal ESC 1B 27 2D 45 n n n Range: 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Default: n=0 Description: ■ This command enables the print data following it to be printer out underlined.
SRP-275II Command Manual ESC 2 Function: Code: Select default line spacing ASCII Hex Decimal ESC 1B 27 2 32 50 Range: None Default: None Description: This command sets the default line spacing The default line spacing is approximately 3.75 mm, which is equivalent to 30 dots. Remarks: ■ The line spacing can be set independently in standard mode and in page mode. ■ The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed. Differences: Rev. 1.
SRP-275II Command Manual ESC 3 Function: Set line spacing Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: Corresponding to the default line spacing defined by ESC 2 Description: ■ This command sets the line spacing using a following rule. • Line spacing = n x (vertical or horizontal motion units) Remarks: ■ With standard mode selected, the vertical motion unit is used.
SRP-275II Command Manual ESC < Function: Code: Return home ASCII Hex Decimal ESC 1B 27 < 3C 60 Range: None Default: None Description: This command moves the print head to the standby position. Remarks: ■ The standard position is on the left. ■ After processing this command, the print position may be readjusted. Differences: None Rev. 1.
SRP-275II Command Manual ESC = Function: Code: Select peripheral device ASCII Hex Decimal ESC 1B 27 = 3D 61 n n n Range: 1≤n≤3 Default: None Description: This command selects the device to which the host computer communicates according to n as follows: n Function 1 Enables the printer 2 Disables the printer 3 Enables the printer Remarks: ■ The printer discards all of the received data commands with the exception of ESC = and real-time commands while being disabled.
SRP-275II Command Manual ESC ? Function: Cancel user-defined characters. Code: ASCII Hex Decimal Range: 32 ≤ n ≤ 126 Default: None Description: This command removes user-defined character specified by character code n. Remarks: ■ In place of the deleted user-defined character, the cooresponding resident character is printed. ■ The user-defined characters for each font can be deleted independently. Differences: None Rev. 1.
SRP-275II Command Manual ESC @ Function: Code: Initialize printer ASCII Hex Decimal ESC 1B 27 @ 40 64 Range: None Default: None Description: This command cancels conditions previously set and initializes the printer to the conditions having existed at power on. Remarks: ■ ■ ■ ■ ■ The data in the printer buffer is cleared. The settings of DIP switch are not re-read. The data in the receive buffer is not discarded. All of the settings such as print mode and line feed are cleared.
SRP-275II Command Manual ESC D Function: Code: Set horizontal tab position ASCII Hex Decimal ESC 1B 27 D 44 68 n1...nk n1...nk n1...nk NUL 00 0 Range: 1 ≤ n ≤ 255 , 0 ≤ k ≤ 32 Default: n=8, 16, 24, 32, 40,....., 232, 240, 248 Description: ■ This command sets the horizontal tab position. • n defines the number of columns from the beginning of the line to the horizontal tab setting. • k denotes the number of horizontal tab positions to be set.
SRP-275II Command Manual ESC E Function: Turn emphasized mode on / off Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: ■ This command turns emphasized mode on or off by toggling the least significant bit of n like following. • When the LSB of n is 0, emphasized mode is turned off. • When the LSB of n is 1, emphasized mode is turned on. Remarks: ■ The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed.
SRP-275II Command Manual ESC G Function: Turn double-strike mode on/off Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: ■ This command turns double-strike mode on or off by toggling the least significant bit of n like following. • When the LSB of n is 0, emphasized mode is turned off. • When the LSB of n is 1, emphasized mode is turned on. Remarks: ■ The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed.
SRP-275II Command Manual ESC J Function: Print and feed paper Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: None Description: This command prints the data in the print buffer and feeds the paper [n X vertical motion unit]. Remarks: ■ The maximum feed amount available varies depending on the printer model. ■ With standard mode selected, the vertical motion unit is used.
SRP-275II Command Manual ESC K Function: Print and reverse feed Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 48 Default: None Description: This command prints the data in the print buffer and feeds the paper n x (vertical motion unit) in the reverse direction. Remarks: ■ With standard mode selected, the vertical motion unit is used.
SRP-275II Command Manual ESC M Function: Code: Select character font/ MSR card read ASCII Hex Decimal ESC 1B 27 M 4D 77 n n n Range: n = 0, 1, 48, 49 Default: n=1 Description: None Remarks: ■ The printer model has it own configuration of Font A and B. ■ The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed. Differences: None Rev. 1.
SRP-275II Command Manual ESC R Function: Code: Specify international character set ASCII Hex Decimal ESC 1B 27 R 52 82 n n n Range: 0≤ n≤11 Default: n=0 Description: This command specifies international characters according to n values. n Character set n Character set 0 U.S.A 7 Spain I 1 France 9 Norway 2 Germany 10 Denmark II 3 U.
SRP-275II Command Manual ESC R S Function: Stores international character set to NV memory Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 13 Default: n=0 Description: This command stores international characters specified by n values into the NV memory. n Character set n Character set 0 U.S.A 7 Spain I 1 France 9 Norway 2 Germany 10 Denmark II 3 U.
SRP-275II Command Manual ESC U Function: Specify unidirectional print mode Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: ■ This command selects/deselects the unidirectional print according to the value of n that is valid only for the least ESC 1B 27 U 55 85 n n n significant bit.
SRP-275II Command Manual ESC a Function: Code: Set position alignment ASCII Hex Decimal ESC 1B 27 a 61 97 n n n Range: 0 ≤ n ≤2, 48 ≤ n ≤50 Default: n=0 Description: This command specifies position alignment for all data in one line in standard mode, using n as follows: n Alignment 0, 48 Left alignment 1, 49 Center alignment 2, 50 Right alignment Remarks: ■ This command is not effective in page mode.
SRP-275II Command Manual ESC d Function: Print and feed n lines. Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: None Description: This command feeds the paper by n lines after printing the data in the print buffer. Remarks: ■ The per-line paper feed amount is based on the value set by the line spacing related commands, ESC 2 and ESC 3. ■ In page mode, this command moves only the print position, not performing actual print.
SRP-275II Command Manual ESC e Function: Code: Print and reverse feed n lines. ASCII Hex Decimal ESC 1B 27 e 65 101 n n n Range: 0≤n≤1 Default: None Description: ■ This command feeds the paper by n lines in the reverse direction after printing the data in the print buffer. Remarks: ■ The per-line paper feed amount is based on the value set by the line spacing related commands, ESC 2 and ESC 3. ■ In page mode, this command moves only the print position, not performing actual print.
SRP-275II Command Manual ESC g 0 Function: Code: Range: Define macro ASCII Hex Decimal ESC 1B 27 g 67 103 0 00 0 [ ]k [d1…dm]k [ ]k [d1…dm]k [ ]k [d1…dm]k k ≤ 10 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [(256× nH) + nL ]1 + …..+ [(256× nH) + nL ]k < 0 ≤ d ≤ 255 2Mbit (256KB) Default: None Description: ■ This command defines macro into NV memory such as a logo image. • k denotes the total number of macro to be stored in NV memory.
SRP-275II Command Manual ESC g n Function: Execute macro Code: ASCII Hex Decimal Range: 1 ≤ n ≤ 10 Default: None Description: ■ This command executes macro using the value of n. • n denotes the macro index number that is automatically given to the macro in a downloading order while being ESC 1B 27 g 67 103 n n n defined by ESC g. Remarks: ■ The NV bit image should be defined by ESC g preceding this command. When executing the macro not being defined, this command is ignored.
SRP-275II Command Manual ESC i Function: Code: Partial cut ASCII Hex Decimal ESC 1B 27 i 69 105 Range: None Default: None Description: ■ This command executes a partial cut of the paper with one point left uncut. Remarks: ■ The same partial cut as this command is executed using ESC m and GS V. Differences: ■ This command is effective for the printer equipped with an autocutter. ■ Autocutter operation should be enabled by setting the autocutter control DIP switch.
SRP-275II Command Manual ESC m Function: Code: Partial cut ASCII Hex Decimal ESC 1B 27 m 6D 109 Range: None Default: None Description: ■ This command executes a partial cut of the paper with one point left uncut. Remarks: ■ The same partial cut as this command is executed using ESC i and GS V. Differences: ■ This command is effective for the printer equipped with an autocutter. ■ Autocutter operation should be enabled by setting the autocutter control DIP switch.
SRP-275II Command Manual ESC p Function: Code: Generate pulse ASCII Hex Decimal ESC 1B 27 p 70 112 m m m t1 t1 t1 t2 t2 t2 Range: m = 0, 1, 48, 49 0 ≤ t1 ≤ 255, 0 ≤ t2 ≤ 255 Default: None Description: This command outputs the signals specified with t1 and t2 to the connector pins defined by m. m Connector pin 0, 48 Drawer kick-out connector pin 2 1, 49 Drawer kick-out connector pin 5 Remarks: ■ The ON time is [t1 x 2ms], and the OFF time is as [t2 x 2ms].
SRP-275II Command Manual ESC r Function: Code: Select print color ASCII Hex Decimal ESC 1B 27 r 72 114 n n n Range: n = 0, 1, 48, 49 Default: n=0 Description: ■ This command selects a print color for each line, using n as follows. • When n = 0 or 48, black is selected. • When n=1 or 49, red is selected. Remarks: ■ In standard mode, this command is valid only when processed at the beginning of the line.
SRP-275II Command Manual ESC t Function: Code: Select character code table ASCII Hex Decimal ESC 1B 27 t 74 116 n n n Range: 0 ≤ n ≤ 5, 16 ≤ n ≤ 19, 21 ≤ n ≤ 31, 33 ≤ n ≤ 41, n=255 Default: For model not supporting Thai character: n=0 For model supporting Thai character support : n = 20 Description: This command specifies code page according to the value of n as follows: n Code page 0 Page 0 437 (USA, Standard Europe) 1 Page 1 Katakana 2 Page 2 850 (Multilingual) 3 Page 3 860 (Portuguese) 4 Page 4
SRP-275II Command Manual n 26 27 28 29 30 31 33 34 35 36 37 38 39 Page 26 Page 27 Page 28 Page 29 Page 30 Page 31 Page 33 Page 34 Page 35 Page 36 Page 37 Page 38 Page 39 Code page 1257 (Baltic) Farsi 1251 (Cyrillic) 737 (Greek) 775 (Baltic) Thai14 1255 (Hebrew New code) Thai 11 Thai 18 855 (Cyrillic) 857 (Turkish) 928 (Greek) Thai 16 40 Page 40 1256 41 Page 41 1258 (Vietnam) 255 User Code Page (Space) (Arabic) Remarks: ■ The setting of this command remains effective until ESC !, ESC @, printer r
SRP-275II Command Manual ESC u Function: Code: Transmit peripheral device status ASCII Hex Decimal ESC 1B 27 u 75 117 n n n Range: n = 0, 48 Default: None Description: This command transmits a byte of data with the least significant bit(LSB) specifying the peripheral device status as follows: LSB 0 1 Status of drawer kick-out connector pin 3 Low High Remarks: ■ The peripheral device status can be transmitted using GS r. Differences: None Rev. 1.
SRP-275II Command Manual ESC v Function: Code: Transmit paper sensor status ASCII Hex Decimal ESC 1B 27 v 76 118 Range: None Default: None Description: ■ This command transmits a byte of data specifying the paper sensor status. ■ The status of paper near end and paper end sensors is sent to the host as follows: • When paper near end is detected, 0x03 is transmitted. • When paper end is detected, 0xC is transmitted. Remarks: ■ The paper sensor status can be transmitted using GS r.
SRP-275II Command Manual ESC { Function: Turns upside-down printing mode on/off Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: This command selects/deselects upside-down printing mode according to the least significant bit as follows. LSB Upside-down mode 0 Turned off 1 Turned on Remarks: ■ This command is valid only when entered at the beginning of the line. ESC 1B 27 { 7B 123 n n n ■ The upside-down print mode has no effect in page mode.
SRP-275II Command Manual FS ! Function: Set print mode for Kanji characters Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: This command signifies the print modes such as double-width mode, double-height mode, and underline mode for Kanji characters as follows: Bit 0 1 2 3 4-6 7 Remarks: FS 1C 28 Binary Off Off Off On Off On Off Off On ! 21 33 n n n Hex 00 00 00 04 00 08 00 00 80 Decimal 0 0 0 4 0 8 0 0 128 Status Reserved Reserved Double-width mode is Off Double-width
SRP-275II Command Manual FS & Function: Code: Select Kanji character mode ASCII Hex Decimal FS 1C 28 & 26 38 Range: None Default: None Description: This command sets Kanji character mode. Remarks: ■ This command is available only for the Japanese, Chinese, and Korean models. ■ Kanji codes are comprised of 2 bytes and processed in order of the first and second byte. ■ The setting of this command remains effective until ESC !, ESC @, printer reset, power cycling or FS is executed.
SRP-275II Command Manual FS Function: Code: Turn underline mode on/off for Kanji characters ASCII Hex Decimal FS 1C 28 2D 45 n n n Range: 0 ≤ n ≤ 1, 48 ≤ d ≤ 49 Default: n=0 Description: This command select/deselects underline mode for Kanji characters, based on the following values of n: n Underline mode for Kanji characters 0, 48 Turned off 1, 49 Turned on Remarks: ■ Kanji underline mode can be set using FS !. ■ The settings of this command are valid only for Kanji characters.
SRP-275II Command Manual FS . Function: Code: Cancel Kanji character mode ASCII Hex Decimal FS 1C 28 . 2E 46 Range: None Default: None Description: This command cancels Kanji character mode. Remarks: ■ This command is available only for the Japanese, Chinese, and Korean models. ■ Kanji character mode is enabled using FS &. ■ Once Kanji character mode is canceled, the printer processes a character code as 1-byte code of alphanumeric characters.
SRP-275II Command Manual FS 2 Function: Code: Specify user-defined Kanji characters ASCII Hex Decimal FS 1C 28 2 32 50 c1 c1 c1 c2 c2 c2 d1...dk d1...dk d1...dk Range: c1 = FEH, A1H ≤ c2 ≤ FEH 0 ≤ d ≤ 255 k = 32 Default: None Description: ■ This command defines user-defined Kanji characters for the character codes specified by c1 and c2. • c1 and c2 denote the first and second byte of a character code respectively for a user-defined character. • d indicates 1 byte of defined data.
SRP-275II Command Manual FS p Function: Code: Print NV bit image ASCII Hex Decimal FS 1C 28 p 70 112 n n n m m m Range: 1 ≤ n ≤ 255 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 Default: None Description: This command prints NV bit image n using the mode specified by m as follows: m Mode 0, 48 Normal 1, 49 Double-width 2, 50 Double-height 3, 51 Quadruple Remarks: ■ ■ ■ ■ ■ ■ ■ BS ^ L and BS ^ 7 can be used for printing NV bit image. The NV bit image is defined by FS q.
SRP-275II Command Manual FS q Function: Code: Define NV bit image ASCII Hex Decimal FS 1C 28 q 71 113 n n n [xL xH yL d1...dk]1... [xL xH yL d1...dk]n [xL xH yL d1...dk]1... [xL xH yL d1...dk]n [xL xH yL d1...dk]1... [xL xH yL d1...dk]n Range: 1 ≤ n ≤ 255 1 ≤ (xL + xH ×256) ≤ 1023 (0 ≤ xL ≤ 255, 0 ≤ xH ≤ 3) 1 ≤ (yL + yH ×256) ≤ 288 (0 ≤ yL ≤ 255, yH=0,1) 0 ≤ d ≤ 255 k = (xL + xH × 256) × (yL + yH × 256) × 8 Default: None Description: ■ This command defines the NV bit image in the NV memory.
SRP-275II Command Manual ■ Bit image data and print result ws: d1 d2 dY+1 dY+2 … … . . . MSB LSB MSB dk-2 LSB MSB . . . . . . … dY dY x 2 … dk-1 LSB MSB dk LSB Differences: Rev. 1.00 ■ The capacity of NV memory available is 256KB.
SRP-275II Command Manual FS S Function: Code: Set Kanji character spacing ASCII Hex Decimal FS 1C 28 S 53 83 n1 n1 n1 n2 n2 n2 Range: 0 ≤ n1 ≤ 32, 0 ≤ n2 ≤ 32 Default: n1 = 0, n2 = 0 Description: ■ This command sets left- and right-side spacing for Kanji characters, n1 and n2 respectively. • Left-side character spacing is [n1×horizontal unit]. • Right-side character spacing is [n2×horizontal unit]. Remarks: ■ In a double width mode, the right space will be doubled.
SRP-275II Command Manual FS W Function: Code: Turn quadruple-size mode on/off for Kanji characters ASCII Hex Decimal FS 1C 28 W 57 87 n n n Range: 0≤n≤1 Default: n=0 Description: This command turns quadruple-size mode on or off for Kanji characters, using a least significant bit of n as follows: n 0 1 Quadruple-size mode Turned off Turned on Remarks: ■ FS ! or GS ! can be used to generate the quadruple-size Kanji characters.
SRP-275II Command Manual FS ( L Function: Code: Feeds paper to the cutting position ASCII Hex Decimal FS 1C 28 ( 28 40 L 4C 76 Range: (pL + pH × 256) = 2 (pL = 2, pH = 0) fn = 66 m = 48, 49 Default: None Description: ■ Feeds paper to the cutting position. pL 02 2 pH 00 0 fn 42 66 m m m m Function Fees paper to the next cutting position. 48 • This command is ignored if the current position is located on the cutting position. Feeds paper to the next cutting position.
SRP-275II Command Manual FS ? Function: Code: Cancel user-defined Kanji characters ASCII Hex Decimal FS 1C 28 ? 3F 63 c1 c1 c1 c2 c2 c2 Range: c1 = FEH, A1H ≤ c2 ≤ FEH Default: None Description: ■ This command cancels user-defined Kanji characters for the character codes specified by c1 and c2. • c1 and c2 specify the first and second byte of a character code for a user-defined Kanji character respectively. Remarks: ■ This command is effective only for Chinese model.
SRP-275II Command Manual GS ( A Function: Code: Execute test print ASCII Hex Decimal GS 1D 29 ( 28 40 A 41 65 pL pL pL pH pH pH n n n m m m Range: (pL + pH x 256) = 2 (pL=2, pH=0) 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 1 ≤ m ≤ 3, 49 ≤ m ≤ 51 Default: None Description: ■ This command prints a specified pattern for testing on a roll paper.
SRP-275II Command Manual GS ( E Function: Code: Sets the customized setting values ASCII Hex Decimal GS 1D 29 ( 28 40 E 45 69 pL pL pL pH pH pH fn fn fn a a a nL nL nL nH nH nH Range: a=116, fn=5, (nL + nH ⋅ 256) ≤3400 Default: (nL + nH ⋅ 256) = 0 Description: ■ Sets the customized value specified by a according to the value (nL + nH × 256). • Adjustment value for the cutting position (forward) Remarks: Differences: Rev. 1.
SRP-275II Command Manual GS I Function: Transmits printer ID Code: ASCII Hex Decimal Range: 1 ≤ n ≤ 69 Default: None Description: ■ This command transmits the printer ID or information.
SRP-275II Command Manual Differences: ■ The printer ID is shown according to printer models as follows: Printer ID SRP-275II 1(Printer model ID) 0x0d Type ID varies depending on functions the printer supports as follows: - 0x01 (Multi-byte character) - 0x02 (Autocutter) 2(Type ID) - 0x03 (Autocutter + Multi-byte character) - 0x04 (Customer display) - 0x05 (Multi-byte character + Display) - 0x07 (Customer display + Autocutter + Multi-byte Character) 3(Printer feature ID) 0x64 66(Manufacturer) BIXO
SRP-275II Command Manual GS V Function: Select cut mode and cut paper Code: ① ② ASCII Hex Decimal ASCII Hex Decimal GS 1D 29 GS 1D 29 V 56 86 V 56 86 m m m m m m n n n Range: ① m=0, 1, 48, 49 Default: None Description: This command cuts paper in the specified mode as follows.
SRP-275II Command Manual GS a Function: Enable/Disable Automatic Status Back (ASB) Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: ■ This enables or disables ASB (Automatic Status Back) according to n. • ASB is enabled when n > 0. Remarks: ■ ASB is the function that transmit the printer status such as cover open/close and Online/Offline] continuously at the ■ ■ ■ ■ ■ Rev. 1.
SRP-275II Command Manual ■ The printer information transmitted is comprised of 4 bytes as follows: • First byte(printer information) Bit 0 1 Off/On Hex Decimal Off 00 0 Off 00 0 Off 00 0 2 On 04 4 Off 00 0 3 On 08 8 4 On 10 16 Off 00 0 5 On 20 32 Off 00 0 6 On 40 64 7 Off 00 0 • Second byte(printer information) Bit Off/On Hex Decimal 0 Off 00 0 1 Off 00 0 Off 00 0 2 On 04 4 Off 00 0 3 On 08 8 4 Off 00 0 Off 00 0 5 On 20 32 Off 00 0 6 On 40 64 7 Off 00 0 Function Not used. Fixed to Off Not used.
SRP-275II Command Manual • Third byte (paper sensor information) Bit 0,1 2,3 4 5 6 7 Off/On Off On Off On Off Off Off Off Hex 00 03 00 0C 00 00 00 00 Decimal 0 3 0 12 0 0 0 0 Function Paper near end sensor: paper adequate Paper near end sensor: paper near end Paper end sensor: paper present Paper end sensor: no paper present Not used. Fixed to Off Not used. Fixed to Off Not used. Fixed to Off Not used. Fixed to Off • Fourth byte (paper sensor information) Bit 0 1 2 3 4 5 6 7 Differences: Rev. 1.
SRP-275II Command Manual GS r Function: Code: Transmit status ASCII Hex Decimal GS 1D 29 r 72 114 n n n Range: n=1, 2, 49, 50 Default: None Description: The command transmits the status specified by n as follows: n Function 1, 49 Transmits paper sensor status 2, 50 Transmits drawer kick-out connector status Remarks: ■ The status is one byte.
SRP-275II Command Manual • Drawer kick-out connector status (n=2, 50): Bit 0 1 2 3 4 5 6 7 Off/On Off On Off Off Off Off Off Off Off Hex 00 01 00 00 00 00 00 00 00 Decimal 0 1 0 0 0 0 0 0 0 Function Drawer kick-out connector pin 3 is LOW Drawer kick-out connector pin 3 is HIGH Reserved Reserved Reserved Fixed Reserved Reserved Fixed ■ This command can be executed in real-time mode using DLE. Differences: Rev. 1.