Download Print this page
BIXOLON SRP-B300 Command Manual

BIXOLON SRP-B300 Command Manual

Hide thumbs Also See for SRP-B300:

Advertisement

Quick Links

SRP-B300
Command Manual
Ver. 1.00
http://www.bixolon.com

Advertisement

loading
Need help?

Need help?

Do you have a question about the SRP-B300 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for BIXOLON SRP-B300

  • Page 1 SRP-B300 Command Manual Ver. 1.00 http://www.bixolon.com...
  • Page 2 SRP-B300 ■ Contents 1. Notice ........................................3 2. Control Commands List in Alphanumeric Order........................... 5 2-1 Command Description Items ................................7 2-2 Details of Control Commands ................................8 - 2 - BIXOLON Ver. 1.00...
  • Page 3: Notice

    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.
  • Page 4 SRP-B300 We at BIXOLON maintain ongoing efforts to enhance and upgrade the functions and quality of all our products. In following, product specifications and/or user manual content may be changed without prior notice. - 4 - BIXOLON Ver. 1.00...
  • Page 5: Control Commands List In Alphanumeric Order

    SRP-B300 2. Control Commands List in Alphanumeric Order Command Function Command Function Horizontal tab ESC R Specify an international character set Print and line feed ESC S Select standard mode Form feed (in page mode) ESC T Select print direction in page mode...
  • Page 6 SRP-B300 Command Function GS H Select print position of HRI characters GS I Transmit printer ID GS L Set left margin GS V Select cut mode and executes a partial cut GS W Set print area width GS ^ Execute macro...
  • Page 7: Command Description Items

    SRP-B300 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...
  • Page 8: Details Of Control Commands

    SRP-B300 2-2 Details of Control Commands 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 9 SRP-B300 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: ■ In page mode, the printer does not perform actual printing, but moving only the print position to the next line.
  • Page 10 SRP-B300 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. Remarks: ■...
  • Page 11 SRP-B300 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. Differences: None - 11 - BIXOLON...
  • Page 12 SRP-B300 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. ■ This command is effective only in page mode that is set by ESC L.
  • Page 13 SRP-B300 DLE EOT Function: Transmit real-time status Code: ASCII Decimal 1 ≤ n ≤ 4 Range: Default: None Description: This command enables commands to be operable in real-time. This command transmits the printer-related status specified by n as follows: Function...
  • Page 14 SRP-B300 Not used. Fixed to Off 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...
  • Page 15 SRP-B300 n=4: paper sensor status Binary Decimal Status Not used. Fixed to Off Not used. Fixed to On Not used. Fixed to Off Not used. Fixed to Off Not used. Fixed to On Paper end sensor: paper present Paper end sensor: paper not present Not used.
  • Page 16 SRP-B300 DLE DC4 Function: Generate pulse at real-time Code: ASCII Decimal n = 1, m=0,1, 1 ≤ t ≤ 8 Range: Default: None ■ Output the pulse specified by t to connector pin m as following: Description: Connector pin Drawer kick-out connector pin 2 Drawer kick-out connector pin 5 ■...
  • Page 17 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: ■ SRP-B300 : 0.125mm(1/203 inch) - 17 - BIXOLON Ver. 1.00...
  • Page 18 SRP-B300 ESC ! Function: Set print mode Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 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 19 ■ In page mode, the horizontal motion unit is applied when printing start poison is defined to the upper right or lower right of print area using ESC T, otherwise, the vertical motion unit is used. Differences: Horizontal motion unit: ■ SRP-B300 : 0.125mm(1/203 inch) - 19 - BIXOLON Ver. 1.00...
  • Page 20 SRP-B300 ESC % Function: Select/cancel user-defined character set Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This command selects/deselects user-defined character set that is downloaded by user. To make it valid, the least Description: significant bit should be defined like following.
  • Page 21 SRP-B300 ESC & Function: Define user-defined character set Code: ASCII & 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)] Decimal y c1 c2 [x1 d1 ... d(yⅹx1)]... [xk d1 ... d(yⅹxk)]...
  • Page 22 ■ If the bit image data being entered is beyond the number of dots to be printed, the surplus will be discarded. Remarks: ■ If the value of m is beyond the conditions, the subsequent data after m will be treated as normal data. Differences: ■ SRP-B300 : DPI : Dots per Inch (25.4mm) Number of dots in Vertical dot...
  • Page 23 SRP-B300 ESC – Function: Turn underline mode on/off Code: ASCII Decimal 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Range: Default: n = 0 ■ This command enables the print data following it to be printer out underlined.
  • Page 24 ■ 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: Default line spacing: ■ SRP-B300 : 3.75 mm (30 dots) - 24 - BIXOLON Ver. 1.00...
  • Page 25 SRP-B300 ESC 3 Function: Set line spacing Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: Corresponding to the default line spacing defined by ESC 2 ■ This command sets the line spacing using a following rule. Description: Line spacing = n x (vertical or horizontal motion units) •...
  • Page 26 SRP-B300 ESC = Function: Select peripheral device Code: ASCII Decimal 1 ≤ n ≤ 3, n = 16, n = 32, n = 48 Range: Default: None Description: This command selects the device to which the host computer communicates according to n as follows:...
  • Page 27 SRP-B300 ESC ? Function: Cancel user-defined characters Code: ASCII Decimal 32 ≤ n ≤ 126 Range: Default: None Description: This command removes user-defined character specified by character code n. ■ In place of the deleted user-defined character, the cooresponding resident character is printed.
  • Page 28 SRP-B300 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. ■ The data in the printer buffer is cleared.
  • Page 29 SRP-B300 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 ■ This command sets the horizontal tab position.
  • Page 30 SRP-B300 ESC E Function: Turn emphasized mode on / off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This command turns emphasized mode on or off by toggling the least significant bit of n like following.
  • Page 31 SRP-B300 ESC G Function: Turn double-strike mode on/off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This command turns double-strike mode on or off by toggling the least significant bit of n like following.
  • Page 32 SRP-B300 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]. ■ The maximum feed amount available varies depending on the printer model.
  • Page 33 SRP-B300 ESC L Function: Select page mode Code: ASCII Decimal Range: None Default: None Description: This command switches from standard mode to page mode. ■ For printing in page mode, ESC T defines the print direction and starting position that is within the print area specified Remarks: by ESC W.
  • Page 34 SRP-B300 ESC M Function: Select character font Code: ASCII Decimal Range: n = 0, 1, 48, 49 Default: n = 0 Description: This command selects only-byte character fonts using n as following. Function 0, 48 Character font A selected 1, 49 Character font B selected ■...
  • Page 35 SRP-B300 ESC R Function: Specify international character set Code: ASCII Decimal 0 ≤ n ≤ 13 Range: Default: n = 0 Description: This command specifies international characters according to n values. Character set Character set U.S.A Spain I France Japan...
  • Page 36 SRP-B300 ESC S Function: Select standard mode Code: ASCII Decimal Range: None Default: None Description: This command enables standard mode. ■ The data in the printer buffer is cleared and the setting by ESC W returns to the default. Remarks: ■...
  • Page 37 SRP-B300 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 SRP-B300 ESC V Function: Turn 90°clockwise rotation mode on/off Code: ASCII Decimal 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Range: Default: n = 0 ■ This command turns 90° clockwise rotation mode on/off in standard mode according to the value of n as following Description: When the value of n is equal to 0 or 48, 90°clockwise rotation mode is turned off.
  • Page 39 1 ≤ (dxL + dxH x 256) ≤ 65535 (0 ≤ dxL ≤ 255, 0 ≤ dxH ≤ 255) 1 ≤ (dyL + dyH x 256) ≤ 65535 (0 ≤ dyL ≤ 255, 0 ≤ dyH ≤ 255) ■ SRP-B300 : Default: When a paper width of 80mm{3.15"} is selected:...
  • Page 40 SRP-B300 is set to (Vertical printing area - Vertical starting position). ■ This command is not effective in standard mode. If this command is processed in standard mode, the setting by this command is effective when the printer returns to page mode.
  • Page 41 SRP-B300 ESC \ Function: Set relative print position Code: \ ASCII Decimal 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL 255, 0 ≤ nH ≤ 255) Range: Default: None ■ This command sets the print starting position based on the current position to [(nL + nH × 256) × horizontal or vertical Description: motion unit].
  • Page 42 SRP-B300 ESC a Function: Set position alignment Code: ASCII Decimal 0 ≤ n ≤2, 48 ≤ n ≤50 Range: Default: n = 0 Description: This command specifies position alignment for all data in one line in standard mode, using n as follows:...
  • Page 43 SRP-B300 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. ■ The per-line paper feed amount is based on the value set by the line spacing related commands, ESC 2 and ESC 3.
  • Page 44 SRP-B300 ESC i Function: Partial cut Code: ASCII Decimal Range: None Default: None Description: This command executes a partial cut of the paper with one point left uncut. ■ The same partial cut as this command is executed using ESC m and GS V.
  • Page 45 SRP-B300 ESC m Function: Partial cut Code: ASCII Decimal Range: None Default: None Description: This command executes a partial cut of the paper with one point left uncut. ■ The same partial cut as this command is executed using ESC i and GS V.
  • Page 46 SRP-B300 ESC p Function: Generate pulse Code: ASCII Decimal 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.
  • Page 47 SRP-B300 ESC t Function: Select character code table Code: ASCII Decimal 0 ≤ n ≤ 5, 16 ≤ n ≤ 19, 21 ≤ n ≤ 31, 33 ≤ n ≤ 42, n=47, 49 ≤ n ≤ 51, n=255 Range: Default:...
  • Page 48 SRP-B300 Code page Page 28 1251 (Cyrillic) Page 29 737 (Greek) Page 30 775 (Baltic) Page 31 Thai14 Page 33 1255 (Hebrew New code) Page 34 Thai 11 Page 35 Thai 18 Page 36 855 (Cyrillic) Page 37 857 (Turkish)
  • Page 49 SRP-B300 ESC v Function: Transmit paper sensor status Code: ASCII Decimal Range: None Default: None ■ This command transmits a byte of data specifying the paper sensor status. Description: ■ The status of paper end sensors is sent to the host as follows: When paper end is detected, 0xC is transmitted.
  • Page 50 SRP-B300 ESC { Function: Turns upside-down printing mode on/off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 Description: This command selects/deselects upside-down printing mode according to the least significant bit as follows. Upside-down mode Turned off...
  • Page 51 SRP-B300 FS p Function: Print NV bit image Code: ASCII Decimal 1 ≤ n ≤ 255 Range: 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 Default: None Description: This command prints NV bit image n using the mode specified by m as follows:...
  • Page 52 SRP-B300 Differences: ■ SRP-B300 : DPI : Dots per Inch (25.4mm) Mode Vertical Dot De sity (DPI) orizontal Dot Density (DPI) Normal Double-width 203/2 Double-height 203/2 Quadruple 203/2 203/2 - 52 - BIXOLON Ver. 1.00...
  • Page 53 SRP-B300 FS q Function: Define NV bit image Code: ASCII [xL xH yL d1...dk]1... [xL xH yL d1...dk]n [xL xH yL d1...dk]1... [xL xH yL d1...dk]n Decimal [xL xH yL d1...dk]1... [xL xH yL d1...dk]n 1 ≤ n ≤ 255 Range: 1 ≤...
  • Page 54 SRP-B300 ■ GS ( L and GS ( 8 can be used for defining NV bit image. Remarks: ■ When this command is entered, all NV bit images previously defined are removed from the NV memory. ■ After completion of this command, the printer executes a software reset to restore the settings as when turned on.
  • Page 55 SRP-B300 GS ! Function: Select character size Code: ASCII Decimal 0 ≤ n ≤ 255 Range: (1 ≤ Vertical enlargement ≤ 8, 1 ≤ Horizontal enlargement ≤ 8) Default: n = 0 ■ This command selects the character height and width using bits 0 to 3, and bits 4 to 7 respectively as follows:...
  • Page 56 SRP-B300 Table 2 [Enlarged in vertical direction] • Decimal Enlargement 1 time (standard) 2 times 3 times 4 times 5 times 6 times 7 times 8 times ■ The character size set by this command is valid for alphanumeric, user-defined characters, multi-byte code Remarks: characters such as Chinese, Japanese, and Korean.
  • Page 57 SRP-B300 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 × 256) × (vertical or horizontal motion unit)].
  • Page 58 SRP-B300 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 ≤ 2, 49 ≤ m ≤ 50...
  • Page 59 SRP-B300 GS ( L, GS 8 L Function: Select graphics data Code: ASCII [parameter] [parameter] [parameter] Decimal [parameter] ASCII [parameter] [parameter] Decimal Range: None Default: None Description: This command processes graphics data according to the function code (fn). Format Function...
  • Page 60 SRP-B300 ■ This command is adapted to print image data. Remarks: ■ 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 61 SRP-B300 <Function 48> GS ( L pL pH m fn (fn=0, 48) Code: ASCII Decimal 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).
  • Page 62 SRP-B300 <Function 50> GS ( L pL pH m fn (fn=2, 50) Code: ASCII Decimal 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.
  • Page 63 SRP-B300 <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 Description: This command transmits the setting value of the memory switch corresponding to a.
  • Page 64 SRP-B300 <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 ■ Transmits the defined NV graphics key code list.
  • Page 65 SRP-B300 ■ If the number of the key code exceed 40, the key code is transmitted dividing up to 40. Remarks: - 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.
  • Page 66 SRP-B300 <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) fn=65 d1=67, d2=76, d3=82 Default: None Description: This command removes all defined NV graphics data.
  • Page 67 SRP-B300 <Function 66> GS ( L pL pH m fn kc1 kc2 (fn=66) Code: ASCII Decimal 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.
  • Page 68 SRP-B300 <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 kc1 kc2 b xL xH yL yH [c d1…dk]1…[c d1…dk]b kc1 kc2 b xL xH yL yH [c d1…dk]1…[cd1…dk]b Decimal kc1 kc2 b xL xH yL yH [c d1…dk]1…[c d1…dk]b...
  • Page 69 SRP-B300 Remarks: ■ If new NV graphics data is saved or the existing data is modified, all of the existing data in NV graphics memory are flushed and updated using this command. The rest of NV graphics data groups having no change should be redefined along with the new group stored.
  • Page 70 SRP-B300 <Function 69> GS ( L pL pH m fn kc1 kc2 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 71 SRP-B300 <Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1…dk (fn=112) Code: ASCII a bx by c xL xH yL yH d1…dk a bx by c xL xH yL yH d1…dk Decimal a bx by c xL xH yL yH d1…dk...
  • Page 72 SRP-B300 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.
  • Page 73 SRP-B300 GS ( k Function: Specify and print the symbol Code: None Range: None Default: None ■ This command processes the data concerning two-dimensional code. Description: Symbol type is specified by cn. • Function code is specified by fn. •...
  • Page 74 SRP-B300 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 75 SRP-B300 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. The printable area must be large enough to accommodate different-size symbols. If not, the symbol may not be printed.
  • Page 76 SRP-B300 <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: n = 0 ■ This command specifies the number of columns in the data area of PDF417.
  • Page 77 SRP-B300 <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: n = 0 ■ This command specifies the number of rows in the data area of PDF417.
  • Page 78 ■ The setting unit for printer models varies. ■ The setting of this command remains effective until ESC @, printer reset or power cycling is executed. Differences: Setting unit(1 dot): ■ SRP-B300 : 0.125(1/203 inch) - 78 - BIXOLON Ver. 1.00...
  • Page 79 SRP-B300 <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: n = 3 Description: This command sets the module height of PDF417 to [the module width x n].
  • Page 80 SRP-B300 <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 Default: None ■ This command specifies the error correction level for PDF417.
  • Page 81 SRP-B300 <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: m = 0 Description: This command selects the option for PDF417.
  • Page 82 SRP-B300 <Function 080> GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII d1...dk d1...dk Decimal d1...dk 4 ≤ (pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255) Range: cn=48...
  • Page 83 SRP-B300 <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 84 SRP-B300 ■ 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.
  • Page 85 SRP-B300 <Function 165> GS ( k pL pH cn fn n1 n2 (fn=65) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=65 n1 = 49, 50 n2 =0 Default: n1 = 50, n2 = 0...
  • Page 86 SRP-B300 <Function 167> GS ( k pL pH cn fn n (fn=67) Code: ASCII Decimal 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.
  • Page 87 SRP-B300 <Function 169> GS ( k pL pH cn fn 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 88 SRP-B300 <Function 180> GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII d1...dk d1...dk Decimal d1...dk 4 ≤ (pL + pH x 256) ≤7092 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 27) Range: cn=49 fn=80 m=48 0 ≤...
  • Page 89 SRP-B300 <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 90 SRP-B300 ■ 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 •...
  • Page 91 SRP-B300 <Function 567> GS ( k pL pH cn n (fn=67) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=61 fn=67 2 ≤ n ≤ 3 Default: Description: This command sets the DATAMATRIX Code size.
  • Page 92 SRP-B300 <Function 580> GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII d1...dk d1...dk Decimal d1...dk 0 ≤ (pL + pH x 256) ≤ 3116 (0≤ pL ≤255, 0 ≤ pH ≤13) Range: cn=61 fn=80 m=48 0 ≤ d ≤ 255 k = (pL + pH x 256) –...
  • Page 93 SRP-B300 <Function 581> GS ( k pL pH cn fn m (fn=81) Code: ASCII Decimal Range: pL + pH x 256) = 3 (pL=3, pH=0) cn=61 fn=81 m=48 Default: None Description: This command encodes and prints DATAMATRIX symbol data saved in the storage area.
  • Page 94 SRP-B300 ■ 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 95 SRP-B300 GS * Function: Define downloaded bit image Code: ASCII [d1...d(x x y x 8)] [d1...d(x x y x 8)] Decimal [d1...d(x x y x 8)] 1 ≤ x ≤ 255 Range: 1 ≤ y ≤ 48 (where x x y ≤ 1536) 0 ≤...
  • Page 96 SRP-B300 GS / Function: Print downloaded bit image Code: ASCII Decimal 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 Range: Default: None Description: This command prints the downloaded bit image defined by GS * according to the mode denoted by m.
  • Page 97 SRP-B300 Differences: ■ SRP-B300 : DPI : Dots per Inch (25.4mm) Mode Vertical dot density(DPI) Horizontal dot density(DPI) 0, 48 Normal 1, 49 Double-width 203/2 2, 50 Double-height 203/2 3, 51 Quadruple 203/2 203/2 - 97 - BIXOLON Ver. 1.00...
  • Page 98 SRP-B300 GS : Function: Start/end macro definition Code: ASCII Decimal Range: None Default: None ■ This command starts or ends macro definition. Description: ■ The printer starts macro definition during normal operation and finishes it during macro definition upon receiving this Remarks: command.
  • Page 99 SRP-B300 GS B Function: Turns white/black reverse printing mode on / off Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This command selects white/black reverse printing mode by setting the least significant bit of n.
  • Page 100 SRP-B300 GS H Function: Selects print position of HRI characters Code: ASCII Decimal 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 Range: Default: n = 0 ■ This command selects the printing position of HRI (Human Readable Interpretation) characters when printing a bar Description: code.
  • Page 101 SRP-B300 GS I Function: Transmits printer ID Code: ASCII Decimal 1 ≤ n ≤ 69 Range: Default: None ■ This command transmits the printer ID or information. Description: Transmits 1 byte of printer ID, using n as follows: • Printer ID...
  • Page 102 SRP-B300 Differences: ■ The printer ID is shown according to printer models as follows: Printer ID SRP-B300 1(Printer model ID) 0x20 Type ID varies depending on functions the printer supports as follows: - 0x01 (Multi-byte character) 2(Type ID) - 0x02 (Autocutter)
  • Page 103 SRP-B300 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 104 SRP-B300 GS V Function: Select cut mode and cut paper Code: ASCII ① Decimal ASCII ② Decimal ② m=65, 66, 0 ≤ n ≤ 255 ① m=0, 1, 48, 49 Range: Default: None Description: This command cuts paper in the specified mode as follows.
  • Page 105 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Range: Default: ■ SRP-B300 : (nL + nH x 256)=576 (nL=64, nH=2) (When 80mm width of paper used) Description: This command sets the printing area width to [(nL + nH x 256) x (horizontal motion units)].
  • Page 106 SRP-B300 GS ^ Function: Execute macro Code: ASCII Decimal 0 ≤ r ≤ 255 Range: 0 ≤ t ≤ 255 m=0, 1 Default: None ■ This command executes a macro using parameters as following: Description: r specifies the number of times to execute the macro.
  • Page 107 SRP-B300 GS a Function: Enable/Disable Automatic Status Back (ASB) Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This enables or disables ASB (Automatic Status Back) according to n. Description: ASB is enabled when n > 0.
  • Page 108 SRP-B300 ■ 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 Drawer kick-out connector pin 3 is LOW Drawer kick-out connector pin 3 is HIGH...
  • Page 109 SRP-B300 Third byte (paper sensor information) • Off/On Decimal Function Not used. Fixed to Off 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.
  • Page 110 SRP-B300 GS f Function: Select font for HRI characters Code: ASCII Decimal 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,...
  • Page 111 ■ The unit of n depends on the printer model. Remarks: ■ The setting of this command remains effective until ESC @, printer reset or power cycling is executed. Differences: Unit of one dot: ■ SRP-B300 : 0.125mm(1/203 inch) - 111 - BIXOLON Ver. 1.00...
  • Page 112 SRP-B300 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 113 SRP-B300 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 114 SRP-B300 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 ■...
  • Page 115 SRP-B300 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 Differences: None - 115 - BIXOLON Ver. 1.00...
  • Page 116 SRP-B300 GS v 0 Function: Print raster bit image Code: ASCII xL xH yL yH d1...dk xL xH yL yH d1...dk Decimal xL xH yL yH d1...dk 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 Range: 1 ≤ (xL + xH x 256) ≤ 128 (0 ≤ xL ≤ 128, xh=0) 1 ≤...
  • Page 117 SRP-B300 ■ SRP-B300 : Differences: DPI : Dots per Inch (25.4mm) Mode Vertical dot density (DPI) Horizontal dot density (DPI) 0, 48 Normal 1, 49 Double-width 203/2 2, 50 Double-height 203/2 3, 51 Quadruple 203/2 203/2 - 117 - BIXOLON...
  • Page 118 SRP-B300 GS w Function: Set bar code width Code: ASCII Decimal 2 ≤ n ≤ 6 Range: Default: n = 3 ■ This command sets the horizontal size of the bar code, using n as follows: Description: Multi-level bar code module...
  • Page 119 SRP-B300 Differences: ■ SRP-B300 : Multi-level bar code module Binary-level bar code width (mm) Thin element width (mm) Thick element width (mm) 0.250 0.250 0.625 0.375 0.375 1.000 0.500 0.500 1.250 0.625 0.625 1.625 0.750 0.750 2.000 - 119 - BIXOLON Ver.
  • Page 120 SRP-B300 BS M Function: Select device font type Code: ASCII Decimal 65 ≤ m ≤ 67 ( m = 65,66,67) Range: Default: n = 0 ■ This command selects print mode(s) with bits having following meanings: Description: Off/On Decimal Function...
  • Page 121 SRP-B300 BS V Function: Select cut mode and cut paper Code: ASCII ① Decimal ASCII ② Decimal ② m=65, 66, 0 ≤ n ≤ 255 ① m=0, 1, 48, 49 Range: Default: None Description: This command cuts paper in the specified mode as follows.