SRP-500 Command Manual Rev. 1.00 http://www.bixolon.
SRP-500 Command Manual ■ Contents 1. Notice...................................................................................................................................................................................................... 3 2. SRP-500 Supported Commands ........................................................................................................................................................... 4 2-1 Command Description Items ................................................
SRP-500 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-500 Command Manual 2. SRP-500 Supported Commands No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 Command EOT ENQ BS ^ E HT LF CR DLE ESC SP ESC ! ESC % ESC & ESC * ESC ESC 2 ESC 3 ESC < ESC = ESC ? ESC @ ESC D ESC E Rev. 1.
SRP-500 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-500 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-500 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 Error
SRP-500 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-500 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-500 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-500 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, not
SRP-500 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-500 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-500 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-500 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-500 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. Msw 3-1 3-2 3-3 3-4 Value Function 48 PDF417 not selected 49 48 49 48 49 48 PDF417 selected DATAMATRIX not selected DATAMATRIX selected MAXI CODE not selected MAXI CODE selected QR CODE not selected 49 QR CODE selected • The printer supports 4 kinds of 2 dimensional bard codes such as PDF417, DATAMATRIX, MAXI code and QR code.
SRP-500 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-500 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-500 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-500 Command Manual ■ The setting items of the memory switch 1 is as follows: Msw 1-6 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 49 49 49 Rev. 1.
SRP-500 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=1 Default: None Description: This command transmits the setting value of the memory switch corresponding to a.
SRP-500 Command Manual BS ^ E pL pH fn nL nH (fn=5) Code: ASCII Hex Decimal BS 08 8 ^ 5E 94 E 45 69 pL 03 3 pH 00 0 fn 05 5 nL nL nL nH nH nH Range: nL + nH × 256 = 2, 4, 5 (nL = 2, 4, 5, nH = 0) fn=5 Default: (nL + nH x 256) = 5 (nL = 5, nH = 0) Description: This command specifies the paper width to be used as follows: (nL + nH x 256) Paper width 2 57.5mm (2.26 inch) 4 69.5 mm (2.74 inch) 5 76 mm (3.
SRP-500 Command Manual BS ^ E pL pH fn a (fn=6) Code: ASCII Hex Decimal BS 08 8 ^ 5E 94 E 45 69 pL 02 2 pH 00 0 fn 06 6 a a a Range: (pL + pH x 256) = 2 (pL = 2, pH = 0) fn = 6 a=3 (nL + nH x 256) = 5 (nL = 5, nH = 0) Default: None Description: The printer transmits to the host the setting value of the paper width.
SRP-500 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-500 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-500 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-500 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 55
SRP-500 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 dat
SRP-500 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-500 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-500 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: None Rev. 1.
SRP-500 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-500 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.122mm(1/208 inch) Rev. 1.
SRP-500 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-500 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-500 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-500 Command Manual Differences: Rev. 1.
SRP-500 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. DPI : Dots per Inch (25.
SRP-500 Command Manual DPI : Dots per Inch (25.4mm) Differences: Rev. 1.
SRP-500 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-500 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-500 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-500 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-500 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-500 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-500 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-500 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-500 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-500 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-500 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-500 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≤7, 9 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-500 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-500 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-500 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-500 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-500 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. Differences: Rev.
SRP-500 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-500 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-500 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-500 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 8
SRP-500 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 res
SRP-500 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-500 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-500 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-500 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-500 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-500 Command Manual Differences: ■ The printer ID is shown according to printer models as follows: Printer ID SRP-500 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) 0x65 66(Manufacturer) BIXOLON
SRP-500 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-500 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-500 Command Manual ■ The printer information transmitted is comprised of 4 bytes as follows: • First byte(printer information) Bit 0 1 2 3 4 5 6 7 Off/On Off Off Off On Off On On Off On Off On Off Hex 00 00 00 04 00 08 10 00 20 00 40 00 Decimal 0 0 0 4 0 8 16 0 32 0 64 0 Function Not used. Fixed to Off Not used. Fixed to Off Drawer kick-out connector pin 3 is LOW Drawer kick-out connector pin 3 is HIGH On-line Off-line Not used.
SRP-500 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-500 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-500 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.
SRP-500 Command Manual BIXOLON Corporation Address: 980-3, Digital Empire Building A, 5F, Yeongtong-dong, Yeongtong-gu, Suwon city, Gyeonggi-do, Korea 443-813 Tel +82 (0) 31 218 5500 Fax +82 (0) 31 218 5589 BIXOLON America Inc. Address: 3171 Fujita St, Torrance, CA 90505 Tel +1 858 764 4580 Fax +1 310 257 6869 BIXOLON Germany GmbH Address: Tiefenbroicher Weg 35 40472 Düsseldorf Tel +49-(0)211-68 78 54-0 Fax +49-(0)211-68 78 54-20 Rev. 1.