SRP-350IIOBE Command Manual Rev. 1.00 http://www.bixolon.
SRP-350IIOBE ■ Contents 1. Notice ........................................................................................................................................................................................................ 3 2. Control Commands List in Alphanumeric Order................................................................................................................................... 4 2-1 Command Description Items ................................................................
SRP-350IIOBE 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-350IIOBE 2. Control Commands List in Alphanumeric Order No.
SRP-350IIOBE No. 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 Command GS B GS H GS I GS L GS V GS W GS ^ GS a GS f GS h GS k GS r GS v 0 GS w BS M 66 BS V 67 BS ^ P Rev. 1.
SRP-350IIOBE 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-350IIOBE 2-2 Details of Control Commands 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: ■ Differences: None Rev. 1.00 The horizontal tab position is set by D.
SRP-350IIOBE 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: ■ Differences: None Rev. 1.00 In page mode, the printer does not perform actual printing, but moving only the print position to the next line.
SRP-350IIOBE FF Function: Code: Form feed (in page mode) ASCII Hex Decimal FF 0C 12 Range: None Default: None Description: This commands prints all data collected in the printer buffer In page mode. After completion of printing, the printer is returned to standard mode.if the printer receive next data then the printer buffer is evacuated. Remarks: ■ ■ Differences: None Rev. 1.00 The printer is returned to standard mode after completion of printing.
SRP-350IIOBE 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. Differences: None Rev. 1.
SRP-350IIOBE CAN Function: Code: Cancel the print data in page mode ASCII Hex Decimal CAN 18 24 Range: None Default: None Description: This command clears the receive buffer and print buffers in page mode. Remarks: ■ Differences: None Rev. 1.00 This command is effective only in page mode that is set by ESC L.
SRP-350IIOBE DLE EOT Function: Code: Transmit real-time status ASCII Hex Decimal Range: 1≤n≤4 Default: None DLE 10 16 EOT 04 4 n n n Description: This command enables commands to be operable in real-time. This command transmits the printer-related status specified by n as follows: n 1 2 3 4 ■ Function Transmit printer status Transmit off-line status Transmit error status Transmit paper roll sensor status Printer transmits the following status n=1: Printer status Bit 0 1 2 3 4 5 Rev. 1.
SRP-350IIOBE Bit 6 7 Binary 0 0 Hex 00 00 Decimal 0 0 Status Not used. Fixed to Off Not used.
SRP-350IIOBE 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.
SRP-350IIOBE DLE DC4 Function: Code: Generate pulse at real-time ASCII Hex Decimal DLE 10 16 DC4 14 20 Range: n = 1, m=0,1, 1 ≤ t ≤ 8 Default: None Description: ■ n n n m m m t t t Output the pulse specified by t to connector pin m as following: m 0 1 Connector pin Drawer kick-out connector pin 2 Drawer kick-out connector pin 5 ■ 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
SRP-350IIOBE 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.141mm(1/180 inch) Rev. 1.
SRP-350IIOBE 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-350IIOBE ESC $ Function: Code: Set absolute print position ASCII Hex Decimal ESC 1B 27 $ 24 36 nL nL nL nH nH nH Range: 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nH ≤ 255, 0 ≤ nL ≤ 255) Default: None Description: This command specifies the next print starting position in reference to the left edge of the print area. The printing start position is calculated using (nL + nH x 256) x (vertical or horizontal motion units). Remarks: ■ ■ ■ Differences: Horizontal motion unit: 0.141mm(1/180 inch) Rev.
SRP-350IIOBE 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 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-350IIOBE ESC & Function: Code: Define user-defined character set ASCII Hex Decimal ESC 1B 27 Range: y=3 32 ≤ c1 ≤ c2 ≤ 126 0 ≤ x ≤ 12 (Font A) 0 ≤ x ≤ 9 (Font B) 0 ≤ d ≤ 255 k = c2 – c1 + 1 Default: None Description: ■ Rev. 1.00 & 26 38 y c1 c2 [x1 d1 ... d(yⅹx1)]... [xk d1 ... d(yⅹxk)] y c1 c2 [x1 d1 ... d(yⅹx1)]... [xk d1 ... d(yⅹxk)] y c1 c2 [x1 d1 ... d(yⅹx1)]... [xk d1 ...
SRP-350IIOBE Remarks: Alphanumeric characters (20H (decimal 32) to 7EH (decimal 126)) are definable. Once user defined characters are defined, they remain available until they are redefined; ESC ? or ESC @ is executed; the printer is reset. ■ The following shows the relationship between the definition data and printing result with downloaded character consisting of 9x7 dots. ■ ■ MSB d1 d3 d5 d7 d9 d11 d13 LSB MSB d2 d4 d6 d8 d10 d12 d14 LSB Differences: Rev. 1.
SRP-350IIOBE ESC * Function: Code: Specify bit image mode ASCII Hex Decimal ESC 1B 27 * 2A 42 m m m nL nL nL nH nH nH Range: m = 0, 1, 32, 33 0 ≤ nL ≤ 255 0 ≤ nH ≤ 3 0 ≤ d ≤ 255 k = nL + nH × 256 [in case of m = 0, 1] k = (nL + nH × 256) × 3 [in case of m = 32, 33] Default: None 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.
SRP-350IIOBE ESC – Function: Code: Turn underline mode on/off ASCII Hex Decimal ESC 1B 27 Range: 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Default: n=0 Description: ■ n n n This command enables the print data following it to be printer out underlined. • The underline mode varied depending on the following values of n: n 0,48 1,49 2,50 Remarks: ■ Differences: None Rev. 1.
SRP-350IIOBE 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: ■ ■ Differences: Default line spacing: 4.23 mm (30 dots) Rev. 1.00 The line spacing can be set independently in standard mode and in page mode.
SRP-350IIOBE 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: ■ Remarks: ■ ■ Differences: Vertical or horizontal motion unit and maximum line spacing settable: ESC 1B 27 n n n This command sets the line spacing using a following rule. • Line spacing = n x (vertical or horizontal motion units) With standard mode selected, the vertical motion unit is used.
SRP-350IIOBE 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 1 2 3 Remarks: ■ Differences: None Rev. 1.00 Function Enables the printer Disables the printer Enables the printer The printer discards all of the received data commands with the exception of ESC = and real-time commands while being disabled.
SRP-350IIOBE 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: ■ ■ Differences: None Rev. 1.00 ESC 1B 27 ? 3F 63 n n n 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.
SRP-350IIOBE 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: ■ ■ ■ ■ ■ Differences: None Rev. 1.00 The data in the printer buffer is cleared. The data in the receive buffer is not discarded. All of the settings such as print mode and line feed are cleared.
SRP-350IIOBE 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: ■ Remarks: ■ ■ ■ ■ Differences: None Rev. 1.00 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-350IIOBE 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. Differences: None Rev. 1.
SRP-350IIOBE 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. Differences: None Rev.
SRP-350IIOBE 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: ■ ■ ■ Differences: Vertical motion unit and maximum feed amount: ESC 1B 27 n n n The maximum feed amount available varies depending on the printer model. With standard mode selected, the vertical motion unit is used.
SRP-350IIOBE ESC L Function: Code: Select page mode ASCII Hex Decimal ESC 1B 27 L 4C 76 Range: None Default: None Description: This command switches from standard mode to page mode. Remarks: ■ Differences: None Rev. 1.00 For printing in page mode, ESC T defines the print direction and starting position that is within the print area specified by ESC W. ■ The conditions by the following commands are defined independently in standard mode and page mode.
SRP-350IIOBE ESC M Function: Code: Select character font ASCII Hex Decimal ESC 1B 27 M 4D 77 n n n Range: n = 0, 1, 48, 49 Default: n=0 Description: This command selects only-byte character fonts using n as following. n 0, 48 1, 49 Remarks: ■ ■ Differences: None Rev. 1.00 Function Character font A selected Character font B selected The printer model has it own configuration of Font A and B.
SRP-350IIOBE ESC R Function: Specify international character set Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 13 Default: n=0 Description: This command specifies international characters according to n values. n 0 1 2 3 4 5 6 Remarks: ■ Differences: None Rev. 1.00 ESC 1B 27 R 52 82 n n n Character set U.S.A France Germany U.
SRP-350IIOBE ESC S Function: Code: Select standard mode ASCII Hex Decimal ESC 1B 27 S 53 83 Range: None Default: None Description: This command enables standard mode. Remarks: ■ ■ Differences: None Rev. 1.00 The data in the printer buffer is cleared and the setting by ESC W returns to the default. The conditions by the following commands are defined independently in standard mode and page mode. • ESC SP, ESC 2, and ESC 3 ■ In standard mode, CAN and GS $ are ignored.
SRP-350IIOBE ESC T Function: Code: Select print direction in page mode ASCII Hex Decimal ESC 1B 27 T 54 84 n n n Range: 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 Default: n=0 Description: This command selects the print direction and starting position in page mode. n 0,48 1,49 2,50 3,51 Remarks: ■ ■ Differences: None Rev. 1.
SRP-350IIOBE ESC V Function: Code: Turn 90°clockwise rotation mode on/off ASCII Hex Decimal ESC 1B 27 Range: 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Default: n=0 Description: ■ Remarks: ■ Differences: None Rev. 1.00 V 56 86 n n n This command turns 90° clockwise rotation mode on/off in standard mode according to the value of n as following • When the value of n is equal to 0 or 48, 90°clockwise rotation mode is turned off.
SRP-350IIOBE ESC W Function: Set print area in page mode Code: ASCII Hex Decimal ESC 1B 27 W 57 87 xL xL xL xH xH xH yL yL yL yH yH yH Range: 0 ≤ (xL + xH x 256) ≤ 65535 (0 ≤ xL ≤ 255, 0 ≤ xH ≤ 255) 0 ≤ (yL + yH x 256) ≤ 65535 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 255) 1 ≤ (dxL + dxH x 256) ≤ 65535 (0 ≤ dxL ≤ 255, 0 ≤ dxH ≤ 255) 1 ≤ (dyL + dyH x 256) ≤ 65535 (0 ≤ dyL ≤ 255, 0 ≤ dyH ≤ 255) Default: • Description: ■ Rev. 1.
SRP-350IIOBE Remarks: ■ ■ ■ ■ ■ Differences: The horizontal and vertical starting positions are out of the printable area, this command is canceled and the following data is processed as normal data. If (Horizontal starting position + Horizontal printing area width) is beyond the printable area, the Horizontal printing area width is set to (Horizontal printing area - Horizontal starting position).
SRP-350IIOBE ESC \ Function: Code: Set relative print position ASCII Hex Decimal ESC 1B 27 \ 5C 92 nL nL nL nH nH nH Range: 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL 255, 0 ≤ nH ≤ 255) Default: None Description: ■ Remarks: ■ ■ ■ ■ Differences: None Rev. 1.00 This command sets the print starting position based on the current position to [(nL + nH × 256) × horizontal or vertical motion unit].
SRP-350IIOBE 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 0, 48 1, 49 2, 50 Remarks: ■ Differences: None Rev. 1.00 Alignment Left alignment Center alignment Right alignment This command is not effective in page mode.
SRP-350IIOBE 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: ■ ■ ■ Differences: None Rev. 1.00 ESC 1B 27 d 64 100 n n n 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-350IIOBE 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-350IIOBE 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-350IIOBE 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 0, 48 1, 49 Remarks: ■ Differences: None Rev. 1.00 Connector pin Drawer kick-out connector pin 2 Drawer kick-out connector pin 5 The ON time is [t1 x 2ms], and the OFF time is as [t2 x 2ms].
SRP-350IIOBE 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 0 1 2 3 4 5 16 17 18 19 21 22 23 24 25 Rev. 1.
SRP-350IIOBE 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 40 Page 40 1256 41 Page 41 1258 (Vietnam) 42 Page 42 Khmer (Cambodia) 47 Page 47 1250 (Czech) 255 User Code Page (Space) Remarks: ■ Differences: None Rev. 1.
SRP-350IIOBE 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-350IIOBE 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 0 1 Remarks : ESC 1B 27 { 7B 123 n n n Upside-down mode Turned off Turned on This command is valid only when entered at the beginning of the line. ■ The upside-down print mode has no effect in page mode.
SRP-350IIOBE 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 0, 48 1, 49 2, 50 3, 51 Remarks: Rev. 1.00 ■ ■ ■ ■ ■ ■ ■ Mode Normal Double-width Double-height Quadruple GS ( L and GS ( 8 can be used for printing NV bit image. The NV bit image is defined by FS q.
SRP-350IIOBE Differences: Mode Normal Double-width Double-height Quadruple Rev. 1.00 Vertical Dot Density (DPI) 180 180 90 90 DPI : Dots per Inch (25.
SRP-350IIOBE 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-350IIOBE ■ During the execution of this command, paper feed button, LSB and real time functions will not operate. • Bit image data and print result are as follows: 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 area is 256KB.
SRP-350IIOBE GS ! Function: Code: Select character size ASCII Hex Decimal GS 1D 29 ! 21 33 n n n Range: 0 ≤ n ≤ 255 (1 ≤ Vertical enlargement ≤ 8, 1 ≤ Horizontal enlargement ≤ 8) Default: n=0 Description: ■ This command selects the character height and width using bits 0 to 3, and bits 4 to 7 respectively as follows: Bit 0 1 2 3 4 5 6 7 Rev. 1.
SRP-350IIOBE • Table 1 [Enlarged in horizontal direction] Hex Decimal Enlargement 00 0 1 time (standard) 10 16 2 times 20 32 3 times 30 48 4 times 40 64 5 times 50 80 6 times 60 96 7 times 70 112 8 times • Table 2 [Enlarged in vertical direction] Hex Decimal Enlargement 00 0 1 time (standard) 01 1 2 times 02 2 3 times 03 3 4 times 04 4 5 times 05 5 6 times 06 6 7 times 07 7 8 times Remarks: ■ Differences: None Rev. 1.
SRP-350IIOBE GS $ Function: Code: Set absolute vertical print position in page mode ASCII Hex Decimal GS 1D 29 $ 24 36 nL nL nL nH nH nH Range: 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255) Default: None Description: This command sets the absolute vertical print starting position to [(nL + nH × 256) × (vertical or horizontal motion unit)]. Remarks: ■ ■ Differences: None Rev. 1.00 This command is activated only in page mode and ignored in standard mode.
SRP-350IIOBE GS ( A Function: Code: Execute test print ASCII Hex Decima GS 1D 29 ( 28 40 A 41 65 Range: (pL + pH x 256) = 2 (pL=2, pH=0) 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 1 ≤ m ≤ 2, 49 ≤ m ≤ 50 Default: None Description: ■ Remarks: ■ ■ Differences: None Rev. 1.00 pL pL pL pH pH pH n n n m m m This command prints a specified pattern for testing on a roll paper.
SRP-350IIOBE GS ( E Function: Code: Set NV user memory area ASCII Hex Decimal GS 1D 29 ( 28 40 E 45 69 pL pL pL pH pH pH fn fn fn [parameter] [parameter] [parameter] 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-350IIOBE GS ( E pL pH fn d1 d2 (fn=1) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 E 45 69 pL pL pL pH pH pH fn fn fn d1 d1 d1 d2 d2 d2 Range: (pL + pH x 256) = 1 fn=1 d1=73, d2=78 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] Header Flag NUL Remarks: ■ ■ Differences: None Rev. 1.
SRP-350IIOBE GS ( E pL pH fn d1 d2 d3 (fn=2) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 E 45 69 pL pL pL pH pH pH fn fn fn d1 d1 d1 d2 d2 d2 d3 d3 d3 Range: (pL + pH x 256) = 1 (pL=1, pH=0) fn=2 d1=79, d2=85, d3=84 Default: None Description: This command terminates the user setting mode and performs a software reset. Remarks: ■ ■ ■ Differences: None Rev. 1.00 This command activates setting items set in the user setting mode.
SRP-350IIOBE GS ( E pL pH fn [a1 b18...b11]...[ak bk8...bk1] (fn=3) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 E 45 69 Range: 10≤ (pL + pH x 256) ≤ 65535 fn=3 a=1,2,3,4,5,6,11,12 b=48, 49, 50 Default: All switches are set to Off(b = 48) Description: ■ pL pL pL pH pH pH fn fn fn [a1 b18...b11]... [ak bk8...bk1] [a1 b18...b11]... [ak bk8...bk1] [a1 b18...b11]... [ak bk8...
SRP-350IIOBE ■ The setting items of the memory switch 2 are as follows: Msw Value Function 48 Specification for Destination: Single byte country 2-1 49 Specification for Destination: Double byte country Code page selection using the memory switch 2-3 through 2-8.
SRP-350IIOBE Msw2-8 49 49 49 49 49 49 48 Msw2-7 49 49 49 49 49 49 48 Msw2-6 48 48 49 49 49 49 49 Msw2-5 49 49 48 48 49 49 48 Msw2-4 48 49 48 49 48 49 48 Msw2-3 48 48 48 48 48 48 49 Character Table PC857 PC928 Thai 16 WPC1256 WPC1258 Khmer WPC1250 The setting items of the memory switch 3 are as follows: Specify the emulations to be enabled using the memory switch 3-1 through 3-3 Remark Msw3-3 Msw3-2 Msw3-1 Emulation seletion 48 48 48 Emulation 1 ( default ) 48 48 49 Emulation 2 48 49 48 Emulation 3 4
SRP-350IIOBE ■ The setting items of the memory switch 6 are as follows: Msw Value Function 48 Auto internal buzzer after cutting disable 6-1 49 Auto internal buzzer after cutting enable 48 Auto internal buzzer option 3 times 6-2 49 Auto internal buzzer option 1 times 48 Auto internal buzzer with cash drawer disable 6-3 49 Auto internal buzzer with cash drawer enable 48 Auto external buzzer after cutting disable 6-4 49 Auto external buzzer after cutting enable 6-5~8 48 Reserved 48 Parallel reset signal(IF P
SRP-350IIOBE GS ( E pL pH fn a (fn=4) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 E 45 69 pL 02 2 pH 00 0 fn 04 4 a a a Range: pL + pH x 256) = 2 (pL=2, pH=0) fn=4 a=1,2,3,4,5,6,11,12 Default: None Description: This command transmits the setting value of the memory switch corresponding to a.
SRP-350IIOBE GS ( L, GS 8 L Function: Code: Select graphics data ASCII Hex Decimal GS 1D 29 ( 28 40 L 4C 76 pL pL pL pH pH pH m m m fn fn fn ASCII Hex Decimal GS 1D 29 8 38 56 L 4C 76 p1 p1 p1 p2 p2 p2 p3 p3 p3 p4 p4 p4 [parameter] [parameter] [parameter] m m m Range: None Default: None Description: This command processes graphics data according to the function code (fn). Rev. 1.00 fn 0, 48 2, 50 No.
SRP-350IIOBE Remarks: ■ ■ ■ Differences: None Rev. 1.00 This command is adapted to print image data. pL, pH specifies the number of bytes following pH using (pL + pH x 256). Since frequent writing operation could cause the damage to the NV memory, it is recommended to write only when being required. ■ While storing data by this command, the printer is in BUSY state where receiving of data is not available. Therefore, it is not recommended to send data during this process.
SRP-350IIOBE GS ( L pL pH m fn (fn=0, 48) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 L 4C 76 pL pL pL pH pH pH m m m fn fn fn Range: (pL + pH x 256) = 1 (pL=2, pH=0) m=48 fn=0, 48 Default: None Description: Tramsmits the total capacityu of the NV bit-image momory (number of bytes in the memory area). Remarks: Header Identifier Setting value NUL ■ ■ ■ Differences: Rev. 1.
SRP-350IIOBE GS ( L pL pH m fn (fn=2, 50) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 L 4C 76 pL pL pL pH pH pH m m m fn fn fn Range: (pL + pH x 256) = 1 (pL=2, pH=0) m=48 fn=2, 50 Default: None Description: This command prints the graphics data defined by the process of Function 112. Remarks: ■ ■ ■ ■ Differences: None Rev. 1.00 The graphics data stored in the printer buffer is printed. This command is available in standard mode, not in page mode.
SRP-350IIOBE GS ( L pL pH m fn (fn=3, 51) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 L 4C 76 pL pL pL pH pH pH m m m fn fn fn Range: (pL + pH x 256) = 2 m=48 fn=3, 51 Default: None Description: This command transmits the setting value of the memory switch corresponding to a.
SRP-350IIOBE GS ( L pL pH m fn d1 d2 (fn=64) Code: ASCII Hex Decimal GS 1D 29 Range: (pL + pH x 256) = 4 m=48 fn=64 d1=75, d2=67 Default: None Description: ■ pL pL pL pH pH pH m m m fn fn fn d1 d1 d1 d2 d2 d2 (pL=4, pH=0) Hexadecimal 37H 72H 40H or 41H 30H – 39H 00H Decimal 55 114 64 or 65 48 - 57 0 Amount of Data 1 byte 1 byte 1 byte 2 - 80 bytes 1 byte Decimal 55 114 64 0 Amount of Data 1 byte 1 byte 1 byte 1 byte When the key code is not present : Header Flag Status N
SRP-350IIOBE Remarks: If the number of the key code exceed 40, the key code is transmitted dividing up to 40. - The status if the continuous transmission data block is present is 41H. - The status if the continuous transmission data block is not present is 40H. ■ After the [Header-NULL] is transmitted, the printer receives a response from the hosg; then it performs the process defined by the response.(See the tables below.
SRP-350IIOBE GS ( L pL pH m fn d1 d2 d3 (fn=65) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 L 4C 76 pL pL pL pH pH pH Range: (pL + pH x 256) = 5 (pL=5, pH=0) fn=65 d1=67, d2=76, d3=82 Default: None Description: This command removes all defined NV graphics data. Remarks: ■ Differences: None Rev. 1.00 m m m fn fn fn d1 d1 d1 d2 d2 d2 d3 d3 d3 The graphics data is define by Function 67 into the NV graphics memory with the sector dedicated for storing NV graphics data.
SRP-350IIOBE GS ( L pL pH m fn kc1 kc2 (fn=66) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 L 4C 76 pL pL pL pH pH pH m m m fn fn fn Range: (pL + pH x 256) = 4 (pL=4, pH=0) m=48 fn=66 32 ≤ kc1 ≤ 126 32 ≤ kc2 ≤ 126 Default: None Description: Deletes the NV graphics data defined by the codes kc1 and kc2. Remarks: ■ Differences: None Rev. 1.00 kc kc1 kc1 kc2 kc2 kc2 The graphics data is define by Function 67.
SRP-350IIOBE GS ( L pL pH m fn kc1 kc2 b xL xH yL yH [cd1…dk]1…[c d1…dk]b (fn=67) Code: Range: ASCII Hex Decimal GS 1D 29 ( 28 40 L 4C 76 pL pL pL pH pH pH m m m fn fn fn kc1 kc2 b xL xH yL yH [cd1…dk]1…[c d1…dk]b kc1 kc2 b xL xH yL yH [cd1…dk]1…[c d1…dk]b kc1 kc2 b xL xH yL yH [cd1…dk]1…[c d1…dk]b GS ( L parameter 3 ≤ (pL + pL x 256) ≤ 65535 (0≤pL≤255, 0≤ pH≤255) GS ( 8 parameter 3 ≤ (p1 + p2 x 256) +p3 x 65535+p4 x 16777216) ≤ 4294967295 (0 ≤ p1L ≤ 255, 0 ≤ p2 ≤ 255, 0 ≤ p3 ≤ 255
SRP-350IIOBE Description : ■ Remarks : ■ Differences: None Rev. 1.00 The following parameters are used to define the raster graphics data. • b specifies the number of colors for the defined data. • xL and xH specify the number of dots in horizontal direction to (xL + xH x 256). • yL and yH specify the number of dots in horizontal direction to (yL + yH x 256) dots.
SRP-350IIOBE GS ( L pL pH m fn kc1 kc2 x y (fn=69) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 L 4C 76 pL pL pL pH pH pH m m m fn fn fn kc1 kc1 kc1 kc2 kc2 kc2 Range: (pL + pH x 256) = 6 (pL=6, pH=0) m=48, fn=69 32 ≤ kc1 ≤ 126 32 ≤ kc2 ≤ 126 x=1, 2 y=1, 2 Default: None Description: ■ Prints the NV graphics data defined by the codes kc1 and kc2. • The graphics data is enlarged by x and y in the horizontal and vertical directions.
SRP-350IIOBE GS ( L pL pH m fn a bx by c xL xH yL yH d1…dk (fn=112) Code: Range: ASCII Hex Decimal GS 1D 29 ( 28 40 L 4C 76 pL pL pL pH pH pH m m m fn fn fn a bx by c xL xH yL yH d1…dk a bx by c xL xH yL yH d1…dk a bx by c xL xH yL yH d1…dk GS ( L parameter 11 ≤ (pL + pL x 256) ≤ 65535 (0≤pL≤255, 0≤ pH≤255) GS 8 L parameter 11 ≤ (p1 + p2 x 256) +p3 x 65535+p4 x 16777216) ≤ 4294967295 (0 ≤ p1L ≤ 255, 0 ≤ p2 ≤ 255, 0 ≤ p3 ≤ 255, 0 ≤ p4 ≤ 255) Common parameter m=48 fn=112 a=48 c=49 -
SRP-350IIOBE Description: ■ This command stores the raster graphics data in the print buffer, enlarged by bx and by in the horizontal and vertical directions. • xL, xH specifies the raster graphics data in the horizontal directionas (xL + xH x 256) dots. • yL, yH specifies the raster graphics data in the vertical direction to (yL + yH x 256) dots. • d denotes the stored data(raster format). • k denotes the number of the graphics data. • c specifies the color of the defined data.
SRP-350IIOBE GS ( k Function: Specify and print the symbol Code: None Range: None Default: None Description: ■ This command processes the data concerning two-dimensional code. • Symbol type is specified by cn. • Function code is specified by fn. cn 48 49 cn 48 Rev. 1.
SRP-350IIOBE cn fn 65 67 69 Function 165 Function 167 Function 169 80 Function 180 81 Function 181 82 Function 182 49 Remarks: PDF417 symbol data (when cn=48) ■ ■ ■ ■ ■ Rev. 1.
SRP-350IIOBE QRCODE Symbol Data (cn = 49) The symbol data is defined, stored to the symbol storage area by Function 180 and printed by the specification of Function 181. The symbol data in the area remains reserved until the following processes are executed: • Performing Function 180 • Performing ESC @ • Performing the printer reset and power-off ■ The setting values of Functions 165 to 169 are utilized for the processing of Function 180 or 182.
SRP-350IIOBE GS ( k pL pH cn fn n (fn=65) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48, fn=65 0 ≤ n ≤ 30 Default: n=0 Description: ■ Remarks: ■ ■ ■ Differences: None Rev. 1.00 pL 03 3 pH 00 0 cn 30 48 fn 41 65 n n n This command specifies the number of columns in the data area of PDF417. • When n=0, automatic processing is set • When n is not 0, the number of columns of the data area is set to n code word.
SRP-350IIOBE GS ( k pL pH cn fn n (fn=66) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48, fn=66 n=0, 3 ≤ n ≤ 90 Default: n=0 Description: ■ Remarks: ■ ■ ■ Differences: None Rev. 1.00 pL 03 3 pH 00 0 cn 30 48 fn 42 66 n n n This command specifies the number of rows in the data area of PDF417. • When n=0, automatic processing is set • When n is not 0, the number of rows is set to n rows.
SRP-350IIOBE GS ( k pL pH cn fn n (fn=67) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL 03 3 pH 00 0 cn 30 48 fn 43 67 n n n Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48 fn=67 1≤n≤4 Default: n=3 Description: This command sets the width of the module of PDF417 symbol to n dots. Remarks: ■ ■ ■ Settings of this command affect the processing of Functions 081 and 082. The setting unit for printer models varies.
SRP-350IIOBE GS ( k pL pH cn fn n (fn=68) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL 03 3 pH 00 0 cn 30 48 fn 44 68 n n n Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48 fn=68 2≤n≤8 Default: n=3 Description: This command sets the module height of PDF417 to [the module width x n]. Remarks: ■ ■ Differences: None Rev. 1.00 Settings of this command affect the processing of Functions 081 and 082.
SRP-350IIOBE GS ( k pL pH cn fn m n (fn=69) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 Range: (pL + pH x 256) = 4 (pL=4, pH=0) cn=48 fn=69 m=48 48 ≤ n ≤ 56 Default: None Description: ■ Remarks: ■ ■ Differences: None Rev. 1.00 pL 04 4 pH 00 0 cn 30 48 fn 45 69 m m m n n n This command specifies the error correction level for PDF417. • The error correction level is set by “level”. Settings of this function affect the processing of Functions 081 and 082.
SRP-350IIOBE GS ( k pL pH cn fn m (fn=70) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL 03 3 pH 00 0 Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48 fn=70 m=0,1 Default: m=0 Description: This command selects the option for PDF417. m 0 1 Remarks: ■ ■ ■ Differences: None Rev. 1.00 cn 30 48 fn 46 70 m m m Function Select the standard PDF417 Select the simplified PDF417 Settings of this function affect the processing of Functions 081 and 082.
SRP-350IIOBE GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL pL pL pH pH pH cn 30 48 fn 50 80 m 30 48 d1...dk d1...dk d1...dk Range: 4 ≤ (pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255) cn=48 fn=80 m=48 0 ≤ d ≤ 255 k = (pL + pH x 256) – 3 Default: None Description: This command stores the PDF417 symbol data (d1...dk) in the symbol storage area. Remarks: ■ ■ Differences: None Rev. 1.
SRP-350IIOBE GS ( k pL pH cn fn m (fn=81) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL 03 3 pH 00 0 cn 30 48 fn 51 81 m m m Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48 fn=81 m=48 Default: None Description: This command encodes and prints the PDF417 symbol data in the symbol save area. Remarks: ■ Rev. 1.00 In standard mode, this command is available only when printer is at the beginning of a line or the printer buffer is empty.
SRP-350IIOBE ■ ■ ■ ■ ■ ■ ■ Differences: Rev. 1.00 The data area includes the following codewords: • Data specified by Function 080. • The descriptor of symbol length (the first code word in the data area). • The error correction code word calculated by modulus 929. • Pad codeword.
SRP-350IIOBE GS ( k pL pH cn fn m (fn=82) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL 03 3 pH 00 0 cn 30 48 fn 52 82 m m m Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48 fn=82 m=48 Default: None Description: This command encodes and sends the size information of the PDF417 symbol data in the symbol storage area. Remarks: ■ Rev. 1.00 In standard mode, this command is available only when printer is at the beginning of a line or the printer buffer is empty.
SRP-350IIOBE The following data indicates whether or not printing of the symbol is possible: Hex Decimal Condition 30H 48 Printing is possible 31H 49 Printing is impossible ■ The quiet zone is not included in the printing data. Be sure to include the adequate quiet zone for executing of this command. ■ Differences: Rev. 1.
SRP-350IIOBE GS ( k pL pH cn fn n1 n2 (fn=65) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL 04 4 pH 00 0 Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=65 n1 = 49, 50 n2 =0 Default: n1 = 50, n2 = 0 Description: This command sets the QR Code model as follows: n1 49 50 Remarks: ■ ■ Differences: None Rev. 1.00 cn 31 49 fn 41 65 n1 n1 n1 n2 n2 n2 Function Model 1 Model 2 The setting of this command affects and .
SRP-350IIOBE GS ( k pL pH cn fn n (fn=67) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL 03 3 pH 00 0 cn 31 49 fn 43 67 Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=67 1<=n<8 Default: n=3 Description: This command sets the size of the QR Code module to n dots. Remarks: ■ ■ ■ Differences: None Rev. 1.00 n n n The setting of this command affects the processing of and .
SRP-350IIOBE GS ( k pL pH cn fn n (fn=69) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL 03 3 pH 00 0 cn 31 49 fn 45 69 Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=69 48≤n≤51 Default: n = 48 Description: This command sets the error correction level for QR Code. n 48 49 50 51 Remarks: ■ ■ ■ Differences: None Rev. 1.
SRP-350IIOBE GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL pL pL pH pH pH cn 31 49 fn 50 80 m 30 48 Range: 4 ≤ (pL + pH x 256) ≤7092 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 27) cn=49 fn=80 m=48 0 ≤ d ≤ 255 k = (pL + pH x 256) – 3 Default: None Description: This command saves symbol data of the QR Code to the symbol storage area. Remarks: ■ d1...dk d1...dk d1...
SRP-350IIOBE GS ( k pL pH cn fn m (fn=81) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL 03 3 pH 00 0 cn 31 49 fn 51 81 m m m Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=81 m=48 Default: None Description: This command encodes and prints QR Code symbol data saved in the symbol storage area. Remarks: ■ Rev. 1.00 In standard mode, this command is available only when printer is at the beginning of a line or the printer buffer is empty.
SRP-350IIOBE The following data is automatically added by the encoding processing: • Position sensor pattern • Segregator for the position sensor pattern • Timing pattern • Format information • Version information • Error correction code text • Pad code text • Indicator for counting bits of bytes • Mode indicator • Concluder • Queue pattern (when model 2 is selected) • Expansion pattern (when model 1 is selected) ■ Except for character size and upside-down printing mode, none of print mode such as emphasize
SRP-350IIOBE GS ( k pL pH cn fn m (fn=82) Code: ASCII Hex Decimal GS 1D 29 ( 28 40 k 6B 107 pL 03 3 pH 00 0 cn 31 49 fn 52 82 m m m Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=82 m=48 Default: None Description: This command transmits the size information of the QR Code symbol data encoded by Function 180. Remarks: ■ In standard mode, this command is available only when printer is at the beginning of a line or the printer buffer is empty.
SRP-350IIOBE ■ The following data indicates whether or not printing of the symbol is possible: Hex 30H 31H ■ Differences: Rev. 1.00 Decimal 48 49 Condition Printing is possible Printing is impossible The quiet zone is not included in size information.
SRP-350IIOBE GS * Function: Code: Define downloaded bit image ASCII Hex Decimal GS 1D 29 * 2A 42 x x x y y y [d1...d(x x y x 8)] [d1...d(x x y x 8)] [d1...d(x x y x 8)] Range: 1 ≤ x ≤ 255 1 ≤ y ≤ 48 (where x x y ≤ 1536) 0 ≤ d ≤ 255 Default: None Description: ■ This command defines the downloaded bit image using the number of dots specified by x and y. • x and y specify the number of dots in the horizontal and vertical directions respectively. • D defines the bit image data.
SRP-350IIOBE GS / Function: Code: Print downloaded bit image ASCII Hex Decimal GS 1D 29 / 2F 47 m m m Range: 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 Default: None Description: This command prints the downloaded bit image defined by GS * according to the mode denoted by m. DPI : Dots per Inch (25.4mm) m Mode Vertical dot density(DPI) Horizontal dot density(DPI) 0, 48 Normal 180 180 1, 49 Double-width 180 90 2, 50 Double-height 90 180 3, 51 Quadruple 90 90 Remarks: ■ ■ ■ Rev. 1.
SRP-350IIOBE Differences: m 0, 48 1, 49 2, 50 3, 51 Rev. 1.00 Mode Normal Double-width Double-height Quadruple Vertical dot density(DPI) 180 180 90 90 BIXOLON DPI : Dots per Inch (25.
SRP-350IIOBE GS : Function: Code: Start/end macro definition ASCII Hex Decimal GS 1D 29 : 3A 58 Range: None Default: None Description: ■ This command starts or ends macro definition. Remarks: ■ The printer starts macro definition during normal operation and finishes it during macro definition upon receiving this command. The printer performs printing during macro definition. The macro is executed by GS ^. The maximum number of macro data to be defined varies with respect to printer models.
SRP-350IIOBE GS B Function: Turns white/black reverse printing mode on / off Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: ■ This command selects white/black reverse printing mode by setting the least significant bit of n. • When the LSB of n is 0, white/black reverse mode is turned off. • When the LSB of n is 1, white/black reverse mode is turned on. Remarks: ■ ■ ■ ■ This command does not affect multi-byte characters such as Kanji, Japanese and Korean.
SRP-350IIOBE GS H Function: Code: Selects print position of HRI characters ASCII Hex Decimal GS 1D 29 Range: 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 Default: n=0 Description: ■ n n n This command selects the printing position of HRI (Human Readable Interpretation) characters when printing a bar code. • The printing position is set according to the value of as follows: n 0, 48 1, 49 2, 50 3, 51 Remarks: ■ ■ Differences: None Rev. 1.
SRP-350IIOBE GS I Function: Transmits printer ID Code: ASCII Hex Decimal Range: 1 ≤ n ≤ 69 Default: None Description: ■ Remarks: ■ Rev. 1.00 GS 1D 29 I 49 73 n n n This command transmits the printer ID or information.
SRP-350IIOBE Differences: ■ The printer ID is shown according to printer models as follows: Printer ID SRP-350IIOBE 1(Printer model ID) 0x20 Type ID varies depending on functions the printer supports as follows: 2(Type ID) - 0x01 (Multi-byte character) - 0x02 (Autocutter) - 0x03 (Autocutter + Multi-byte character) 3(Printer feature ID) 0x63(when 3inch),0x62(when 2inch) 65(Firmware Version) Depend on firmware version information 66(Manufacturer) BIXOLON 67(Printer model) SRP-350IIOBE 69(Langu
SRP-350IIOBE GS L Function: Code: Set left margin ASCII Hex Decimal GS 1D 29 L 4C 76 nL nL nL nH nH nH Range: 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Default: (nL + nH x 256)=0 (nL=0, nH=0) Description: This command sets the left margin specified to [(nL + nH x 256) x (horizontal motion units)]. Remarks: ■ The left margin is not effective in page mode. If the left margin is enabled in page mode, the setting is available when the printer returns to standard mode.
SRP-350IIOBE 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 ② m=65, 66, 0 ≤ n ≤ 255 Range: ① m=0, 1, 48, 49 Default: None Description: This command cuts paper in the specified mode as follows.
SRP-350IIOBE GS W Function: Code: Set printing area width ASCII Hex Decimal GS 1D 29 W 57 87 nL nL nL nH nH nH Range: 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Default: (nL + nH x 256)=512 (nL=0, nH=2) Description: This command sets the printing area width to [(nL + nH x 256) x (horizontal motion units)]. Remarks: ■ (When 80mm width of paper used) The printing area width is not effective in page mode.
SRP-350IIOBE GS ^ Function: Execute macro Code: ASCII Hex Decimal Range: 0 ≤ r ≤ 255 0 ≤ t ≤ 255 m=0, 1 Default: None Description: ■ ^ 5E 94 r r r t t t m m m This command executes a macro using parameters as following: • r specifies the number of times to execute the macro. • t specifies the waiting time before the macro is executed. • m specifies macro executing mode as shown below. m 0 1 Remarks: ■ ■ ■ Differences: None Rev. 1.
SRP-350IIOBE GS a Function: Enable/Disable Automatic Status Back (ASB) Code: ASCII Hex Decimal Range: 0 ≤ n ≤ 255 Default: n=0 Description: ■ Remarks: ■ ASB Rev. 1.00 GS 1D 29 a 61 97 n n n This enables or disables ASB (Automatic Status Back) according to n. • ASB is enabled when n > 0. is the function that transmit the printer status such as cover open/close and Online/Offline] continuously at the time interval specified regardless of the status change if ASB is enabled.
SRP-350IIOBE ■ The printer information transmitted is comprised of 4 bytes as follows: • First byte(printer information) Bit Off/On Hex Decimal Function 0 Off 00 0 Not used. Fixed to Off 1 Off 00 0 Not used. Fixed to Off Off 00 0 Drawer kick-out connector pin 3 is LOW 2 On 04 4 Drawer kick-out connector pin 3 is HIGH Off 00 0 On-line 3 On 08 8 Off-line 4 On 10 16 Not used.
SRP-350IIOBE If mechanical error (bit 2) or auto-cutter error (bit 3) occurs due to paper jams or the like, it is possible to recover by correcting a cause of the error and executing ENQ in real time mode. - If an unrecoverable error (bit 5) occurs, turn off the power as soon as possible.
SRP-350IIOBE GS f Function: Code: Select font for HRI characters ASCII Hex Decimal GS 1D 29 f 66 102 n n n Range: n = 0, 1, 48, 49 Default: n=0 Description: This command selects a font for the HRI(Human Readable Interpretation) characters used when printing a bar code, using n as follows: n 0, 48 1, 49 Remarks: ■ ■ ■ Differences: None Rev. 1.00 Font Font A Font B The setting of this command is applied to only HRI characters. The printing position of HRI characters are specified by GS H.
SRP-350IIOBE GS h Function: Selects bar code height Code: ASCII Hex Decimal Range: 1 ≤ n ≤ 255 Default: n = 162 Description: This command sets the height of the bar code to n dots. Remarks: ■ ■ Differences: Unit of one dot: 0.141mm(1/180 inch) Rev. 1.00 GS 1D 29 h 68 104 n n n The unit of n depends on the printer model. The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
SRP-350IIOBE GS k Function: Print bar code Code: ① ② ASCII Hex Decimal ASCII Hex Decimal GS 1D 29 GS 1D 29 k 6B 107 k 6B 107 m m m m m m Range: ①0≤m≤6 ② 65 ≤ m ≤ 73 K, m, n depend on the barcode system Default: None Description: ■ NUL NUL NUL d1...dn d1...dn d1...dn This command selects a bar code system and prints the bar code. • k indicates the number of bytes of bar code data. • n specifies the number of bytes of bar code data.
SRP-350IIOBE For range ② m 65 66 67 68 Bar Code System UPC-A UPC-E JAN13(EAN) JAN8(EAN) Range of k 11 ≤ n ≤ 12 11 ≤ n ≤ 12 12 ≤ n ≤ 13 7≤n≤8 69 CODE39 1 ≤ n ≤ 255 70 ITF 1 ≤ n ≤ 255 (even number) 71 CODABAR 1 ≤ n ≤ 255 72 73 CODE93 CODE128 1 ≤ n ≤ 255 2 ≤ n ≤ 255 Remarks: ■ ■ Differences: None Rev. 1.
SRP-350IIOBE 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 1, 49 2, 50 Remarks: ■ ■ Transmits paper sensor status Transmits drawer kick-out connector status The status is one byte. The status to be transmitted is as follows: • Paper sensor status (n=1, 49): Bit 0, 1 2, 3 4 5 6 7 Rev. 1.
SRP-350IIOBE Bits 2 and 3: This command can not be executed when the printer is offline due to the lack of paper. Therefore, the status of bit 2 (1) and bit 3 (1) is not transmitted. • Drawer kick-out connector status (n=2, 50): Bit 0 1 2 3 4 5 6 7 ■ Differences: Rev. 1.
SRP-350IIOBE GS v 0 Function: Code: Print raster bit image ASCII Hex Decimal GS 1D 29 v 76 118 0 30 48 m m m xL xH xL xH xL xH Range: 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 1 ≤ (xL + xH x 256) ≤ 128 (0 ≤ xL ≤ 128, xh=0) 1 ≤ (yL + yH x 256) ≤ 4095 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 15) 0 ≤ d ≤ 255 k = (xL + xH x 256) x (yL + yH x 256) Default: None Description: ■ Remarks: ■ Rev. 1.00 yL yH d1...dk yL yH d1...dk yL yH d1...dk This command prints a raster bit image according to the mode defined by m.
SRP-350IIOBE Differences: m 0, 48 1, 49 2, 50 3, 51 Rev. 1.00 Mode Normal Double-width Double-height Quadruple Vertical dot density (DPI) 180 180 90 90 BIXOLON DPI : Dots per Inch (25.
SRP-350IIOBE GS w Function: Code: Set bar code width ASCII Hex Decimal Range: 2≤n≤6 Default: n=3 Description: ■ GS 1D 29 w 77 119 n n n This command sets the horizontal size of the bar code, using n as follows: Multi-level bar code module width (mm) 2 0.282 3 0.423 4 0.564 5 0.706 6 0.847 • n specifies the bar code module width. n Remarks: Rev. 1.00 Binary-level bar code Thin element width (mm) Thick element width (mm) 0.282 0.706 0.423 1.129 0.564 1.411 0.706 1.834 0.847 2.
SRP-350IIOBE Differences: n 2 3 4 5 6 Rev. 1.00 Multi-level bar code module width (mm) 0.282 0.423 0.564 0.706 0.847 Binary-level bar code Thin element width (mm) Thick element width (mm) 0.282 0.706 0.423 1.129 0.564 1.411 0.706 1.834 0.847 2.
SRP-350IIOBE BS M Function: Code: Select device font type ASCII Hex Decimal BS 08 08 M 4D 77 Range: 65 ≤ m ≤ 67 ( m = 65,66,67) Default: n=0 Description: ■ n n n m m m This command selects print mode(s) with bits having following meanings: Bit Off/On Hex Decimal Function Off 00 0 Resident ASCII font selected 0 On 01 1 Customized ASCII font selected Off 00 0 Resident codepage font selected 1 On 02 2 Customized character font selected m 65 66 67 Function ( Select font type ) Font A (12x24) Font
SRP-350IIOBE BS V Function: Select cut mode and cut paper Code: ① ② ASCII Hex Decimal ASCII Hex Decimal BS 08 08 BS 08 08 V 56 86 V 56 86 m m m m m m n n n ② m=65, 66, 0 ≤ n ≤ 255 Range: ① m=0, 1, 48, 49 Default: None Description: This command cuts paper in the specified mode as follows. Remarks: For ① ■ If an auto cutter is not provided, this command is ignored command is executed. For ② ■ When n = 0, the mechanism feeds the paper to the cutting position and cuts it.
SRP-350IIOBE ■ Differences: Rev. 1.00 Vertical motion unit is used for calculating a paper feed amount.
SRP-350IIOBE BS ^ P Function: Code: Set power saving mode ASCII Hex Decimal BS 08 08 ^ 5E 94 P 50 84 fn fn fn Range: None Default: None Description: ■ ■ Set the power saving mode for low power consumption. When the printer is entered power saving mode, printer is wait external interrupt. Remarks: ■ If external interrupt is occurred, printer is wake up. • Communication(Serial, Parallel, USB), Cover sensor, Feed switch. Differences: None Rev. 1.
SRP-350IIOBE BS ^ P fn (fn=0,48) Code: ASCII Hex Decimal BS 08 08 ^ 5E 94 P 50 84 fn fn fn m m m t t t Range: fn=0,48, 0 ≤ m ≤ 1 5 ≤ t ≤ 255 Default: m = 1, t = 20 Description: ■ Set the power saving mode and time to change the sataus of printer. Remarks: ■ ■ ■ The m=0 : power saving mode disable. The m=1 : power saving mode enable. The power saving set time is [t x 1s] and the default time is 20 sec. • If n is smaller than 5 the power saving time is set to defaut [20 x 1s].
SRP-350IIOBE BS ^ P fn (fn=1,49) Code: ASCII Hex Decimal BS 08 08 ^ 5E 94 P 50 84 fn fn fn Range: fn=1,49 Default: None Description: ■ Read the power saving mode satatus and sleep time. Remarks: ■ Power saving data is consist of [Header ~ NULL] data as shown below: Transmitted data Header Power saving mode Power saving time NUL Differences: Rev. 1.