BIXOLON Corporation. BIXOLON has no liability for loss or damage arising from or relating to your use of or reliance on the information in the document.
SPP-R200II Command Manual 2. SPP-R200II Supported Commands Command Function Command Function FS & Transmit status Select Kanji character mode Horizontal tab FS . Cancel Kanji character mode Print and line feed GS ! Select character size Form feed (in page mode)
SPP-R200II 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...
SPP-R200II Command Manual 2-2 Details of Control Commands Function: Transmit status Code: ASCII Decimal 1 ≤ n ≤ 4 Range: Default: None Description: This command transmits the printer-related status specified by n as follows: Function Transmit printer status Transmit off-line status...
Page 7
SPP-R200II Command Manual n=2: Off-line status Off/On Decimal 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...
Page 8
SPP-R200II Command Manual n=4: paper sensor status Binary Decimal 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.
Page 9
SPP-R200II Command Manual Function: Horizontal tab Code: ASCII Decimal 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.
Page 10
SPP-R200II Command Manual Function: Print and line feed Code: ASCII Decimal 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: ■...
Page 11
SPP-R200II Command Manual Function: Form feed (in page mode) Code: ASCII Decimal 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.
Page 12
SPP-R200II Command Manual Function: Print and carriage return Code: ASCII Decimal 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.
Page 13
SPP-R200II Command Manual Function: Set real-time command mode Code: ASCII Decimal 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.
Page 14
SPP-R200II Command Manual Function: Cancel the print data in page mode Code: ASCII Decimal Range: None Default: None Description: This command clears the receive buffer and print buffers in page mode. Remarks: ■ This command is effective only in page mode that is set by ESC L.
Page 15
SPP-R200II Command Manual ESC FF Function: Print data in page mode Code: ASCII Decimal Range: None Default: None Description: This command prints the data in the print buffer collectively in page mode. Remarks: ■ This command is effective only in page mode that is selectd by ESC L.
Page 16
SPP-R200II Command Manual ESC SP Function: Set the character right space Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: Description: ■ This command sets the size of space to right of character. • Right space = n × [horizontal motion units].
Page 17
SPP-R200II Command Manual ESC ! Function: Set print mode Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: Description: This command selects print mode(s) with bits having following meanings. Off/On Decimal Function Character font A selected Character font B selected...
Page 18
SPP-R200II Command Manual ESC $ Function: Set absolute print position Code: ASCII Decimal 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nH ≤ 255, 0 ≤ nL ≤ 255) Range: 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).
Page 19
SPP-R200II Command Manual ESC * Function: Specify bit image mode Code: ASCII d1...dk d1...dk Decimal d1...dk 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 ×...
Page 20
SPP-R200II Command Manual ESC – Function: Turn underline mode on/off Code: ASCII Decimal 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Range: Default: Description: ■ This command enables the print data following it to be printer out underlined.
Page 21
SPP-R200II Command Manual ESC 2 Function: Select default line spacing Code: ASCII Decimal 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: ■...
Page 22
SPP-R200II Command Manual ESC 3 Function: Set line spacing Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: Corresponding to the default line spacing defined by ESC 2 Description: ■ This command sets the line spacing using a following rule.
Page 23
SPP-R200II Command Manual ESC = Function: Select peripheral device Code: ASCII Decimal 1 ≤ n ≤ 3 Range: Default: n =1 Description: ■ The selection of peripherals according to the n value is as follows. Function Printer Activation Printer Deactivation When the printer is deactivated, all received data is not recognized, but “ESC =”...
Page 24
SPP-R200II Command Manual ESC @ Function: Initialize printer Code: ASCII Decimal 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.
Page 25
SPP-R200II Command Manual ESC D Function: Set horizontal tab position Code: ASCII n1...nk n1...nk Decimal n1...nk 1 ≤ n ≤ 255 , 0 ≤ k ≤ 32 Range: Default: n=8, 16, 24, 32, 40,.., 232, 240, 248 Description: ■ This command sets the horizontal tab position.
Page 26
SPP-R200II Command Manual ESC E Function: Turn emphasized mode on / off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: Description: ■ This command turns emphasized mode on or off by toggling the least significant bit of n like following.
Page 27
SPP-R200II Command Manual ESC G Function: Turn double-strike mode on/off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: Description: ■ This command turns double-strike mode on or off by toggling the least significant bit of n like following.
Page 28
SPP-R200II Command Manual ESC J Function: Print and feed paper Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: None Description: This command prints the data in the print buffer and feeds the paper [n X vertical motion unit].
Page 29
SPP-R200II Command Manual ESC L Function: Select page mode Code: ASCII Decimal Range: None Default: None Description: This command switches from standard mode to page mode. Remarks: ■ For printing in page mode, ESC T defines the print direction and starting position that is within the print area specified by ESC W.
Page 30
SPP-R200II Command Manual ESC M Function: Select character font/ MSR card read Code: ASCII Decimal Range: n = 0,1,2, 48, 49 ,50 ,67, 68, 69, 70, 71, 72, 73 Default: ▪ Selects only 1byte character fonts Description: ▪ Selects Card reader mode...
Page 31
SPP-R200II Command Manual - When set to Track 1 Read mode Normal mode 02H 41H 31H 31H 1CH Max DATA 76 characters (1Track data) 03H 0DH 0AH 1byte sentinel character mode 02H 41H 31H 31H 1CH (Header) 25H (STX) Max DATA 76 characters (1Track data) 3FH (ETX) 03H 0DH 0AH (End)
Page 32
SPP-R200II Command Manual - When set to Track 1/2 Read mode Normal mode Max DATA 76 characters Max DATA 37 Characters 02H 43H 31H 31H 1CH 1CH 03H 0DH 0AH (1Track data) (2Track data) 1byte sentinel character mode 02H 43H 31H 31H 1CH...
Page 34
■ The manual reading of a magnetic card is activated with MSR setting value of 41H that is set by SPP-R200II Unified Utility. In this case, ESC M should be sent to the printer to receive the magnetic card read output prior to swiping the card.
Page 35
SPP-R200II Command Manual ESC R Function: Specify international character set Code: ASCII Decimal 0≤ n≤10 Range: Default: Description: This command specifies international characters according to n values. Character set Character set U.S.A Spain I France Norway Germany Denmark II Spain II...
Page 36
SPP-R200II Command Manual ESC S Function: Select standard mode Code: ASCII Decimal Range: None Default: None Description: This command enables standard mode. Remarks: ■ The data in the printer buffer is cleared and the setting by ESC W returns to the default.
Page 37
SPP-R200II Command Manual ESC T Function: Select print direction in page mode Code: ASCII Decimal 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 Range: Default: n = 0 Description: This command selects the print direction and starting position in page mode.
Page 38
SPP-R200II Command Manual ESC W Function: Set print area in page mode Code: ASCII Decimal 0 ≤ (xL + xH x 256) ≤ 65535 (0 ≤ xL ≤ 255, 0 ≤ xH ≤ 255) Range: 0 ≤ (yL + yH x 256) ≤ 65535 (0 ≤ yL ≤ 255, 0 ≤ yH ≤ 255) 1 ≤...
Page 39
SPP-R200II Command Manual ■ The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed. Differences: The maximum printable area(Max horizontal printable area, Max vertical printable area): Model Max horizontal printable area...
Page 40
SPP-R200II Command Manual ESC \ Function: Set relative print position Code: \ ASCII Decimal 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL 255, 0 ≤ nH ≤ 255) Range: Default: None Description: ■ This command sets the print starting position based on the current position to [(nL + nH × 256) × horizontal or vertical motion unit] •...
Page 41
SPP-R200II Command Manual ESC a Function: Set position alignment Code: ASCII Decimal 0 ≤ n ≤2, 48 ≤ n ≤50 Range: Default: Description: This command specifies position alignment for all data in one line in standard mode, using n as follows:...
Page 42
SPP-R200II Command Manual ESC d Function: Print and feed n lines. Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: None Description: This command feeds the paper by n lines after printing the data in the print buffer. Remarks: ■...
Page 43
SPP-R200II Command Manual ESC t Function: Select character code table Code: ASCII Decimal 0 ≤ n ≤ 5, 16 ≤ n ≤ 19, 21 ≤ n ≤ 31, 33 ≤ n ≤ 41, n=255 Range: Default: For model not supporting Thai character: n=0...
Page 45
SPP-R200II Command Manual ESC { Function: Turns upside-down printing mode on/off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: Description: This command selects/deselects upside-down printing mode according to the least significant bit as follows. Upside-down mode Turned off...
Page 46
SPP-R200II Command Manual FS & Function: Select Kanji character mode Code: ASCII & Decimal Range: None Default: None Description: This command sets Kanji character mode. Remarks: This command is available only for the Japanese, Chinese, and Korean models. ■ ■...
Page 47
SPP-R200II Command Manual FS . Function: Cancel Kanji character mode Code: ASCII Decimal 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 &.
Page 48
SPP-R200II Command Manual GS ! Function: Select character size Code: ASCII Decimal 0 ≤ n ≤ 255 Range: (1 ≤ Vertical enlargement ≤ 8, 1 ≤ Horizontal enlargement ≤ 8) Default: Description: ■ This command selects the character height and width using bits 0 to 3, and bits 4 to 7 respectively as follows:...
Page 49
SPP-R200II Command Manual • Table 1 [Enlarged in horizontal direction] Decimal Enlargement 1 time (standard) 2 times 3 times 4 times 5 times 6 times 7 times 8 times • Table 2 [Enlarged in vertical direction] Decimal Enlargement 1 time (standard)
Page 50
SPP-R200II Command Manual GS $ Function: Set absolute vertical print position in page mode Code: ASCII Decimal 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255) Range: Default: None Description: This command sets the absolute vertical print starting position to [(nL + nH ×...
Page 51
SPP-R200II Command Manual GS ( A Function: Execute test print Code: ASCII Decimal Range: (pL + pH x 256) = 2 (pL=2, pH=0) 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 1 ≤ m ≤ 3, 49 ≤ m ≤ 51...
Page 52
SPP-R200II Command Manual GS ( F Function: Set black mark control functions Code: None Range: None Default: None Description: ■ This command performs various functions to control the black mark(BM) paper as follows: Format Function Sets the paper feed amount to adjust the paper cutting position after GS ( F pL pH m a nL nH sensing BM.
Page 55
SPP-R200II Command Manual 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.
Page 56
SPP-R200II Command Manual Function Function 065 PDF417: Specify the number of columns Function 066 PDF417: Specify the number of rows Function 067 PDF417: Specify the width of module Function 068 PDF417: Specify the module height Function 069 PDF417: Specify the error correction level...
Page 57
SPP-R200II Command Manual Remarks: PDF417 symbol data (when cn=48) ■ The symbol data is defined, stored to the symbol storage area by Function 080 and printed by the specification of Function 081. The symbol data in the area remains reserved until the following processes are executed: •...
Page 58
SPP-R200II Command Manual ■ The same symbol data is repeatedly printed by executing Function 281 after performing Function 280. ■ The same symbol data is printed differently by executing Function 281 after setting the mode by using Functions 265. DATAMATRIX Symbol Data (cn=51) ■...
Page 59
SPP-R200II Command Manual <Function 065> GS ( k pL pH cn fn n (fn=65) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48, fn=65 0 ≤ n ≤ 30 Default: Description: ■ This command specifies the number of columns in the data area of PDF417.
Page 60
SPP-R200II Command Manual <Function 066> GS ( k pL pH cn fn n (fn=66) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48, fn=66 n=0, 3 ≤ n ≤ 90 Default: Description: ■ This command specifies the number of rows in the data area of PDF417.
Page 61
SPP-R200II Command Manual <Function 067> GS ( k pL pH cn fn n (fn=67) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48 fn=67 2 ≤ n ≤ 3 Default: Description: This command sets the width of the module of PDF417 symbol to n dots.
Page 62
SPP-R200II Command Manual <Function 068> GS ( k pL pH cn fn n (fn=68) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48 fn=68 2 ≤ n ≤ 8 Default: Description: This command sets the module height of PDF417 to [the module width x n] Remarks: ■...
Page 63
SPP-R200II Command Manual <Function 069> GS ( k pL pH cn fn m n (fn=69) Code: ASCII Decimal Range: (pL + pH x 256) = 4 (pL=4, pH=0) cn=48 fn=69 m=48 48 ≤ n ≤ 56 0≤n≤8 Default: None Description: ■...
Page 64
SPP-R200II Command Manual <Function 070> GS ( k pL pH cn fn m (fn=70) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=48 fn=70 m=0,1 Default: Description: This command selects the option for PDF417. Function...
Page 66
SPP-R200II Command Manual <Function 081> GS ( k pL pH cn fn m (fn=81) Code: ASCII Decimal 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.
Page 67
SPP-R200II Command Manual ■ 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.
Page 68
SPP-R200II Command Manual <Function 082> GS ( k pL pH cn fn m (fn=82) Code: ASCII Decimal 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.
Page 69
SPP-R200II Command Manual ■ The following data indicates whether or not printing of the symbol is possible: Decimal Condition Printing is possible 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.
Page 71
SPP-R200II Command Manual <Function 167> GS ( k pL pH cn n (fn=67) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=67 0<=n<9 Default: Description: This command sets the size of the QR Code module to n dots.
Page 72
SPP-R200II Command Manual <Function 169> GS ( k pL pH cn n (fn=69) Code: ASCII Decimal 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.
Page 74
SPP-R200II Command Manual <Function 181> GS ( k pL pH cn fn m (fn=81) Code: ASCII Decimal 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.
Page 75
SPP-R200II Command Manual ■ 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 •...
Page 76
SPP-R200II Command Manual <Function 182> GS ( k pL pH cn fn m (fn=82) Code: ASCII Decimal 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.
Page 77
SPP-R200II Command Manual ■ The following data indicates whether or not printing of the symbol is possible: Decimal Condition Printing is possible Printing is impossible ■ The quiet zone is not included in size information. Differences: None - 77 - BIXOLON Rev.
Page 80
SPP-R200II Command Manual <Function 281> GS ( k pL pH cn fn m (fn=81) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=50 fn=81 m=48 Default: None Description: This command encodes and prints Maxi Code symbol data saved in the storage area.
Page 81
SPP-R200II Command Manual ■ Modes 2 and 3 are executed according to the following procedures: (RS, GS indicates the control code of MAXI CODE. y indicates the 2-byte numeric data.) a) 9-byte data including ” [)>”,”RS”,”01”,”GS”,”yy” are regarded as the Header.
Page 82
SPP-R200II Command Manual <Function 367> GS ( k pL pH cn n (fn=67) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=51 fn=67 2 ≤ n ≤ 3 Default: Description: This command sets the DATAMATRIX Code size.
Page 84
SPP-R200II Command Manual <Function 381> GS ( k pL pH cn fn m (fn=81) Code: ASCII Decimal Range: pL + pH x 256) = 3 (pL=3, pH=0) cn=51 fn=81 m=48 Default: None Description: This command encodes and prints DATAMATRIX symbol data saved in the storage area.
Page 85
SPP-R200II Command Manual ■ In standard mode, the paper feed amount set by the paper feed setting command does not affect printing of the symbol. The printing position returns to the left side of the printable area after printing the symbol.
Page 86
SPP-R200II Command Manual GS ( 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.
Page 87
SPP-R200II Command Manual <Function 1> GS ( E pL pH fn d1 d2 (fn=1) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) 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:...
Page 88
SPP-R200II Command Manual <Function 2> GS ( E pL pH fn d1 d2 d3 (fn=2) Code: ASCII Decimal Range: (pL + pH x 256) = 4 (pL=4, 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.
Page 90
SPP-R200II Command Manual Value Function 2 byte character mode not selected 2 byte character mode selected Print speed 90mm/s Print speed 50mm/s 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.
Page 92
SPP-R200II 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 •...
Page 93
SPP-R200II 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 •...
Page 94
SPP-R200II Command Manual ■ The setting items of the memory switch 8 are as follows: • Either the character font A or B or C is selected. • The beep is activated for the audible paper empty warning signal. •...
Page 95
SPP-R200II Command Manual - When set to 1-byte sentinel character mode, 1-byte sentinel characters are added to the beginning parts and the end parts of each track data. -1Track sentinel characters: STX (%), EXT (?) -2Track sentinel characters: STX (;), EXT (?) -3Track sentinel characters: STX (;), EXT (?)
Page 96
SPP-R200II Command Manual <Function 4> GS ( E pL pH fn a (fn=4) Code: ASCII Decimal Range: (pL + pH x 256) = 2 (pL=2, pH=0) fn=4 a=1, 2, 5, 6, 7, 8 Default: None Description: This command transmits the setting value of the memory switch corresponding to a.
Page 99
SPP-R200II Command Manual <Function 12> GS ( E pL pH fn a (fn=12) Code: ASCII Decimal 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: ■...
Page 100
SPP-R200II 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 • When the parity setting (a=2) is specified: Parity No parity Odd parity Even parity •...
Page 101
SPP-R200II Command Manual GS ( L, GS 8 L Function: Select graphics data Code: [parameter] ASCII [parameter] [parameter] Decimal ASCII [parameter] [parameter] [parameter] Decimal Range: None Default: None Description: This command processes graphics data according to the function code (fn).
Page 102
SPP-R200II Command Manual Remarks: ■ 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.
Page 103
SPP-R200II Command Manual <Function 48> GS ( L pL pH m fn (fn=0, 48) Code: ASCII Decimal Range: (pL + pH x 256) = 2 (pL=2, pH=0) m=48, fn=0, 48 Default: None Description: Transmits the total capacity of the NV bit-image memory (number of bytes in the memory area).
Page 104
SPP-R200II Command Manual <Function 50> BS ^ L pL pH fn (fn=2, 50) Code: ASCII Decimal Range: (pL + pH x 256) = 2 (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.
Page 105
SPP-R200II Command Manual <Function 51> GS ( L pL pH m fn (fn=3, 51) Code: ASCII Decimal Range: (pL + pH x 256) = 2 (pL=2, pH=0) m=48, fn=3, 51 Default: None ▪ Transmits the number of bytes of remaining memory (unused area) in the NV user memory.
Page 106
SPP-R200II Command Manual <Function 64> GS ( L pL pH m fn d1 d2 (fn=64) Code: ASCII Decimal Range: (pL + pH x 256) = 4 (pL=4, pH=0) m=48 fn=64 d1=75, d2=67 Default: None Description: ■ Transmits the defined NV graphics key code list.
Page 107
SPP-R200II Command Manual ■ After the [Header-NULL] is transmitted, the printer receives a response from the host; then it performs the process defined by the response. (See the tables below.) - When the status (existence of the next data block) is Hexadecimal = 41H / Decimal = 65...
Page 108
SPP-R200II Command Manual <Function 65> GS ( L pL pH m fn d1 d2 d3 (fn=65) Code: ASCII Decimal Range: (pL + pH x 256) = 5 (pL=5, pH=0) m=48 fn=65 d1=67, d2=76, d3=82 Default: None Description: This command removes all defined NV graphics data.
Page 110
SPP-R200II Command Manual <Function 67> GS ( L pL pH m fn a kc1 kc2 b xL xH yL yH [c d1...dk]1...[c d1...dk]b (fn=67) Code: ASCII pL pH m fn a kc1 kc2 b xL xH yL yH [c d1...dk]1...[c d1...dk]b pL pH m fn a kc1 kc2 b xL xH yL yH [c d1...dk]1...[c d1...dk]b...
Page 111
SPP-R200II Command Manual <Function 69> GS ( L pL pH m fn kc1 kc2 b x y (fn=69) Code: ASCII Decimal Range: (pL + pH x 256) = 6 (pL=6, pH=0) m=48, fn=69 32 ≤ kc1 ≤ 126 32 ≤ kc2 ≤ 126...
Page 112
SPP-R200II Command Manual <Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1...dk (fn=112) Code: ASCII pL pH m fn a bx by c xL xH yL yH d1...dk pL pH m fn a bx by c xL xH yL yH d1...dk Decimal pL pH m fn a bx by c xL xH yL yH d1...dk...
Page 113
SPP-R200II Command Manual GS : Function: Start/end macro definition Code: ASCII Decimal 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.
Page 114
SPP-R200II Command Manual GS B Function: Turns white/black reverse printing mode on / off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: Description: ■ This command selects white/black reverse printing mode by setting the least significant bit of n.
Page 115
SPP-R200II Command Manual GS H Function: Selects print position of HRI characters Code: ASCII Decimal 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 Range: Default: Description: ■ This command selects the printing position of HRI (Human Readable Interpretation) characters when printing a bar code.
Page 116
SPP-R200II Command Manual GS I Function: Transmits printer ID Code: ASCII Decimal 1 ≤ n ≤ 69 Range: Default: None Description: ■ This command transmits the printer ID or information. • Transmits 1 byte of printer ID, using n as follows:...
Page 117
SPP-R200II Command Manual Differences: ■ The printer ID is shown according to printer models as follows: Printer ID SPP-R200II 1(Printer model ID) 0x41 Type ID varies depending on functions the printer supports as follows: - 0x01 (Multi-byte character) - 0x02 (Autocutter)
Page 118
SPP-R200II Command Manual GS I b Function: Transmits battery status Code: ASCII Decimal Range: None Default: None Description: ■ This command transmits the battery power status of the printer. • The printer transmits [Header ~ NUL] data as shown below:...
Page 119
SPP-R200II Command Manual GS L Function: Set left margin Code: ASCII Decimal 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Range: 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)].
Page 120
SPP-R200II Command Manual GS T Function: Set print position to the beginning of print line Code: ASCII Decimal Range: n=0, 1, 48, 49 Default: None Description: ■ This command sets the print position to the beginning of the print line.
Page 121
SPP-R200II Command Manual GS W Function: Set printing area width Code: ASCII Decimal 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Range: Default: (nL + nH x 256)=384 (nL=80, nH=1) Description: This command sets the printing area width to [(nL + nH x 256) x (horizontal motion units)].
Page 122
SPP-R200II Command Manual GS \ Function: Set relative vertical print position in page mode Code: \ ASCII Decimal 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Range: Default: None Description: This command moves the vertical print position to [(nL + nH x 256) x (vertical or horizontal motion units)] relative to the current position in page mode.
Page 123
SPP-R200II Command Manual GS ^ Function: Execute macro Code: ASCII Decimal 0 ≤ r ≤ 255 Range: 0 ≤ t ≤ 255 m=0, 1 Default: None Description: ■ This command executes a macro using parameters as following: • r specifies the number of times to execute the macro.
Page 124
SPP-R200II Command Manual GS a Function: Enable/Disable Automatic Status Back (ASB) Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: Printers: Description: ■ This enables or disables ASB (Automatic Status Back) according to n. • ASB is enabled when n > 0.
Page 125
SPP-R200II Command Manual ■ The printer information transmitted is comprised of 4 bytes as follows: • First byte(printer information) Off/On Decimal Function Not used. Fixed to Off Not used. Fixed to Off Not used. Fixed to Off On-line Off-line Not used. Fixed to On...
Page 126
SPP-R200II Command Manual • Third byte (paper sensor information) Off/On Decimal Function Not used. Fixed to Off 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.
Page 127
SPP-R200II Command Manual GS f Function: Select font for HRI characters Code: ASCII Decimal Range: n=0, 1, 48, 49 Default: Description: This command selects a font for the HRI(Human Readable Interpretation) characters used when printing a bar code, using n as follows:...
Page 128
SPP-R200II Command Manual GS h Function: Selects bar code height Code: ASCII Decimal 1 ≤ n ≤ 255 Range: Default: n=162 Description: This command sets the height of the bar code to n dots. Remarks: ■ The unit of n depends on the printer model.
Page 129
SPP-R200II Command Manual GS k Function: Print bar code Code: ASCII d1...dk ① d1...dk Decimal d1...dk ASCII d1...dn ② d1...dn Decimal d1...dn ① 0 ≤ m ≤ 6 ② 65 ≤ m ≤ 73 Range: K, m, n depend on the barcode system...
Page 130
SPP-R200II Command Manual For range ② Bar Code System Range of k Range of d 11 ≤ n ≤ 12 48 ≤ d ≤ 57 UPC-A 11 ≤ n ≤ 12 48 ≤ d ≤ 57 UPC-E 12 ≤ n ≤ 13 48 ≤...
Page 131
SPP-R200II Command Manual GS r Function: Transmit status Code: ASCII Decimal Range: n=1, 2, 49, 50 Default: None Description: The command transmits the status specified by n as follows: Function 1, 49 Transmits paper sensor status 2, 50 Transmits drawer kick-out connector status Remarks: ■...
Page 132
SPP-R200II Command Manual • Drawer kick-out connector status (n=2, 50): Off/On Decimal 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.
SPP-R200II Command Manual GS w Function: Set bar code width Code: ASCII Decimal 2 ≤ n ≤ 6 Range: Default: Description: ■ This command sets the horizontal size of the bar code, using n as follows: Multi-level bar code module...
Page 136
SPP-R200II Command Manual BS L A Function: Execute automatic calibration in label mode Code: ASCII Decimal Range: None Default: None Description: This command executes auto calibration in label mode. Remarks: ■ This command is effective only in the label mode.
Page 137
SPP-R200II Command Manual BS L L Function: Select label mode Code: ASCII Decimal Range: None Default: None Description: ■ This commands selects label mode • The label mode must be set for printing on the label paper and black mark paper.
Page 138
SPP-R200II Command Manual BS L R Function: Select receipt mode Code: ASCII Decimal Range: None Default: None Description: ■ This command selects receipt mode • The receipt mode must be set for printing on the continuous roll paper. Remarks: ■...
Page 139
SPP-R200II Command Manual BS M Function Select device font type Code: ASCII Decimal 65 ≤ m ≤ 67 ( m = 65,66,67) Range: n = 0 Default: n = 0 Description: ■ Font type select by m value as follows:...
Page 140
SPP-R200II Command Manual BS M S Function Sentinel character set up commands Code: ASCII Decimal 0 ≤ n ≤ 2 Range: (pL+pHx256) = 2 fn=49 Default: Depends on memory switch 8-6~7 setting value. Description: ■ Sets sentinel characters by n value as follows:...
Page 141
SPP-R200II Command Manual - When set to Multi-byte sentinel characters mode, <CR/LF> characters after End characters are automatically applied to the card data to be transmitted to host. Remarks: MSR Data Transmission Format by Setting Mode Refer to ESC M command and the function 3 memory switch #7 (8 – 6 & 7 setting) of GS ( E command.
Page 142
SPP-R200II Command Manual - When set to Track 3 Read mode Normal mode 02H 44H 31H 31H 1CH Max DATA104 characters (3Track data) 03H 0DH 0AH 1byte sentinel character mode 02H 44H 31H 31H 1CH (Header) 3BH (STX) Max DATA 104 characters (3Track data)
Page 143
SPP-R200II Command Manual - When set to Track 2/3 Read mode Normal mode Max DATA104 Characters 02H 45H 31H 31H 1CH 1CH Max DATA 37 characters (2Track data) 1CH 03H 0DH 0AH (3Track data) 1byte sentinel character mode 02H 45H 31H 31H 1CH...
Page 144
SPP-R200II Command Manual Multi byte sentinel character mode START characters Max DATA 76 characters END characters (Max 10 byte) 0DH 0AH (Max 10 byte) (1Track data) START characters Max DATA 37 characters END characters (Max 10 byte) 0DH 0AH (Max 10 byte)
Page 145
SPP-R200II Command Manual BS M S PL PH fn2 m d1~dk Function Set start sentinel characters Code: ASCII d1~dk d1~dk Decimal d1~dk 3 ≤ (pL+pHx256) ≤ 12 Range: m = 49, 50, 51 32 ≤d ≤127, k ≤ 10 fn = 50 Track 1 : “START1 “...
Page 146
SPP-R200II Command Manual BS M S PL PH fn3 m d1~dk Function Set end sentinel characters Code: ASCII d1~dk d1~dk Decimal d1~dk 3 ≤ (pL+pHx256) ≤ 12 Range: m = 49, 50, 51 32 ≤d ≤127, k ≤ 10 fn = 50 Track 1 : “END”...
Page 147
SPP-R200II Command Manual BS M S PL PH fn4 m Function Transmit Start and End characters setting information Code: ASCII Decimal Range: (pL+pHx256) = 2 fn = 50 m = 49, 50, 51 Default: None Description: ■ m defines the track to be transmitted.
Need help?
Do you have a question about the SPP-R200II and is the answer not in the manual?
Questions and answers