Download Print this page

Advertisement

Quick Links

SRP-QE300/302
Command Manual
Rev. 1.01
http://www.bixolon.com

Advertisement

loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for BIXOLON SRP-QE300/302

  • Page 1 SRP-QE300/302 Command Manual Rev. 1.01 http://www.bixolon.com...
  • Page 2 SRP-QE300/302 ■ 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 - 2 - BIXOLON 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-QE300/302 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 5 SRP-QE300/302 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 6: Command Description Items

    SRP-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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. ■ The printer is returned to standard mode after completion of printing.
  • Page 10 SRP-QE300/302 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 - 10 - BIXOLON...
  • Page 11 SRP-QE300/302 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 12 SRP-QE300/302 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 13 SRP-QE300/302 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 Printing is being stopped...
  • Page 14 SRP-QE300/302 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 15 SRP-QE300/302 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 16 SRP-QE300/302 ESC SP Function: Set the character right space Code: ASCII Decimal 0 ≤ n ≤ 255 Range: Default: n = 0 ■ This command sets the size of space to right of character. Description: • Right space = n × [horizontal motion units].
  • Page 17 SRP-QE300/302 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 18 SRP-QE300/302 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 SRP-QE300/302 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 20 SRP-QE300/302 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-QE300/302 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 22 SRP-QE300/302 ■ SRP-QE302 : 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...
  • Page 23 SRP-QE300/302 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 SRP-QE300/302 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. ■ The line spacing can be set independently in standard mode and in page mode.
  • Page 25 SRP-QE300/302 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: •...
  • Page 26 SRP-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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: •...
  • Page 39 SRP-QE300/302 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 40 SRP-QE300/302 ■ The horizontal and vertical starting positions are out of the printable area, this command is canceled and the following Remarks: data is processed as normal data. ■ If (Horizontal starting position + Horizontal printing area width) is beyond the printable area, the Horizontal printing area width is set to (Horizontal printing area - Horizontal starting position).
  • Page 41 SRP-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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-QE300/302 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 ≤ 50, n=255 Range: Default:...
  • Page 48 SRP-QE300/302 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-QE300/302 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: •...
  • Page 50 SRP-QE300/302 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-QE300/302 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-QE300/302 ■ SRP-QE300 : Differences: DPI : Dots per Inch (25.4mm) Mode Vertical Dot Density (DPI) Horizontal Dot Density (DPI) Normal Double-width Double-height Quadruple ■ SRP-QE302 : DPI : Dots per Inch (25.4mm) Mode Vertical Dot De sity (DPI) orizontal Dot Density (DPI)
  • Page 53 SRP-QE300/302 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-QE300/302 ■ 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-QE300/302 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-QE300/302 • 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-QE300/302 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-QE300/302 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-QE300/302 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). Format Function...
  • Page 60 SRP-QE300/302 ■ 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-QE300/302 <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-QE300/302 <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-QE300/302 <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-QE300/302 <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-QE300/302 ■ 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-QE300/302 <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-QE300/302 <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-QE300/302 <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) kc1 kc2 b xL xH yL yH [c d1…dk]1…[c d1…dk]b Code: ASCII kc1 kc2 b xL xH yL yH [c d1…dk]1…[cd1…dk]b kc1 kc2 b xL xH yL yH [c d1…dk]1…[c d1…dk]b...
  • Page 69 SRP-QE300/302 ■ If new NV graphics data is saved or the existing data is modified, all of the existing data in NV graphics memory are Remarks: 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-QE300/302 <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-QE300/302 <Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1…dk (fn=112) a bx by c xL xH yL yH d1…dk Code: ASCII a bx by c xL xH yL yH d1…dk a bx by c xL xH yL yH d1…dk...
  • Page 72 SRP-QE300/302 ■ This command stores the raster graphics data in the print buffer, enlarged by bx and by in the horizontal and vertical Description: directions. • xL, xH specifies the raster graphics data in the horizontal directionas (xL + xH x 256) dots.
  • Page 73 SRP-QE300/302 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-QE300/302 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-QE300/302 ■ The same symbol data is repeatedly printed by executing Function 081 after performing Function 080. ■ The same symbol data is printed differently by executing Function 081 after setting the feature of the symbol by using Functions 065 through 070.
  • Page 76 SRP-QE300/302 DATAMATRIX Symbol Data (cn=61) ■ The symbol data is defined, stored to the symbol storage area by Function 580 and printed by the specification of Function 581. The symbol data in the area remains reserved until the following processes are executed: •...
  • Page 77 SRP-QE300/302 <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 78 SRP-QE300/302 <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 79 SRP-QE300/302 <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 1 ≤ n ≤ 4 Default: n = 3 Description: This command sets the width of the module of PDF417 symbol to n dots.
  • Page 80 SRP-QE300/302 <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-QE300/302 <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 82 SRP-QE300/302 <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-QE300/302 <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 84 SRP-QE300/302 <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-QE300/302 ■ 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 86 SRP-QE300/302 <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-QE300/302 <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-QE300/302 <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-QE300/302 <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 90 SRP-QE300/302 <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-QE300/302 ■ 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-QE300/302 <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 1 ≤ n ≤ 8 Default: Description: This command sets the 2-dimensional GS1 DataBar size.
  • Page 93 SRP-QE300/302 <Function 380> GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII d1...dk d1...dk Decimal d1...dk 6 ≤ (pL + pH x 256) ≤ 259 (0≤ pL ≤255, pH = 0, 1) Range: cn=51 fn=80 m=48 n=72, 73, 76 0 ≤...
  • Page 94 SRP-QE300/302 <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 2-dimensional GS1 DataBar symbol data saved in the storage area.
  • Page 95 SRP-QE300/302 <Function 467> GS ( k pL pH cn n (fn=67) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL=3, pH=0) cn=52 fn=67 1 ≤ n ≤ 8 Default: Description: This command sets the Composite Symbology size.
  • Page 96 SRP-QE300/302 <Function 480> GS ( k pL pH cn fn m d1...dk (fn=80) Code: ASCII d1...dk d1...dk Decimal d1...dk 7 ≤ (pL + pH x 256) ≤ 504 (0≤ pL ≤255, pH = 0, 1) [When a = 48] Range: 8 ≤...
  • Page 97 SRP-QE300/302 ■ (When a = 49) b selects the type of 2-dimensional synthetic element. 2-dimensional synthetic element CC-A, CC-B, or CC-C is automatically selected depending on the number of digits. Fixed to CC-C.(Only GS1-128) Remarks: ■ The data stored to the symbol storage area by this command is executed by Function 481. The data remains reserved in the symbol storage area.
  • Page 98 SRP-QE300/302 <Function 481> GS ( k pL pH cn fn m (fn=81) Code: ASCII Decimal Range: pL + pH x 256) = 3 (pL=3, pH=0) cn=52 fn=81 m=48 Default: None Description: This command encodes and prints Composite Symbology symbol data saved in the storage area.
  • Page 99 SRP-QE300/302 <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 100 SRP-QE300/302 <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 101 SRP-QE300/302 <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 102 SRP-QE300/302 ■ 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 103 SRP-QE300/302 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 104 SRP-QE300/302 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 105 SRP-QE300/302 ■ SRP-QE300 : 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-QE302 : DPI : Dots per Inch (25.4mm) Mode...
  • Page 106 SRP-QE300/302 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 107 SRP-QE300/302 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 108 SRP-QE300/302 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 109 SRP-QE300/302 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 110 SRP-QE300/302 ■ The printer ID is shown according to printer models as follows: Differences: Printer ID SRP-QE300/302 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 111 SRP-QE300/302 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 112 SRP-QE300/302 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 113 SRP-QE300/302 GS W Function: Set printing area width Code: ASCII Decimal 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Range: ■ SRP-QE300 : Default: (nL + nH x 256)=512 (nL=0, nH=2) (When 80mm width of paper used) ■ SRP-QE302 :...
  • Page 114 SRP-QE300/302 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 115 SRP-QE300/302 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 116 SRP-QE300/302 ■ 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 117 SRP-QE300/302 • 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 118 SRP-QE300/302 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 119 SRP-QE300/302 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. ■ The unit of n depends on the printer model.
  • Page 120 SRP-QE300/302 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 121 SRP-QE300/302 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 122 SRP-QE300/302 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 123 SRP-QE300/302 • 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 - 123 - BIXOLON Rev. 1.01...
  • Page 124 SRP-QE300/302 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 125 SRP-QE300/302 ■ SRP-QE300 : 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-QE302 : DPI : Dots per Inch (25.4mm)
  • Page 126 SRP-QE300/302 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 127 SRP-QE300/302 ■ SRP-QE300 : Differences: 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-QE302 :...
  • Page 128 SRP-QE300/302 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 129 SRP-QE300/302 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.
  • Page 130 SRP-QE300/302 BS ^ P Function: Set power saving mode Code: ASCII Decimal Range: None Default: None ■ Set the power saving mode for low power consumption. Description: ■ When the printer is entered power saving mode, printer is wait external interrupt.
  • Page 131 SRP-QE300/302 <Function 48> BS ^ P fn (fn=0,48) Code: ASCII Decimal fn=0,48, 0 ≤ m ≤ 1 Range: 5 ≤ t ≤ 255 Default: m = 1, t = 20 ■ Set the power saving mode and time to change the sataus of printer.
  • Page 132 SRP-QE300/302 <Function 49> BS ^ P fn (fn=1,49) Code: ASCII Decimal Range: fn=1,49 Default: None ■ Read the power saving mode satatus and sleep time. Description: Remarks: ■ Power saving data is consist of [Header ~ NULL] data as shown below:...
  • Page 133 SRP-QE300/302 BS SO S # RS m n Function: Transmit maintenance counter Code: ASCII Decimal Range: m = 1, n = 99, 102, 104 Default: None ■ Transmits the value of the maintenance counter specified by n. Description: Maintenance counter (Units) Deciamal Number of autocutter operations.(Times)
  • Page 134 SRP-QE300/302 BS DC1 % fn n (fn=3) Function: Select reverse printing function Code: ASCII Decimal fn = 3, 1 ≤ n ≤ 2 Range: Default: None ■ When the printer receives Reverse Printing Start command (n = 1), the data will be stored in receive buffer until it Description: receives Reverse Printing End command (n = 2).