BIXOLON products, provided that such proprietary information may not be used, reproduced, or disclosed to any other parties for any other purpose without the prior written permission of BIXOLON Corporation. BIXOLON has no liability for loss or damage arising from or relating to your use of or reliance on the information in the document.
BK5-3 2. Control Commands List in Alphanumeric Order Command Function Command Function Horizontal tab ESC S Select standard mode Print and line feed ESC T Select print direction in page mode Form feed (in page mode) ESC V Turn 90° clockwise rotation mode on/off...
Page 5
BK5-3 Command Function GS I Transmit printer ID GS L Set left margin GS V Select cut mode and executes a full cut GS W Set print area width GS ^ Execute macro GS a Enable/Disable Automatic Status Back (ASB)
Page 6
BK5-3 [ Special Commands ] Command Function ESC H Real-time transmit status ESC Q Transmit printer ID GS P Set bar code alignment GS l Print QR code * These commands are effective only when the Emulation2,4,5 function is valid.
BK5-3 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...
BK5-3 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
BK5-3 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
BK5-3 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. In standard mode, this prints the data in the print buffer and feeds paper to the TOF postion (the black mark).
Page 11
BK5-3 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. Reference: BIXOLON - 11 - Ver. 1.01...
Page 12
BK5-3 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 13
BK5-3 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 14
BK5-3 ■ Printer transmits the following status n=1: Printer status Off/On Decimal Status Not used. Fixed to Off Not used. Fixed to On Not used. Fixed to Off Online Offline Not used. Fixed to On Not used. Fixed to Off Not used.
Page 15
BK5-3 n=3: Error status Off/On Decimal Status Not used. Fixed to Off Not used. Fixed to On Not used. Fixed to Off No autocutter error Autocutter error occurred Not used. Fixed to On No Jam Paper Jam Not used. Fixed to Off Not used.
Page 16
BK5-3 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
BK5-3 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
BK5-3 ■ The entire character print width is underlined, but the space skipped by HT is not. ■ If both double width and double height are selected, the characters will be quadrupled. Reference: ESC -, ESC E, GS ! BIXOLON - 18 - Ver.
Page 19
BK5-3 ESC $ Function: Set absolute print position Code: ASCII Decimal Range: 0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nH ≤ 255, 0 ≤ nL ≤ 255) Default: None Description: This command specifies the next print starting position in reference to the left edge of the print area. The printing start position is calculated using (nL + nH x 256) x (horizontal motion units).
Page 20
BK5-3 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 significant bit should be defined like following.
Page 21
BK5-3 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 23
BK5-3 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 24
BK5-3 • k denotes the number of horizontal dots. Remarks: ■ If the bit image data being entered is beyond the number of dots to be printed, the surplus will be discarded. ■ If the value of m is beyond the conditions, the subsequent data after m will be treated as normal data.
Page 25
BK5-3 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 26
BK5-3 ESC 2 Function: Select default line spacing Code: ASCII Decimal Range: None Default: Default line spacing: 3.75 mm (30 dots) Description: This command sets the default line spacing The default line spacing is approximately 3.75 mm, which is equivalent to 30 dots.
Page 27
BK5-3 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 28
BK5-3 ESC = Function: Select peripheral device Code: ASCII Decimal Range: 1 ≤ n ≤ 3, n = 16, n = 32, n = 48 Default: None Description: This command selects the device to which the host computer communicates according to n as follows:...
Page 29
BK5-3 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 30
BK5-3 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 31
BK5-3 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 32
BK5-3 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 33
BK5-3 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 34
BK5-3 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]. • Vertical motion unit and maximum feed amount:...
Page 35
BK5-3 ESC L Function: Select page mode Code: ASCII Decimal Range: None Default: None Description: This command switches from standard mode to page mode. Remarks: ■ For printing in page mode, ESC T defines the print direction and starting position that is within the print area specified by ESC W.
Page 36
BK5-3 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 37
BK5-3 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 Japan...
Page 38
BK5-3 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 39
BK5-3 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 41
BK5-3 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 42
BK5-3 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 43
BK5-3 following data is processed as normal data. ■ If (Horizontal starting position + Horizontal printing area width) is beyond the printable area, the Horizontal printing area width is set to (Horizontal printing area - Horizontal starting position). ■ If (Vertical starting position + Vertical printing area width) is beyond the printable area, the Vertical printing area width is set to (Vertical printing area - Vertical starting position).
Page 44
BK5-3 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 motion unit].
Page 45
BK5-3 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 46
BK5-3 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 47
BK5-3 ESC i Function: Full cut Code: ASCII Decimal Range: None Default: None Description: This command executes a full cut of the paper. (cuts the paper completely) Remarks: ■ The same full cut as this command is executed using ESC m and GS V.
Page 48
BK5-3 ESC m Function: Full cut Code: ASCII Decimal Range: None Default: None Description: This command executes a full cut of the paper with.(cuts the paper completely) Remarks: ■ The same full cut as this command is executed using ESC i and GS V.
Page 49
BK5-3 ESC t Function: Select character code table Code: ASCII Decimal Range: 0 ≤ n ≤ 5, 16 ≤ n ≤ 19, 21 ≤ n ≤ 31, 33 ≤ n ≤ 42, n = 47, 49 ≤ n ≤ 50, n = 255...
Page 51
BK5-3 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 52
BK5-3 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. Upside-down mode Turned off...
Page 53
BK5-3 FS p Function: Print NV bit image Code: ASCII Decimal Range: 1 ≤ n ≤ 255 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 Description: This command prints NV bit image n using the mode specified by m as follows:...
Page 55
BK5-3 Remarks: ■ GS ( L and GS ( 8 can be used for defining NV bit image. ■ 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 ■...
Page 56
BK5-3 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
BK5-3 • 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
BK5-3 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
BK5-3 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
BK5-3 ■ After completion of this command, a software reset is executed automatically to restore the printer status set during power cycling. ■ All of the data transmitted from the host to the printer is printed and identified in hexadecimal dump mode.
Page 61
BK5-3 GS ( E Function: Set NV user memory area Code: ASCII [parameter] [parameter] Decimal [parameter] Range: None Default: None Description: This command stores the customized values to the NV user memory area and uses them for the printer operation. The table below explains the functions available in this command. Executes commands related to the user setting mode by specifying the function code fn.
Page 62
BK5-3 Remarks: ■ pL, pH is used to set the number of bytes following pH to (pL + pH x 256). ■ The change in the items of the NV user memory is available only after entering the user setting mode.
Page 66
BK5-3 Print speed Remark 150mm/s Default 130mm/s 120mm/s 100mm/s • Print density selection using the memory switch 1-6 through 1-8. Print density Remark 120% 115% 110% 105% 100% Default BIXOLON - 66 - Ver. 1.01...
Page 67
BK5-3 ■ The setting items of the memory switch 2 are as follows: Switch Function MSW 2-1 Specification for destination Double byte country Single byte country MSW 2-2 Reserved Fixed to OFF MSW 2-3 MSW 2-4 MSW 2-5 Select code page...
Page 69
BK5-3 ■ The setting items of the memory switch 3 are as follows: Switch Function MSW 3-1 MSW 3-2 Select emulation * Refer to following table MSW 3-3 MSW 3-4 Reserved Fixed to OFF Printing mode for Thai MSW 3-5...
Page 70
BK5-3 ■ The setting items of the memory switch 4 are as follows: Switch Function MSW 4-1 Swap font B and C Enable Disable MSW 4-2 Printer buffer initialization Enable Disable MSW 4-3 Select single byte font * Refer to following table...
Page 71
BK5-3 ■ The setting items of the memory switch 5 are as follows: Switch Function MSW 5-1 Auto cutter selection Disable Enable MSW 5-2 Reserved Fixed to OFF MSW 5-3 Paper save mode selection * Refer to following table MSW 5-4...
Page 72
BK5-3 ■ The setting items of the memory switch 6 are as follows: Switch Function MSW 6-1 Internal buzzer control Enable Disable Auto internal buzzer after MSW 6-2 Enable Disable cutting MSW 6-3 Auto internal buzzer times 1 time 3 time...
Page 73
BK5-3 ■ The setting items of the memory switch 7 are as follows: Switch Function MSW 7-1 MSW 7-2 Print width selection * Refer to following table MSW 7-3 MSW 7-4 Black mark mode selection Enable Disable Black mark paper near-end...
Page 74
BK5-3 ■ The setting items of the memory switch 8 are as follows: Switch Function MSW 8-1 Data length 7 bits 8 bits MSW 8-2 Parity check MSW 8-3 Parity selection Even MSW 8-4 Data receive error Ignore Print “?”...
Page 75
BK5-3 ■ The setting items of the memory switch 9 are as follows: Switch Function MSW 9-1 Serial communication flow * Refer to following table MSW 9-2 control MSW 9-3 Reserved Fixed to OFF MSW 9-4 Reserved Fixed to OFF...
Page 76
BK5-3 ■ The setting items of the memory switch 10 are as follows: Switch Function MSW 10-1 Reserved Fixed to OFF MSW 10-2 Reserved Fixed to OFF MSW 10-3 Feed motor back feeding Enable Disable Feed motor back feeding length MSW 10-4 Max.
Page 77
BK5-3 ■ The setting items of the memory switch 11 are as follows: Switch Function MSW 11-1 ~ 8 Reserved Fixed to OFF ■ The setting items of the memory switch 12 are as follows: Switch Function MSW 12-1 MSW 12-2...
Page 78
BK5-3 ■ The setting items of the memory switch 13 are as follows: Switch Function MSW 13-1 Select presenter mode Enable Disable Select presenter auto eject MSW 13-2 Enable Disable mode MSW 13-3 Select presenter taken mode Enable Disable MSW 13-4...
Page 79
BK5-3 turns off. * b) After the paper is ejected from the presenter, the LED blinks, and when the paper is received from the presenter, the LED turns off. * c) The LED turns on when printing starts and changes when the paper is ejected from the presenter.
Page 80
BK5-3 ■ The setting items of the memory switch 15 are as follows: Switch Function MSW 15-1 ~ 8 Reserved Fixed to OFF ■ The setting items of the memory switch 16 are as follows: Switch Function MSW 16-1 ~ 8...
Page 81
BK5-3 <Function 4> GS ( E pL pH fn a (fn=4) Code: ASCII Decimal Range: (pL + pH x 256) = 2 (pL = 2, pH = 0) fn = 4 a = 1~14 Default: None Description: This command transmits the setting value of the memory switch corresponding to a.
Page 82
BK5-3 <Function 12> GS ( E pL pH fn a (fn=12) Code: ASCII Decimal Range: (pL + pH x 256) = 2 (pL = 2, pH = 0) fn = 12 a = 1~4 Description: Transmits the configuration item for the serial interface specified by...
Page 83
BK5-3 “Setting value" is transmits as follows: Communication item Function Specification (Hex) Amount of Data 115,200 bps 31H, 31H, 35H, 32H, 30H, 30H 57,600 bps 35H, 37H, 36H, 30H, 30H, 00H 38,400 bps 33H, 38H, 34H, 30H, 30H, 00H Baud rate...
Page 84
BK5-3 GS ( L, GS 8 L Function: Select graphics data Code: ASCII [parameter] [parameter] Decimal [parameter] ASCII [parameter] [parameter] Decimal [parameter] Range: None Default: None Description: This command processes graphics data according to the function code (fn). Format Function...
Page 85
BK5-3 Remarks: ■ This command is adapted to print image data. ■ pL, pH specifies the number of bytes following pH using (pL + pH x 256). ■ Since frequent writing operation could cause the damage to the NV memory, it is recommended to write only when being required.
Page 86
BK5-3 <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 87
BK5-3 <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 88
BK5-3 <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 90
BK5-3 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 93
BK5-3 <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 94
BK5-3 • 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) dots. • yL and yH specify the number of dots in horizontal direction to (yL + yH x 256) dots.
Page 95
BK5-3 <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 ≤...
BK5-3 <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 97
BK5-3 vertical directions. • xL, xH specifies the raster graphics data in the horizontal directionas (xL + xH x 256) dots. • yL, yH specifies the raster graphics data in the vertical direction to (yL + yH x 256) dots.
BK5-3 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 99
BK5-3 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 100
BK5-3 Function 566 AZTEC CODE: error level setting Function 567 AZTEC CODE: mode selection Function 580 AZTEC CODE: saving of symbol data in storage area Function 581 AZTEC CODE: Print the data in the symbol storage area AZTEC CODE: Transmit the size information of the symbol data in the...
Page 101
BK5-3 ■ 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. ■ The same symbol data is repeatedly printed by executing Function 181 after performing Function 180.
Page 102
BK5-3 AZTEC CODE Symbol Data (cn=53) ■ 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 107
BK5-3 <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...
Page 108
BK5-3 ■ Error correction level specified by “level” (m=48) is as follows: The number of the error correction codeword is unchanged regardless of the number of codeword in the data area. Function Number of error correction codeword Error correction level 0...
Page 111
BK5-3 <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 112
BK5-3 ■ 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 113
BK5-3 <Function 082> GS ( k pL pH cn fn m (fn=82) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 48 fn = 82 m = 48 Description: Transmits the size information for the encoded PDF417 symbol data in the symbol storage area using the process of <Function 080>.
Page 114
BK5-3 vertical size and horizontal size is converted to text data and sent starting from the high order end. (ex: When horizontal size is 120 dots, horizontal size is "120" (in hexadecimal: 31h, 32h, and 30h / in decimal: 49, 50, and 48 ), which is 3 bytes of data.) (*2) "Other information"...
Page 119
BK5-3 <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 120
BK5-3 • Position sensor pattern • Segregator for the position sensor pattern • Timing pattern • Format information • Version information • Error correction code text • Pad code text • Indicator for counting bits of bytes • Mode indicator •...
Page 121
BK5-3 <Function 182> GS ( k pL pH cn fn m (fn=82) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 48 fn = 82 m = 48 Description: Transmits the size information for the encoded QR Code symbol data in the symbol storage area using the process of <Function 180>.
Page 122
BK5-3 vertical size and horizontal size is converted to text data and sent starting from the high order end. (ex: When horizontal size is 120 dots, horizontal size is "120" (in hexadecimal: 31h, 32h, and 30h / in decimal: 49, 50, and 48 ), which is 3 bytes of data.) (*2) "Other information"...
Page 125
BK5-3 <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 126
BK5-3 <Function 382> GS ( k pL pH cn fn m (fn=82) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 51 fn = 82 m = 48 Description: Transmits the size information for the encoded 2-dimensional GS1 DataBar symbol data in the symbol storage area using the process of <Function 380>.
Page 127
BK5-3 vertical size and horizontal size is converted to text data and sent starting from the high order end. (ex: When horizontal size is 120 dots, horizontal size is "120" (in hexadecimal: 31h, 32h, and 30h / in decimal: 49, 50, and 48 ), which is 3 bytes of data.) (*2) "Other information"...
Page 130
BK5-3 Description: This command stores Composite Symbology symbol data in the symbol storage area. ■ (When a = 48) b specifies the type of straight line element. Type of straight line element EAN8 EAN13 UPC-A UPC-E GS1 DataBar Omnidirectional GS1 DataBar Turncated...
Page 131
BK5-3 <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 132
BK5-3 <Function 482> GS ( k pL pH cn fn m (fn=82) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 52, fn = 82 m = 48 Description: Transmits the size information for the encoded Composite Symbology in the symbol storage area using the process of <Function 480>.
Page 133
BK5-3 (*1) "Horizontal size" and "vertical size" indicate the number of dots of the symbol. The decimal value of the vertical size and horizontal size is converted to text data and sent starting from the high order end. (ex: When horizontal size is 120 dots, horizontal size is "120" (in hexadecimal: 31h, 32h, and 30h / in decimal: 49, 50, and 48 ), which is 3 bytes of data.)
Page 138
BK5-3 <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 = 53 fn = 81 m = 48 Default: None Description: This command encodes and prints AZTEC CODE symbol data saved in the storage area.
Page 139
BK5-3 <Function 582> GS ( k pL pH cn fn m (fn=82) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 52, fn = 82 m = 48 Description: Transmits the size information for the encoded AZTEC CODE symbol data in the symbol storage area using the process of <Function 580>.
Page 140
BK5-3 vertical size and horizontal size is converted to text data and sent starting from the high order end. (ex: When horizontal size is 120 dots, horizontal size is "120" (in hexadecimal: 31h, 32h, and 30h / in decimal: 49, 50, and 48 ), which is 3 bytes of data.) (*2) "Other information"...
Page 143
BK5-3 <Function 681> 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 Description: This command encodes and prints DATAMATRIX symbol data saved in the storage area.
Page 144
BK5-3 the symbol. The printing position returns to the left side of the printable area after printing the symbol. ■ In page mode, the printer stores the symbol data in the print buffer without executing actual printing. ■ The quiet zone is not included in the printing data. Be sure to include the adequate quiet zone for executing of this command.
Page 145
BK5-3 <Function 682> GS ( k pL pH cn fn m (fn=82) Code: ASCII Decimal Range: (pL + pH x 256) = 3 (pL = 3, pH = 0) cn = 61, fn = 82 m = 48 Description: Transmits the size information for the encoded DataMatrix symbol data in the symbol storage area using the process of <Function 680>.
Page 146
BK5-3 vertical size and horizontal size is converted to text data and sent starting from the high order end. (ex: When horizontal size is 120 dots, horizontal size is "120" (in hexadecimal: 31h, 32h, and 30h / in decimal: 49, 50, and 48 ), which is 3 bytes of data.) (*2) "Other information"...
Page 147
BK5-3 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 148
BK5-3 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 150
BK5-3 GS : Function: Start/end macro definition Code: ASCII Decimal Range: None Default: None Description: ■ This command starts or ends macro definition. Remarks: ■ The printer starts macro definition during normal operation and finishes it during macro definition upon receiving this command.
Page 151
BK5-3 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 152
BK5-3 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 code.
Page 153
BK5-3 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 154
BK5-3 Transmitted data Decimal Amount of data Header 1byte Printer information Depends on the model Depends on the model 0-15 bytes 1byte ■ The firmware version can be confirmed by self test printing. ■ The printer ID is shown according to printer models as follows:...
Page 155
BK5-3 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 156
BK5-3 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 Description: This command cuts paper in the specified mode as follows.
Page 157
BK5-3 Feeds paper to the TOF position (black mark) when n = 0, then cuts the paper. Feeds paper [n x vertical motion unit] beyond the TOF position (black mark) when n ≠ 0, then cuts the paper. The TOF position (black mark) varies according to the paper used and to customer specifications.
Page 158
BK5-3 GS W Function: Set printing area width Code: ASCII Decimal Range: 0 ≤ nL ≤ 255, 0 ≤ nH ≤ 255 Default: (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 159
BK5-3 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 160
BK5-3 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 161
BK5-3 ■ The printer information transmitted is comprised of 4 bytes as follows: • First byte(printer information) Off/On Decimal Function Not used. Fixed to Off Not used. Fixed to Off Not used. Fixed to Off On-line Off-line Not used. Fixed to On...
Page 162
BK5-3 • 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...
Page 163
BK5-3 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...
Page 164
BK5-3 GS h Function: Selects bar code height Code: ASCII Decimal Range: 1 ≤ n ≤ 255 Default: n = 162 Description: This command sets the height of the bar code to n dots. • Unit of one dot: 0.125mm(1/203 inch) Remarks: ■...
Page 165
BK5-3 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, 9 ② 65 ≤ m ≤ 73 k, m, n depend on the barcode system Description: ■...
Page 166
BK5-3 Bar Code System Range of k Range of d UPC-A 11 ≤ k ≤ 12 48 ≤ d ≤ 57 UPC-E 11 ≤ k ≤ 12 48 ≤ d ≤ 57 JAN13(EAN) 12 ≤ k ≤ 13 48 ≤ d ≤ 57 JAN8(EAN) 7 ≤...
Page 167
BK5-3 Remarks: ■ The bar code width exceeding the print area can not be specified. ■ Except for character size and upside-down printing mode, none of print mode such as emphasized, double- strike, etc, affects the printing of the barcode.
Page 168
BK5-3 GS r Function: Transmit status Code: ASCII Decimal Range: n = 1, 49 Default: None Description: The command transmits the status specified by n as follows: Function 1, 49 Transmits paper sensor status Remarks: ■ The status is one byte.
Page 169
BK5-3 the status of bit 2 (1) and bit 3 (1) is not transmitted. ■ This command can be executed in real-time mode using DLE. Reference: DLE EOT BIXOLON - 169 - Ver. 1.01...
Page 171
BK5-3 beginning of the line. If the buffer is not empty, after processing m, the printer treats the following data as normal data. ■ In page mode, the bit image is stored in the print buffer, not being printed. ■ None of the print modes such as emphasized, double-strike, etc, affects the printing of the bit image.
Page 172
BK5-3 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: Binary-level bar code...
Page 173
BK5-3 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 Decimal...
Page 174
BK5-3 BS V Function: Select cut mode and cut paper Code: ASCII ① Decimal ASCII ② Decimal Range: ② m = 65, 66, 0 ≤ n ≤ 255 ① m = 0, 1, 48, 49 Default: None Description: This command cuts paper in the specified mode as follows.
Page 175
BK5-3 ■ 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 full cut (cuts the paper completely) Feeds paper to (cutting position + n × vertical motion unit) and executes a full cut (cuts the paper completely) ②...
Page 176
BK5-3 GS FF Function: Top of form of mark paper Code: ASCII Decimal Description: ■ This command is effective only when BM is valid. This command is ignored when BM is invalid. ■ This command is enabled only when at the top of the line.
Page 177
BK5-3 GS < Function: Mechanically initialize printer Code: ASCII < Decimal Description: Cuts paper after feeding to the TOF (black mark) ■ Does not affect other settings. ■ This command is effective in standard mode and page mode. The TOF positon(black mark) varies according to the paper used and to customer specifications.
Page 178
BK5-3 GS ( F pL pH a m nL nH Function: Set black mark adjustment value Code: ASCII Decimal Range : (pL + pH x 256) = 4, pL = 4, pH = 0, 1 ≤ a ≤ 2, m = 0, 48 0 ≤...
Page 179
BK5-3 ■ GS V m n ■ Because this command is executed when processing a normal command after it is stored once in the reception buffer, there may be a delay between the reception of the command from the reception buffer to the actual operation.
Page 180
BK5-3 GS ( M pL pH n m (Function code : n = 1, 49) Function: Save black mark adjustment value Code: ASCII Decimal Range : (pL + pH x 256) = 2, pL = 2, pH = 0 n = 1, 49 1 ≤...
Page 181
BK5-3 GS ( M pL pH n m (Function code : n = 2, 50) Function: Load black mark adjustment value Code: ASCII Decimal Range : (pL + pH x 256) = 2, pL = 2, pH = 0 n = 2, 50 1 ≤...
Page 182
BK5-3 GS ( M pL pH n m (Function code : n = 3, 51) Function: Set black mark adjustment value auto-load when powering on Code: ASCII Decimal Range : (pL + pH x 256) = 2, pL = 2, pH = 0 n = 3, 51 1 ≤...
Page 183
BK5-3 GS ( M pL pH n m (Function code : n = 255) Function: Transmit black mark adjustment value Code: ASCII Decimal Range : (pL + pH x 256) = 2, pL = 2, pH = 0 n = 255 0 ≤...
Page 184
BK5-3 (ex: 01H = 1st adjustment value of the non-volatile memory) ■ Black mark information (When m = 49, 50, 51) consist of [Header ~ NULL] data as shown below: Transmitted data Decimal Amount of data Header 1byte Selection 00 or 01...
Page 185
BK5-3 ESC H Function: Transmit printer status Code: ASCII Decimal Description: The command transmits the status specified Remarks: ■ The status is two byte. ■ The status to be transmitted is as follows: Response data byte byte Function Normal status...
Page 186
BK5-3 ESC Q Function: Transmits printer ID Code: ASCII Decimal Range: 65 ≤ n ≤ 67 Default: None Description: ■ This command transmits the printer ID or information. • Transmits specified printer information, using n as follows: Printer ID type...
Page 187
BK5-3 GS P Function: Set bar code alignment Code: ASCII Decimal Range: 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 Default: n = 1 Description: This command specifies position alignment for bar code in standard mode, using n as follows:...
Page 188
BK5-3 GS l Function: Print QR code Code: ASCII sL sH d1...dk sL sH d1...dk Decimal sL sH d1...dk Range: 1 ≤ (xL + xH x 256) ≤ 576 (depend on printing width) r = 0 1 ≤ m ≤ 8 1 ≤...
Page 189
BK5-3 GS e n mL mH Function: Specify Presenter operation mode Code: ASCII Decimal Range: 2 ≤ n ≤ 3, 5 ≤ n ≤ 6, n = 32, 0 ≤ mL,mH ≤ 255 Description: Specify the Presenter operation mode using the n parameter.
Page 190
BK5-3 No jam Paper jam ■ If n = 32, the paper is ejected by calculating the ejection length automatically. After ejecting, paper is detected by Presenter out sensor. The mL value is ignored and the paper is automatically retracted if it is not picked up for mH time.
Need help?
Do you have a question about the BK5-3 and is the answer not in the manual?
Questions and answers