Download Print this page
BIXOLON SRP-F310 Command Manual

BIXOLON SRP-F310 Command Manual

Hide thumbs Also See for SRP-F310:

Advertisement

SRP-F310/312
Thermal Printer
Command Manual

Advertisement

loading

Summary of Contents for BIXOLON SRP-F310

  • Page 1 SRP-F310/312 Thermal Printer Command Manual...
  • Page 2 SRP-F310/312 ■ Contents 1. Notice ........................................3 2. Control Commands List in Alphanumeric Order........................... 4 2-1 Command Description Items ................................6 2-2 Details of Control Commands ................................7 BIXOLON - 2 - Rev. 1.01...
  • 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: Control Commands List In Alphanumeric Order

    SRP-F310/312 2. Control Commands List in Alphanumeric Order Command Function Command Function Horizontal tab ESC R Specify an international character set ESC S Print and line feed Select standard mode Form feed (in page mode) ESC T Select print direction in page mode...
  • Page 5 Select cut mode and executes a partial/full BS V BS W D Define watermark image BS W E Select Watermark image BS DC1 % Select BIL(bixolon Interactive Linker) (fn = 1) function BS DC1 % Select reverse printing function (fn = 3) BIXOLON - 5 - Rev.
  • Page 6: Command Description Items

    SRP-F310/312 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 7: Details Of Control Commands

    SRP-F310/312 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 8 SRP-F310/312 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 9 SRP-F310/312 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 10 SRP-F310/312 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 using the memory switch.
  • Page 11 SRP-F310/312 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 12 SRP-F310/312 DLE EOT Function: Transmit real-time status Code: ASCII Decimal Range: 1 ≤ n ≤ 4 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 13 SRP-F310/312 Binary Decimal Status Not used. Fixed to Off 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 14 SRP-F310/312 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 15 SRP-F310/312 DLE DC4 Function: Generate pulse at real-time Code: ASCII Decimal Range: n = 1, m=0,1, 1 ≤ t ≤ 8 Default: None Description: Output the pulse specified by t to connector pin m as following: ■ Connector pin Drawer kick-out connector pin 2...
  • Page 16 SRP-F310/312 ESC SP Function: Set the character right space Code: ASCII 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].
  • Page 17 SRP-F310/312 ESC ! Function: Set print mode Code: ASCII Decimal Range: 0 ≤ n ≤ 255 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 18 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-F310: 0.141mm(1/180 inch) ■ SRP-F312: 0.125mm(1/203 inch) ■ BIXOLON - 18 - Rev.
  • Page 19 SRP-F310/312 ESC % Function: Select/cancel user-defined character set Code: ASCII 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 ■...
  • Page 20 SRP-F310/312 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 21 SRP-F310/312 Differences: None BIXOLON - 21 - Rev. 1.01...
  • Page 22 SRP-F310/312 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 23 SRP-F310/312 SRP-F312: ■ DPI : Dots per Inch (25.4mm) Number of dots in Vertical dot Horizontal dot Mode Number of bytes (k) vertical direction density (DPI) density (DPI) 8-dot single-density 203/3 203/2 nL + nH x 256 8-dot double-density 203/3...
  • Page 24 SRP-F310/312 ESC – Function: Turn underline mode on/off Code: ASCII Decimal Range: 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Default: n = 0 Description: This command enables the print data following it to be printer out underlined.
  • Page 25 ■ The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed. ■ Differences: Default line spacing: SRP-F310: 4.23 mm (30 dots) ■ SRP-F312: 3.75 mm(30 dots) ■ BIXOLON - 25 -...
  • Page 26 SRP-F310/312 ESC 3 Function: Set line spacing Code: ASCII Decimal Range: 0 ≤ n ≤ 255 Default: Corresponding to the default line spacing defined by ESC 2 Description: This command sets the line spacing using a following rule. ■ Line spacing = n x (vertical or horizontal motion units) •...
  • Page 27 SRP-F310/312 ESC = Function: Select peripheral device Code: ASCII Decimal Range: 1 ≤ n ≤ 3 Default: None Description: This command selects the device to which the host computer communicates according to n as follows: Function Enables the printer Disables the printer...
  • Page 28 SRP-F310/312 ESC ? Function: Cancel user-defined characters Code: ASCII Decimal Range: 32 ≤ n ≤ 126 Default: None Description: This command removes user-defined character specified by character code n. Remarks: In place of the deleted user-defined character, the cooresponding resident character is printed.
  • Page 29 SRP-F310/312 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 30 SRP-F310/312 ESC D Function: Set horizontal tab position Code: ASCII n1...nk n1...nk Decimal n1...nk Range: 1 ≤ n ≤ 255 , 0 ≤ k ≤ 32 Default: n = 8, 16, 24, 32, 40,.., 232, 240, 248 Description: This command sets the horizontal tab position.
  • Page 31 SRP-F310/312 ESC E Function: Turn emphasized mode on / off Code: ASCII 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.
  • Page 32 SRP-F310/312 ESC G Function: Turn double-strike mode on/off Code: ASCII 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.
  • Page 33 SRP-F310/312 ESC J Function: Print and feed paper Code: ASCII Decimal Range: 0 ≤ n ≤ 255 Default: None Description: This command prints the data in the print buffer and feeds the paper [n X vertical motion unit]. Remarks: The maximum feed amount available varies depending on the printer model.
  • Page 34 SRP-F310/312 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 ■...
  • Page 35 SRP-F310/312 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...
  • Page 36 SRP-F310/312 ESC R Function: Specify international character set Code: ASCII Decimal Range: 0 ≤ n ≤ 13 Default: n = 0 Description: This command specifies international characters according to n values. Character set Character set U.S.A Spain I France Norway...
  • Page 37 SRP-F310/312 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 38 SRP-F310/312 ESC T Function: Select print direction in page mode Code: ASCII Decimal Range: 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 Default: n = 0 Description: This command selects the print direction and starting position in page mode.
  • Page 39 SRP-F310/312 ESC V Function: Turn 90°clockwise rotation mode on/off Code: ASCII Decimal Range: 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Default: n = 0 Description: This command turns 90° clockwise rotation mode on/off in standard mode according to the value of n as following ■...
  • Page 40 SRP-F310/312 ESC W Function: Set print area in page mode Code: ASCII Decimal 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 ≤...
  • Page 41 SRP-F310/312 Remarks: 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 ■...
  • Page 42 SRP-F310/312 ESC \ Function: Set relative print position Code: ASCII \ Decimal Range: 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL 255, 0 ≤ nH ≤ 255) Default: None Description: This command sets the print starting position based on the current position to [(nL + nH × 256) × horizontal or vertical ■...
  • Page 43 SRP-F310/312 ESC a Function: Set position alignment Code: ASCII Decimal 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:...
  • Page 44 SRP-F310/312 ESC d Function: Print and feed n lines Code: ASCII Decimal Range: 0 ≤ n ≤ 255 Default: None Description: This command feeds the paper by n lines after printing the data in the print buffer. Remarks: The per-line paper feed amount is based on the value set by the line spacing related commands, ESC 2 and ESC 3.
  • Page 45 SRP-F310/312 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. Remarks: The same partial cut as this command is executed using ESC m and GS V.
  • Page 46 SRP-F310/312 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. Remarks: The same partial cut as this command is executed using ESC i and GS V.
  • Page 47 SRP-F310/312 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 48 SRP-F310/312 ESC t Function: Select character code table Code: ASCII Decimal Range: 0 ≤ n ≤ 5, 16 ≤ n ≤ 19, 21 ≤ n ≤ 31, 33 ≤ n ≤ 41, n=255 Default: For model not supporting Thai character: n=0...
  • Page 49 SRP-F310/312 Code page Page 26 1257 (Baltic) Page 27 Farsi 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 50 SRP-F310/312 ESC v Function : Transmit paper sensor status Code : ASCII Decimal 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: ■...
  • Page 51 SRP-F310/312 ESC { Function : Turns upside-down printing mode on/off Code : ASCII 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.
  • Page 52 SRP-F310/312 FS p Function : Print NV bit image Code : ASCII Decimal 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:...
  • Page 53 SRP-F310/312 Differences: SRP-F310: ■ DPI : Dots per Inch (25.4mm) Mode Vertical Dot Density (DPI) Horizontal Dot Density (DPI) Normal Double-width Double-height Quadruple SRP-F312: ■ DPI : Dots per Inch (25.4mm) Mode Vertical Dot Density (DPI) Horizontal Dot Density (DPI)
  • Page 54 SRP-F310/312 FS q Function: Define NV bit image Code: ASCII [xL xH yL yH d1...dk]1... [xL xH yL yH d1...dk]n [xL xH yL yH d1...dk]1... [xL xH yL yH d1...dk]n Decimal [xL xH yL yH d1...dk]1... [xL xH yL yH d1...dk]n Range: 1 ≤...
  • Page 55 SRP-F310/312 During the execution of this command, paper feed button, ASB and real time functions will not operate. ■ Bit image data and print result are as follows: • dY+1 … dY+2 … dk-2 … dk-1 dY x 2 …...
  • Page 56 SRP-F310/312 GS ! Function: Select character size Code: ASCII Decimal 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: ■...
  • Page 57 SRP-F310/312 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) 2 times...
  • Page 58 SRP-F310/312 GS $ Function: Set absolute vertical print position in page mode Code: ASCII Decimal 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)].
  • Page 59 SRP-F310/312 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 60 SRP-F310/312 GS ( L, GS 8 L Function : Select graphics data Code : ASCII [parameter] [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 61 SRP-F310/312 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 ■...
  • Page 62 SRP-F310/312 <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 63 SRP-F310/312 <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 64 SRP-F310/312 <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 65 SRP-F310/312 <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 66 SRP-F310/312 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.
  • Page 67 SRP-F310/312 <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 68 SRP-F310/312 <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:...
  • Page 69 SRP-F310/312 <Function 67> GS ( L pL pH m fn kc1 kc2 b xL xH yL yH [cd1…dk]1…[c d1…dk]b (fn=67) Code : ASCII 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 Decimal kc1 kc2 b xL xH yL yH [cd1…dk]1…[c d1…dk]b...
  • Page 70 SRP-F310/312 Description : 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).
  • Page 71 SRP-F310/312 <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 72 SRP-F310/312 <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 73 SRP-F310/312 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 74 SRP-F310/312 GS ( N Function: Select character color Code: ASCII Decimal Range: (pL + pH x 256) = 2 (pL=2, pH=0) n=48 m=49 (when the monochrome paper is selected) m=49,50 (when the two-color paper is selected) Default: m = 49 Description: This command selects the color specified by m.
  • Page 75 SRP-F310/312 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 76 SRP-F310/312 Function Function 165 QR CODE: Select the module Function 167 QR CODE: Select the size of module Function 169 QR CODE: Select the error correction level QR CODE: Store the data in the symbol Function 180 storage area QR CODE: Print the data in the symbol storage...
  • Page 77 SRP-F310/312 <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 Description: This command specifies the number of columns in the data area of PDF417.
  • Page 78 SRP-F310/312 <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 Description: This command specifies the number of rows in the data area of PDF417.
  • Page 79 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-F310: 0.141(1/180 inch) • SRP-F312: 0.125(1/203 inch) • BIXOLON - 79 - Rev. 1.01...
  • Page 80 SRP-F310/312 <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 81 SRP-F310/312 <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 Description: This command specifies the error correction level for PDF417.
  • Page 82 SRP-F310/312 <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 83 SRP-F310/312 <Function 080> GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII d1...dk d1...dk Decimal d1...dk Range: 4 ≤ (pL + pH x 256) ≤ 65535 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 255) cn=48...
  • Page 84 SRP-F310/312 <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 85 SRP-F310/312 The error correction code word calculated by modulus 929. • Pad codeword. • When automatic processing (Function 065) is specified, the number of columns is calculated using the following ■ information: Current printing area • Module width (Function 067) •...
  • Page 86 SRP-F310/312 <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 87 SRP-F310/312 <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 88 SRP-F310/312 <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 89 SRP-F310/312 <Function 180> GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII d1...dk d1...dk Decimal d1...dk Range: 4 ≤ (pL + pH x 256) ≤7092 (0 ≤ pL ≤ 255, 0 ≤ pH ≤ 27) cn=49 fn=80 m=48 0 ≤...
  • Page 90 SRP-F310/312 <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 91 SRP-F310/312 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 92 SRP-F310/312 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)] Range: 1 ≤ x ≤ 255 1 ≤ y ≤ 48 (where x x y ≤ 1536) 0 ≤...
  • Page 93 SRP-F310/312 GS / Function: Print downloaded bit image Code: ASCII Decimal 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.
  • Page 94 SRP-F310/312 Differences: SRP-F310: ■ DPI : Dots per Inch (25.4mm) Mode Vertical dot density(DPI) Horizontal dot density(DPI) 0, 48 Normal 1, 49 Double-width 2, 50 Double-height 3, 51 Quadruple SRP-F312: ■ DPI : Dots per Inch (25.4mm) Mode Vertical dot density(DPI)
  • Page 95 SRP-F310/312 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 ■...
  • Page 96 SRP-F310/312 GS B Function: Turns white/black reverse printing mode on / off Code: ASCII 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.
  • Page 97 SRP-F310/312 GS H Function: Selects print position of HRI characters Code: ASCII Decimal Range: 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 Default: n = 0 Description: This command selects the printing position of HRI (Human Readable Interpretation) characters when printing a bar ■...
  • Page 98 SRP-F310/312 GS I Function: Transmits printer ID Code: ASCII Decimal Range: 1 ≤ n ≤ 69 Default: None Description: This command transmits the printer ID or information. ■ Transmits 1 byte of printer ID, using n as follows: • Printer ID...
  • Page 99 SRP-F310/312 Differences: The printer ID is shown according to printer models as follows: ■ Printer ID SRP-F310 SRP-F312 1(Printer model ID) 0x20 0x20 Type ID varies depending on functions the printer supports as follows: - 0x01 (Multi-byte character) - 0x02 (Autocutter)
  • Page 100 SRP-F310/312 GS L Function: Set left margin Code: ASCII Decimal 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)].
  • Page 101 SRP-F310/312 GS V Function: Select cut mode and cut paper Code: ASCII ① Decimal ASCII ② Decimal Range: ① m=0, 1, 48, 49 ② m=65, 66, 0 ≤ n ≤ 255 Default: None Description: This command cuts paper in the specified mode as follows.
  • Page 102 SRP-F310/312 GS W Function: Set printing area width Code: ASCII Decimal Range: 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Default: SRP-F310: ■ (nL + nH x 256)=512 (nL=0, nH=2) (When 80mm width of paper used) SRP-F312: ■...
  • Page 103 SRP-F310/312 GS ^ Function: Execute macro Code: ASCII Decimal Range: 0 ≤ r ≤ 255 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 104 SRP-F310/312 GS a Function: Enable/Disable Automatic Status Back (ASB) Code: ASCII Decimal Range: 0 ≤ n ≤ 255 Default: n = 0 Description: This enables or disables ASB (Automatic Status Back) according to n. ■ ASB is enabled when n > 0.
  • Page 105 SRP-F310/312 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 106 SRP-F310/312 Third byte (paper sensor information) • Off/On Decimal Function Paper near end sensor: paper adequate Paper near end sensor: paper near end Paper end sensor: paper present Paper end sensor: no paper present Not used. Fixed to Off Not used. Fixed to Off Not used.
  • Page 107 SRP-F310/312 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 108 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. ■ Differences: Unit of one dot: SRP-F310: 0.141mm(1/180 inch) ■ SRP-F312: 0.125mm(1/203 inch) ■ BIXOLON - 108 -...
  • Page 109 SRP-F310/312 GS k Function: Print bar code Code: ASCII d1...dk d1...dk ① Decimal d1...dk ASCII d1...dn d1...dn ② Decimal d1...dn Range: ① 0 ≤ m ≤ 6 ② 65 ≤ m ≤ 73 K, m, n depend on the barcode system...
  • Page 110 SRP-F310/312 For range ② Bar Code System Range of k Range of d UPC-A 11 ≤ n ≤ 12 48 ≤ d ≤ 57 UPC-E 11 ≤ n ≤ 12 48 ≤ d ≤ 57 JAN13(EAN) 12 ≤ n ≤ 13 48 ≤...
  • Page 111 SRP-F310/312 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: The status is one byte.
  • Page 112 SRP-F310/312 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): •...
  • Page 113 SRP-F310/312 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 Range: 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 1 ≤ (xL + xH x 256) ≤ 128 (0 ≤ xL ≤ 128, xh=0) 1 ≤...
  • Page 114 SRP-F310/312 SRP-F310: Differences: ■ DPI : Dots per Inch (25.4mm) Mode Vertical dot density (DPI) Horizontal dot density (DPI) 0, 48 Normal 1, 49 Double-width 2, 50 Double-height 3, 51 Quadruple SRP-F312: ■ DPI : Dots per Inch (25.4mm) Mode...
  • Page 115 SRP-F310/312 GS w Function: Set bar code width Code: ASCII Decimal Range: 2 ≤ n ≤ 6 Default: n = 3 Description: This command sets the horizontal size of the bar code, using n as follows: ■ Multi-level bar code module...
  • Page 116 SRP-F310/312 Differences: SRP-F310: ■ Multi-level bar code module Binary-level bar code width (mm) Thin element width (mm) Thick element width (mm) 0.282 0.282 0.706 0.423 0.423 1.129 0.564 0.564 1.411 0.706 0.706 1.834 0.847 0.847 2.258 SRP-F312: ■ Multi-level bar code module...
  • Page 117 SRP-F310/312 BS F W Function: Download customized font Code: ASCII Decimal Range: n = 0, 1 65 ≤ m ≤ 67 ( m = 65, 66 ,67) Default: None Description: Download customized font using the function number of n, m.
  • Page 118 SRP-F310/312 Differences: None BS F R Function: Read customized font Code: ASCII Decimal Range: 14 ≤ n ≤ 255 65 ≤ m ≤ 67 ( m = 65, 66 ,67) Default: None Description: customized font using the function number of n, m.
  • Page 119 SRP-F310/312 Differences: None BS F C Function: Clear( Erase ) customized font Code: ASCII Decimal Range: 14 ≤ n ≤ 255 65 ≤ m ≤ 67 ( m = 65, 66 ,67) Default: None Description: Erase customized font using the function number of n, m.
  • Page 120 SRP-F310/312 BS F I Function: Transmit customized font Code: ASCII Decimal Range: None Default: n = 1, 49 Description: nTransmit customized font information specified. ■ Hexadecimal Decimal Amount of data Header 1 byte Data 30H,31H 48,49 1-8 byte(s) 1 byte...
  • Page 121 SRP-F310/312 Differences: None BS M Function: Select device font type Code: ASCII Decimal Range: 65 ≤ m ≤ 67 ( m = 65,66,67) Default: n = 0 Description: This command selects print mode(s) with bits having following meanings: ■ Off/On...
  • Page 122 SRP-F310/312 BS V Function : Select cut mode and cut paper Code : ASCII ① Decimal ASCII ② Decimal Range: ① m=0, 1, 48, 49 ② m=65, 66, 0 ≤ n ≤ 255 Default: None Description : This command cuts paper in the specified mode as follows.
  • Page 123 SRP-F310/312 Vertical motion unit is used for calculating a paper feed amount. ■ Function 0,48 Executes a full cut (cuts the paper completely) ① 1,49 Executes a partial cut (one point left uncut) Feeds paper to (cutting position + n × vertical motion unit) and executes a full cut(cuts the paper completely) ②...
  • Page 124 SRP-F310/312 BS W D Function : Define watermark 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 Range: 1 ≤ n ≤ 255 1 ≤...
  • Page 125 SRP-F310/312 Remarks : After completion of this command, the printer executes a software reset to restore the settings as when turned on. ■ The watermark image is selected by BS W E. ■ During the execution of this command, paper feed button, ASB and real time functions will not operate.
  • Page 126 SRP-F310/312 BS W E Function : Select watermark printing function Code : ASCII Decimal Range: 0 ≤ n ≤ 255 Default: n = 0 Description : When n = 0 then watermark function is disabled. ■ n is assigned to each watermark image to be stored in download order by BS W D.
  • Page 127 Default: n = 0 Description: If the value of n is 1,the printer enter the BIL(Bixolon Interactive Linker) mode. If the button of BIL(Bixolon Interactive ■ Linker) is pressed,the printer transmits specified key data to host automatically. the button of BIL(Bixolon Interactive Linker) information consist of [Header ~ NULL] data as shown below: ■...
  • Page 128 SRP-F310/312 BS DC1 % (fn = 3) Function: Select reverse printing function Code: ASCII Decimal Range: 0 ≤ n ≤ 2 Default: n = 0 Description: When the printer receives Reverse Printing Start command (n = 1), the data will be stored in receive buffer until it ■...

This manual is also suitable for:

Srp-f312