BIXOLON SRP-380 Thermal POS Printer Command User Manual
- September 5, 2024
- BIXOLON
Table of Contents
SRP-380 Thermal POS Printer Command
Specifications
-
Brand: BIXOLON
-
Product Type: Thermal POS Printer
-
Supported Models:
-
180dpi Models: SRP-380, SRP-380II, SRP-F310II, SRP-350plusIII,
SRP-350plusV, SRP-350III, SRP-350V, SRP-330II, SRP-330III,
SRP-E300, SRP-Q300, SRP-QE300 -
203dpi Models: SRP-382, SRP-382II, SRP-F312II, SRP-352plusIII,
SRP-352plusV, SRP-352III, SRP-352V, SRP-332II, SRP-332III,
SRP-E302, SRP-B300, SRP-Q302, SRP-Q300II, SRP-QE302, SRP-Q200,
SRP-S300, SRP-S320, SRP-S200, SRP-S3000
-
Product Usage Instructions
Control Commands List
Here is a list of control commands in alphanumeric order along
with their functions:
No. | Command | Function |
---|
Printing Instructions
Follow these steps to print using the thermal POS printer:
-
Ensure the printer is connected to a power source and turned
on. -
Load the appropriate paper roll into the printer.
-
Send the print command from your device to the printer using
the supported commands. -
The printer will process the command and print the desired
content on the paper.
Frequently Asked Questions (FAQ)
Q: Can I use any type of paper with the thermal POS
printer?
A: It is recommended to use thermal paper rolls specifically
designed for thermal printers to ensure optimal print quality and
performance.
Q: How do I check the status of the printer?
A: You can use the control commands listed in the manual to
transmit real-time status and check the printer’s condition.
Thermal POS Printer Command Manual
Ver. 1.01
http://www.bixolon.com
Thermal POS Printer
Contents
1. Notice ……………………………………………………………………………………………………………………………………………………………………………….
3
2. Supported Models
…………………………………………………………………………………………………………………………………………………………….. 4
3. Control Commands List in Alphanumeric Order
………………………………………………………………………………………………………………….. 5 3-1 Command Description
Items……………………………………………………………………………………………………………………………………………….7 3-2 Details of
Control Commands……………………………………………………………………………………………………………………………………………… 8
Ver. 1.01
BIXOLON
– 2 –
1. Notice
Thermal POS Printer
This document contains proprietary information of BIXOLON Corporation and its affiliates. You may utilize the information solely for the purpose of facilitating authorized sales and service of, or developing software and similar products for authorized use with, 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.
We at BIXOLON maintain ongoing efforts to enhance and upgrade the functions and quality of all our products. In following, product specifications and/or user manual content may be changed without prior notice.
Ver. 1.01
BIXOLON
– 3 –
2. Supported Models
Print Resolution Model Name
180dpi SRP-380 SRP-380II SRP-F310II SRP-350plusIII SRP-350plusV SRP-350III
SRP-350V SRP-330II SRP-330III SRP-E300
SRP-Q300 SRP-QE300
Ver. 1.01
BIXOLON
Thermal POS Printer
203dpi SRP-382 SRP-382II SRP-F312II SRP-352plusIII SRP-352plusV SRP-352III
SRP-352V SRP-332II SRP-332III SRP-E302 SRP-B300
SRP-Q302 SRP-Q300II SRP-QE302 SRP-Q200
SRP-S300 SRP-S320 SRP-S200 SRP-S3000
– 4 –
3. Control Commands List in Alphanumeric Order
Thermal POS Printer
No. Command 1 HT 2 LF 3 FF 4 CR 5 CAN 6 DLE EOT 7 DLE DC4 8 ESC SP 9 ESC ! 10 ESC $ 11 ESC % 12 ESC & 13 ESC * 14 ESC 15 ESC 2 16 ESC 3 17 ESC =
Horizontal tab
Function
Print and line feed
Form feed (in page mode)
Print and carriage return
Cancel the print data in page mode Transmit real-time status
Generate pulse at real-time
Set the character right space
Set print mode
Set absolute print position Select/cancel user-defined character set Define user-defined character set
Specify bit image mode
Turn underline mode on/off Select default line spacing
Set line spacing
Select peripheral device
18 ESC ?
Cancel user-defined characters
19 ESC @ 20 ESC D 21 ESC E 22 ESC G 23 ESC J 24 ESC L
Initialize printer Set horizontal tab positions Turn emphasized mode on/off Turn double-strike mode on/off Print and feed paper Select page mode
25 ESC M
Select character font
No. Command
Function
26 ESC R
Specify an international character set
27 ESC S
Select standard mode
28 ESC T
Select print direction in page mode
29 ESC V
Turn 90° clockwise rotation mode on/off
30 ESC W
Set print area in page mode
31 ESC
Set relative print position
32 ESC a
Set position alignment
33 ESC d
Print and feed n lines
34 ESC i
Partial cut
35 ESC m
Partial cut
36 ESC p
Generate pulse
37 ESC t
Select character code table
38 ESC v
Transmit paper sensor status
39 ESC {
Turn upside-down print mode on/off
40 FS p
Print NV bit image
41 FS q
Define NV bit image
42 GS !
Select character size
43 GS $
Set absolute vertical print position in page mode
44 GS ( A
Execute test print
45 GS ( L ,GS 8 L Select graphics data
46 GS ( k
Specify and print the symbol
47 GS *
Define downloaded bit image
48 GS /
Print downloaded bit image
49 GS :
Start/end macro definition
50 GS B
Turn white/black reverse print mode on/off
Ver. 1.01
BIXOLON
– 5 –
No. Command
Function
51 GS H
Select print position of HRI characters
52 GS I
Transmit printer ID
53 GS L
Set left margin
54 GS V
Select cut mode and executes a partial cut
55 GS W
Set print area width
56 GS ^
Execute macro
57 GS a
Enable/Disable Automatic Status Back (ASB)
58 GS f
Select font for HRI characters
59 GS h
Set bar code height
60 GS k
Print bar code
61 GS r
Transmit status
62 GS v 0
Print raster bit image
63 GS w
Set bar code width
64 BS M
Select device font type
65 BS V
Select cut mode and executes a partial/full cut
66 BS ^ P
Set power saving mode
Ver. 1.01
BIXOLON
Thermal POS Printer – 6 –
3-1 Command Description Items
Function: Code: Range: Default:
Command Command function outline Command format expressed in ASCII, hexadecimal, and decimal codes Argument value (Setting range) for the command Initial argument value for the command
Description: Detailed command function description
Remarks:
Additional information about using the command
Differences: Variations depending on the printer model
Thermal POS Printer
Ver. 1.01
BIXOLON
– 7 –
3-2 Details of Control Commands
Thermal POS Printer
HT
Function:
Horizontal tab
Code:
ASCII HT
Hex
09
Decimal 9
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.
Remarks:
The horizontal tab position is set by
command.
Differences: None
Ver. 1.01
BIXOLON
– 8 –
Thermal POS Printer LF
Function: Code:
Range: Default:
Print and line feed
ASCII
LF
Hex
0A
Decimal 10
None
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.
Differences: None
Ver. 1.01
BIXOLON
– 9 –
Thermal POS Printer FF
Function: Form feed (in page mode)
Code:
ASCII FF
Hex
0C
Decimal 12
Range:
None
Default:
None
Description: This commands prints all data collected in the printer buffer In page mode. After completion of printing, the printer is returned to standard mode.
Remarks:
The printer is returned to standard mode after completion of printing. This
command works in page mode enabled by ESC L. If the paper is positioned at the
print starting position, this command is ignored, not performing actual paper
feeding operation.
Differences: None
Ver. 1.01
BIXOLON
– 10 –
Thermal POS Printer CR
Function: Print and carriage return
Code:
ASCII CR
Hex
0D
Decimal 13
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
Ver. 1.01
BIXOLON
– 11 –
CAN
Function: Cancel the print data in page mode
Code:
ASCII Hex Decimal
CAN 18 24
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.
Differences: None
Thermal POS Printer
Ver. 1.01
BIXOLON
– 12 –
DLE EOT
Function: Transmit real-time status
Code:
ASCII DLE EOT n
Hex
10 04
n
Decimal 16
4
n
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:
n
Function
1
Transmit printer status
2
Transmit off-line status
3
Transmit error status
4
Transmit paper roll sensor status
Thermal POS Printer
Ver. 1.01
BIXOLON
– 13 –
Printer transmits the following status
Bit
Binary
0
0
1
1
2
0 1
3
0 1
4
1
5
0
6
0
7
0
Hex
Decimal
Status
00
0
Not used. Fixed to Off
02
2
Not used. Fixed to On
00
0
Drawer kick-out connector pin 3 is LOW
04
4
Drawer kick-out connector pin 3 is HIGH
00
0
Online
08
8
Offline
10
16
Not used. Fixed to On
00
0
Not used. Fixed to Off
00
0
Not used. Fixed to Off
00
0
Not used. Fixed to Off
Thermal POS Printer n=1: Printer status
Bit
Off/On
0
Off
1
On
2
Off On
3
Off On
4
On
5
Off On
6
Off On
7
Off
n=2: Off-line status
Hex
Decimal
Status
00
0
Fixed
02
2
Fixed
00
0
Cover is closed
04
4
Cover is open
00
0
Paper is not being fed by using the paper FEED button
08
8
Paper is being fed by the paper FEED button
10
16
Fixed
00
0
No paper-end stop
20
32
Printing is being stopped
00
0
No error
40
64
Error has occurred
00
0
Fixed
Ver. 1.01
BIXOLON
– 14 –
Bit
Binary
Hex
Decimal
Status
0
0
00
0
Not used. Fixed to Off
1
1
02
2
Not used. Fixed to On
2
0
00
0
Not used. Fixed to Off
3
0 1
00 08
0
No autocutter error
8
Autocutter error occurred
4
1
10
16
Not used. Fixed to On
5
0
00
0
Not used. Fixed to Off
6
0
00
0
Not used. Fixed to Off
7
0
00
0
Not used. Fixed to Off
Thermal POS Printer n=3: Error status
Bit
Binary
0
0
1
1
2,3
00 11
4
1
5,6
00 11
7
0
n=4: paper sensor status
Hex
Decimal
Status
00
0
Not used. Fixed to Off
02
2
Not used. Fixed to On
00
0
Paper near end sensor: paper adequate
0C
12
Paper near end sensor: paper near end
10
16
Not used. Fixed to On
00
0
Paper end sensor: paper present
60
96
Paper end sensor: paper not present
00
0
Not used. Fixed to Off
Remarks:
The status is transmitted to the host upon being requested that can check the
printer operational condition with it and takes appropriate measures
accordingly.
The real time command is stored into the receive buffer and executed with
higher priority than other commands.
Differences: None
Ver. 1.01
BIXOLON
– 15 –
Function: Generate pulse at real-time
DLE DC4
Thermal POS Printer
Code:
ASCII DLE DC4 n
m
t
Hex
10 14
n
m
t
Decimal 16 20
n
m
t
Range:
n = 1, m=0,1, 1 t 8
Default:
None
Description:
Output the pulse specified by t to connector pin m as following:
m
Connector pin
0
Drawer kick-out connector pin 2
1
Drawer kick-out connector pin 5
This command generates the drive pulse to connector pin m with pulse width defined by t as following:
· Drawer kick-out connector pin 2 is selected with m=0 while pin 5 chosen for m=1.
· Pulse ON time is [t x100 ms] and OFF time [t x100 ms].
Remarks:
Upon receiving this command, the printer outputs the drive pulse to the specified connector pin. The real time command is stored into the receive buffer and executed with higher priority than other commands.
Differences: None
Ver. 1.01
BIXOLON
– 16 –
ESC SP
Function: Set the character right space
Code:
ASCII ESC SP
n
Hex
1B 20
n
Decimal 27 32
n
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].
Remarks:
In a double width mode, the right space will be doubled. Horizontal motion unit varies depending the printer model.
Differences: Horizontal motion unit: 180dpi: 0.141mm(1/180 inch) 203dpi: 0.125mm(1/203 inch)
Ver. 1.01
BIXOLON
Thermal POS Printer – 17 –
ESC !
Function: Set print mode
Code:
ASCII
ESC
!
n
Hex
1B
21
n
Decimal 27
33
n
Range:
0 n 255
Default:
n = 0
Description:
This command selects print mode(s) with bits having following meanings.
Bit
Off/On
Hex
Decimal
Function
0
Off
00
On
01
0
Character font A selected
1
Character font B selected
1,2
Off
00
0
Reserved
3
Off
00
On
08
0
Emphasized mode not selected
8
Emphasized mode selected
4
Off
00
On
10
0
Double-height mode not selected
16
Double-height mode selected
5
Off
00
On
20
0
Double-width mode not selected
32
Double-width mode selected
6
Off
00
0
Reserved
7
Off
00
0
Underline mode not selected
On
80
128 Underline mode selected
Ver. 1.01
BIXOLON
Thermal POS Printer – 18 –
Remarks:
Thermal POS Printer As alternative to this command, ESC M, ESC E and ESC can
be used for the selection for character font,
emphasized mode and underline mode respectively. 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.
Differences: None
Ver. 1.01
BIXOLON
– 19 –
ESC $
Thermal POS Printer
Function: Set absolute print position
Code:
ASCII ESC $
nL nH
Hex
1B 24 nL nH
Decimal 27 36 nL nH
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 (vertical or horizontal motion units).
Remarks:
Any setting values that go beyond the printable area is ignored. In standard
mode, the horizontal motion unit is used for the calculation. 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: 180dpi: 0.141mm(1/180 inch) 203dpi: 0.125mm(1/203 inch)
Ver. 1.01
BIXOLON
– 20 –
ESC %
Thermal POS Printer
Function:
Select/cancel user-defined character set
Code:
ASCII ESC %
n
Hex
1B 25
n
Decimal 27 37
n
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. · When n=0, the
user-defined character set is deselected. · When n=1, the user-defined
character set is selected.
Remarks:
The resident character set is enabled and used right after canceling the user defined character set.
Differences: None
Ver. 1.01
BIXOLON
– 21 –
ESC &
Thermal POS Printer
Function:
Define user-defined character set
Code:
ASCII
ESC
&
y c1 c2 [x1 d1 … d(yx1)]… [xk d1 … d(yxk)]
Hex
1B
26 y c1 c2 [x1 d1 … d(yx1)]… [xk d1 … d(yxk)]
Decimal 27
38 y c1 c2 [x1 d1 … d(yx1)]… [xk d1 … d(yxk)]
Range:
y = 3 32 c1 c2 126 0 x 12 (Font A) 0 x 9 (Font B) 0 d 255 k = c2 c1 + 1
Default:
None
Description:
This command defines user-defined characters for character codes in a designated range from the start character code, c1 to the end character code, c2. · y denotes the number of bytes in the vertical direction, x the number of dots in the horizontal direction, and d the dot data for the user-defined characters.
Remarks:
Alphanumeric characters (20H (decimal 32) to 7EH (decimal 126)) are definable.
Once user defined characters are defined, they remain available until they are
redefined; ESC ? or ESC @ is
executed; the printer is reset. The following shows the relationship between
the definition data and printing result with downloaded
character consisting of 9×7 dots.
Ver. 1.01
BIXOLON
– 22 –
MSB
d1
d3
d5
d7
d9 d11 d13
LSB
MSB
d2
d4
d6
d8 d10 d12 d14
LSB
Differences: None
Thermal POS Printer
Ver. 1.01
BIXOLON
– 23 –
ESC *
Thermal POS Printer
Function: Specify bit image mode
Code:
ASCII ESC *
m
nL nH
Hex
1B
2A
m
nL nH
Decimal 27
42
m
nL nH
d1…dk d1…dk 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 ×
256) × 3 [in case of m = 32, 33]
Default:
None
Description: This command specifies the bit image for the mode m as to the number of dots specified by nL and nH. · d specifies the bit image data with 1 for printed data and 0 for not printed. · 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.
Ver. 1.01
BIXOLON
– 24 –
Differences: 180dpi:
m
Mode
Number of dots in vertical direction
0
8-dot single-density
8
1
8-dot double-density
8
32
24-dot single-density
24
33
24-dot double-density
24
Vertical dot density (DPI)
60 60 180 180
Thermal POS Printer
DPI: Dots per Inch (25.4mm)
Horizontal dot density (DPI)
Number of bytes (k)
90
nL + nH x 256
180
nL + nH x 256
90
(nL + nH x 256) x 3
180
(nL + nH x 256) x 3
203dpi:
m
Mode
Number of dots in vertical direction
0
8-dot single-density
8
1
8-dot double-density
8
32
24-dot single-density
24
33
24-dot doubledensity
24
Vertical dot density (DPI)
203/3 203/3 203
203
DPI: Dots per Inch (25.4mm)
Horizontal dot density (DPI)
Number of bytes (k)
203/2
nL + nH x 256
203
nL + nH x 256
203/2
(nL + nH x 256) x 3
203
(nL + nH x 256) x 3
Ver. 1.01
BIXOLON
– 25 –
ESC
Function: Turn underline mode on/off
Code:
ASCII ESC
–
n
Hex
1B 2D
n
Decimal 27 45
n
Range:
0 n 2, 48 n 50
Default:
n = 0
Description:
This command enables the print data following it to be printer out underlined.
· The underline mode varied depending on the following values of n:
n
Function
0,48
Turns off underline mode
1,49
Turns on underline mode, set at 1-dot thick
2,50
Turns on underline mode, set at 2-dot thick
Remarks:
The spaces generated by horizontal tab are not underlined. Using bit 7 of ESC !, the underline mode can be activated/deactivated as well.
Differences: None
Thermal POS Printer
Ver. 1.01
BIXOLON
– 26 –
ESC 2
Thermal POS Printer
Function: Select default line spacing
Code:
ASCII ESC 2
Hex
1B 32
Decimal 27 50
Range:
None
Default:
None
Description: This command sets the default line spacing The default line spacing is approximately 3.75 mm, which is equivalent to 30 dots.
Remarks:
The line spacing can be set independently in standard mode and in page mode. The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed.
Differences: Default line spacing: 180dpi: 4.23 mm (30 dots) 203dpi: 3.75 mm(30 dots)
Ver. 1.01
BIXOLON
– 27 –
ESC 3
Thermal POS Printer
Function: Set line spacing
Code:
ASCII ESC 3
n
Hex
1B 33
n
Decimal 27 51
n
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)
Remarks:
With standard mode selected, the vertical motion unit is used. 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. The line spacing is settable independently for each of standard and page
modes.
Differences:
Vertical or horizontal motion unit and maximum line spacing settable:
Model
Vertical unit
Horizontal unit
180dpi
0.0705mm (1/360 inch)
0.141mm (1/180 inch)
203dpi
0.0625mm (1/406 inches)
0.125mm (1/203 inches)
Max line spacing 17.98mm 15.937mm
Ver. 1.01
BIXOLON
– 28 –
ESC =
Thermal POS Printer
Function: Select peripheral device
Code:
ASCII ESC =
n
Hex
1B 3D
n
Decimal 27 61
n
Range:
1 n 3
Default:
None
Description:
This command selects the device to which the host computer communicates according to n as follows:
n
Function
1
Enables the printer
2
Disables the printer
3
Enables the printer
Remarks:
The printer discards all of the received data commands with the exception of
ESC = and real-time commands while being disabled.
The normal operation will be resumed by ESC @, power cycling or printer reset.
If LSB is activated when the printer is disabled by this command, the status
is transmitted to the host at a
preset interval.
Differences: None
Ver. 1.01
BIXOLON
– 29 –
ESC ?
Thermal POS Printer
Function: Cancel user-defined characters
Code:
ASCII ESC ?
n
Hex
1B 3F
n
Decimal 27 63
n
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. The user-defined characters for each font can be deleted independently.
Differences: None
Ver. 1.01
BIXOLON
– 30 –
ESC @
Thermal POS Printer
Function: Initialize printer
Code:
ASCII ESC @
Hex
1B 40
Decimal 27 64
Range: Default:
None 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.
The data in the receive buffer is not discarded.
All of the settings such as print mode and line feed are cleared. NV graphics
and NV user memory are not cleared. In page mode, this command removes the
data in print areas, restores the initial settings and returns to
standard mode.
Differences: None
Ver. 1.01
BIXOLON
– 31 –
ESC D
Thermal POS Printer
Function: Set horizontal tab position
Code:
ASCII ESC
Hex
1B
Decimal 27
D n1…nk NUL 44 n1…nk 00 68 n1…nk 0
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. · n defines the number of columns from the beginning of the line to the horizontal tab setting. · k denotes the number of horizontal tab positions to be set. · The horizontal tab position is stored as a value of [character width x n] measured form the beginning of the line.
Remarks:
The data [n]k signifying the set position is transmitted in the ascending
order and ends with a NUL code. ESC D NUL cancels all horizontal tab
positions. Tab position is set at the value of [character width x n] from the
beginning of the line. The character width includes the space to the right of
the character, and it will be twice the normal character
when the double width characters are selected. If the data [n]k is equal to or
smaller than the preceding data [n]k-1, the horizontal tab setting has been
completed. Up to 32 horizontal tabs can be set, the data exceeding this limit
is processed as normal ones. Even if the character width is changed after
setting the horizontal tab positions, the horizontal tab positions
Remain unchanged.
Differences: None
Ver. 1.01
BIXOLON
– 32 –
ESC E
Thermal POS Printer
Function: Turn emphasized mode on / off
Code:
ASCII ESC E
n
Hex
1B 45
n
Decimal 27 69
n
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. · When the LSB of n is 0, emphasized mode is turned off. · When the LSB of n is 1, emphasized mode is turned on.
Remarks: The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 33 –
ESC G
Thermal POS Printer
Function: Turn double-strike mode on/off
Code:
ASCII ESC G
n
Hex
1B 47
n
Decimal 27 71
n
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. · When the LSB of n is 0, emphasized mode is turned off. · When the LSB of n is 1, emphasized mode is turned on.
Remarks: The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 34 –
ESC J
Thermal POS Printer
Function: Print and feed paper
Code:
ASCII ESC
J
n
Hex
1B 4A
n
Decimal 27 74
n
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. With
standard mode selected, the vertical motion unit is used. 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. When used in page mode, this command moves only the print position, not
executing actual printing.
Differences:
Vertical motion unit and maximum feed amount:
Model
Vertical unit
180dpi
0.0705mm (1/360 inch)
203dpi
0.0625mm (1/406 inches)
Max feed amount 17.98mm 15.937mm
Ver. 1.01
BIXOLON
– 35 –
ESC L
Thermal POS Printer
Function: Select page mode
Code:
ASCII ESC L
Hex
1B 4C
Decimal 27 76
Range: Default:
None 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.
The conditions by the following commands are defined independently in standard
mode and page mode. · ESC SP, ESC 2, and ESC 3
The following commands are not activated in page mode. · ESC L, FS q, GS ( A,
GS ( E, GS T
The following commands are not effective in page mode. The conditions set by
these commands in page mode are available when the printer returns to standard
mode. · ESC V, ESC a, ESC {, GS L, and GS W
The printer resumes standard mode by the use of ESC S, FF, and ESC@. In page
mode, the command, FF, prompts printing the data in the printer buffer
collectively. LF, CR, ESC J, and
ESC d just move the print position, not performing actual printing.
Differences: None
Ver. 1.01
BIXOLON
– 36 –
ESC M
Thermal POS Printer
Function: Select character font
Code:
ASCII ESC M
n
Hex
1B 4D
n
Decimal 27 77
n
Range:
n = 0, 1, 48, 49
Default:
n = 0
Description:
This command selects only-byte character fonts using n as following.
n
Function
0, 48
Character font A selected
1, 49
Character font B selected
Remarks:
The printer model has it own configuration of Font A and B. The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 37 –
ESC R
Thermal POS Printer
Function: Specify international character set
Code:
ASCII ESC R
n
Hex
1B 52
n
Decimal 27 82
n
Range:
0 n 13
Default:
n = 0
Description:
This command specifies international characters according to n values.
n
Character set
n
0
U.S.A
7
1
France
8
2
Germany
9
3
U.K
10
4
Denmark I
11
5
Sweden
12
6
Italy
13
Character set Spain I Japan Norway
Denmark II Spain II
Latin America Korea
Remarks: The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 38 –
ESC S
Thermal POS Printer
Function: Select standard mode
Code:
ASCII ESC S
Hex
1B 53
Decimal 27 83
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. The conditions by the following commands are defined
independently in standard mode and page mode.
· ESC SP, ESC 2, and ESC 3 In standard mode, CAN and GS $ are ignored.
Differences: None
Ver. 1.01
BIXOLON
– 39 –
ESC T
Thermal POS Printer
Function: Select print direction in page mode
Code:
ASCII ESC T
n
Hex
1B 54
n
Decimal 27 84
n
Range:
0 n 3, 48 n 51
Default:
n = 0
Description:
This command selects the print direction and starting position in page mode.
n
Print Direction
0,48
Left right
1,49
Bottom to top
2,50
Right left
3,51
Top bottom
Starting Position Upper left Lower left Lower right Upper right
Remarks:
The print direction set by this command id not effective in standard mode. If
this command is processed in standard mode, the setting by this command is
effective when the printer
changes to page mode. Depending on the print starting position set by this
command, the horizontal motion unit or vertical motion
unit is used for the following commands. · When the starting position is the
upper left or lower right of the print area; ESC SP, ESC $, ESC use the
horizontal motion unit and ESC 3, ESC J, GS $ the vertical motion unit.
· When the starting position is the upper right or lower left of the print
area; ; ESC SP, ESC $, ESC use the vertical motion unit and ESC 3, ESC J, GS $
the horizontal motion unit.
The setting of this command remains effective until ESC !, ESC @, printer
reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 40 –
ESC V
Thermal POS Printer
Function: Turn 90°clockwise rotation mode on/off
Code:
ASCII ESC V
n
Hex
1B 56
n
Decimal 27 86
n
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. · When the value of n is equal to 0 or 48, 90°clockwise rotation mode is turned off. · When the value of n is equal to 1, 2, 48, or 50, 90°clockwise rotation mode is turned on.
Remarks:
In underline mode, the underline printing for 90° clockwise rotated characters
does not work, and the relationship between vertical and horizontal directions
is reversed.
The 90° clockwise rotation mode is not effective in page mode. If set in page
mode, the 90° clockwise rotation mode has effect after the printer returns to
standard mode. The setting of this command remains effective until ESC !, ESC
@, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 41 –
Function: Code: Range:
Default:
ESC W
Set print area in page mode
ASCII ESC W
xL xH yL yH dxL dxH dyL dyH
Hex
1B
57
xL
xH
yL
yH dxL dxH dyL dyH
Decimal 27
87
xL
xH
yL
yH dxL dxH dyL dyH
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 (dxL + dxH x 256) 65535 (0 dxL 255, 0 dxH 255) 1 (dyL + dyH x 256) 65535 (0 dyL 255, 0 dyH 255)
180dpi: · When a paper width of 80mm{3.15″} is selected: (xL + xH x 256) = 0 (xL=0, xH=0) (yL + yH x 256) = 0 (yL=0, yH=0) (dxL + dxH x 256) = 512 (dxL=0, dxH=2) (dyL + dyH x 256) = 1662 (dyL=126, dyH=6)
203dpi: · When a paper width of 80mm{3.15″} is selected: (xL + xH x 256) = 0 (xL=0, xH=0) (yL + yH x 256) = 0 (yL=0, yH=0) (dxL + dxH x 256) = 576 (dxL=64, dxH=2) (dyL + dyH x 256) = 1662 (dyL=126, dyH=6)
Thermal POS Printer
Ver. 1.01
BIXOLON
– 42 –
Description:
Thermal POS Printer This command set the position and the size of the printing
area in page mode as following.
· Horizontal starting position = [(xL + xH x 256) x (horizontal motion units)]
· Vertical starting position = [(yL + yH x 256) x (vertical motion units)] ·
Horizontal printing area width = [(dxL + dxH x 256) x (horizontal motion
units)] · Vertical printing area width = [(dyL + dyH x 256) x (vertical motion
units)]
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 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).
This command is not effective in standard mode. If this command is processed
in standard mode, the setting by this command is effective when the printer
returns to page mode.
The setting of this command remains effective until ESC !, ESC @, printer
reset or power cycling is executed.
Differences:
The maximum printable area(Max horizontal printable area, Max vertical printable area):
Model
Max horizontal printable area
Max vertical printable area
180dpi
72.2mm(512dots)
234.3mm(1662dots)
203dpi
72mm(576dots)
207.75mm(1662dots)
Ver. 1.01
BIXOLON
– 43 –
ESC
Thermal POS Printer
Function: Set relative print position
Code:
ASCII ESC
nL
nH
Hex
1B 5C nL nH
Decimal 27 92 nL nH
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 motion unit]. · The print starting position is moved to (nL + nH x 256)in the right direction based on the current position.
Remarks:
The printer ignores any setting that exceeds the print area. When the print
area has been exceeded, this command is ignored. With standard mode selected,
the vertical motion unit is used. 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. Even if the underline mode is turned on, the space skipped by this
command is not printed underlined.
Differences: None
Ver. 1.01
BIXOLON
– 44 –
ESC a
Thermal POS Printer
Function: Set position alignment
Code:
ASCII ESC a
n
Hex
1B 61
n
Decimal 27 97
n
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:
n
Alignment
0, 48
Left alignment
1, 49
Center alignment
2, 50
Right alignment
Remarks:
This command is not effective in page mode. If this command is processed in
page mode, the setting by this command becomes effective when the printer
returns to standard mode.
The setting of this command remains effective until ESC !, ESC @, printer
reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 45 –
ESC d
Thermal POS Printer
Function: Print and feed n lines
Code:
ASCII ESC d
n
Hex
1B 64
n
Decimal 27 100 n
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.
In page mode, this command moves only the print position, not performing
actual print. If the feed amount set is beyond the maximum feed amount, the
feed amount will be set to the maximum feed
amount automatically.
Differences: None
Ver. 1.01
BIXOLON
– 46 –
ESC i
Thermal POS Printer
Function: Partial cut
Code:
ASCII ESC
i
Hex
1B 69
Decimal 27 105
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.
Differences:
This command is effective for the printer equipped with an autocutter.
Autocutter options can be changed via Unified Utility (MSW 5-1, MSW 5-2).
Printers not built in auto-cutters cannot carry this command out, and the
printer does not work and displays
the auto-cutter error signals on LED.
Ver. 1.01
BIXOLON
– 47 –
ESC m
Thermal POS Printer
Function: Partial cut
Code:
ASCII ESC m
Hex
1B 6D
Decimal 27 109
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.
Differences:
This command is effective for the printer equipped with an autocutter.
Autocutter options can be changed via Unified Utility (MSW 5-1, MSW 5-2).
Printers not built in auto-cutters cannot carry this command out, and the
printer does not work and displays
the auto-cutter error signals on LED.
Ver. 1.01
BIXOLON
– 48 –
ESC p
Thermal POS Printer
Function: Generate pulse
Code:
ASCII ESC p
m
t1
t2
Hex
1B
70
m
t1
t2
Decimal 27 112 m
t1
t2
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.
m
Connector pin
0, 48
Drawer kick-out connector pin 2
1, 49
Drawer kick-out connector pin 5
Remarks:
The ON time is [t1 x 2ms], and the OFF time is as [t2 x 2ms]. · If t2 is smaller than t1, OFF time is set to [t1 x 2ms].
Differences: None
Ver. 1.01
BIXOLON
– 49 –
Function: Code:
Range: Default:
ESC t
Select character code table
ASCII ESC
t
n
Hex
1B 74
n
Decimal 27 116 n
0 n 5, 16 n 19, 21 n 31, 33 n 42, n=47, 49 n 51, n=255
For model not supporting Thai character: n=0
Description:
This command specifies code page according to the value of n as follows:
n
Code page
0
Page 0 437 (USA, Standard Europe)
1
Page 1 Katakana
2
Page 2 850 (Multilingual)
3
Page 3 860 (Portuguese)
4
Page 4 863 (Canadian-French)
5
Page 5 865 (Nordic)
16 Page 16 1252 (Latin I)
17 Page 17 866 (Cyrillic #2)
18 Page 18 852 (Latin 2)
19 Page 19 858 (Euro)
21 Page 21 862 (Hebrew DOS code)
22 Page 22 864 (Arabic)
23 Page 23 Thai42
24 Page 24 1253 (Greek)
25 Page 25 1254 (Turkish)
Ver. 1.01
BIXOLON
Thermal POS Printer – 50 –
n
Code page
26 Page 26 1257 (Baltic)
27 Page 27 Farsi
28 Page 28 1251 (Cyrillic)
29 Page 29 737 (Greek)
30 Page 30 775 (Baltic)
31 Page 31 Thai14
33 Page 33 1255 (Hebrew New code)
34 Page 34 Thai 11
35 Page 35 Thai 18
36 Page 36 855 (Cyrillic)
37 Page 37 857 (Turkish)
38 Page 38 928 (Greek)
39 Page 39 Thai 16
40 Page 40 1256 (Arabic)
41 Page 41 1258 (Vietnam)
42 Page 42 Khmer (Cambodia)
47 Page 47 1250 (Czech)
49 Page 49 TCVN-3(Vietnamese1)
50 Page 50 TCVN-3(Vietnamese2)
51 Page 51 VISCII(Vietnamese3)
52 Page 52 CP912(Albania)
255 User Code Page (Space)
Thermal POS Printer
Remarks: The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 51 –
ESC v
Thermal POS Printer
Function:
Transmit paper sensor status
Code:
ASCII ESC v
Hex
1B 76
Decimal 27 118
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:
· When paper near end is detected, 0x03 is transmitted. · When paper end is
detected, 0xC is transmitted.
Remarks:
The paper sensor status can be transmitted using GS r. The near end senor is
optional while paper end sensor required. If the printer is not equipped with
a near end sensor, the paper near end sensor is considered as normal
condition.
Differences: None
Ver. 1.01
BIXOLON
– 52 –
ESC {
Thermal POS Printer
Function:
Turns upside-down printing mode on/off
Code:
ASCII ESC {
n
Hex
1B 7B
n
Decimal 27 123 n
Range:
0 n 255
Default:
n = 0
Description:
This command selects/deselects upside-down printing mode according to the least significant bit as follows.
LSB
Upside-down mode
0
Turned off
1
Turned on
Remarks:
This command is valid only when entered at the beginning of the line. The
upside-down print mode has no effect in page mode. If this command is
processed in page mode,
upside-down printing mode is enabled when the printer returns to standard
mode. 180 rotated characters are printed from right to left in upside-down
print mode. The setting of this command remains effective until ESC !, ESC @,
printer reset or power cycling is executed.
Normal
Example Upside- down Mode
Differences: None
Ver. 1.01
BIXOLON
– 53 –
Thermal POS Printer FS p
Function:
Print NV bit image
Code:
ASCII
FS
p
n
m
Hex
1C 70
n
m
Decimal 28 112 n
m
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:
m
Mode
0, 48
Normal
1, 49
Double-width
2, 50
Double-height
3, 51
Quadruple
Remarks:
GS ( L and GS ( 8 can be used for printing NV bit image. The NV bit image is
defined by FS q. n is assigned to each NV bit image to be stored in download
order by FS q. This command has no effect with NV bit image not defined in
advance. In page mode, the NV bit image is saved without being printed. The
printer does not print the NV bit image that is beyond one line of print area.
When using unidirectional print mode, there will be no vertical misali gnment
between the top and bottom
parts of the printed pattern.
Ver. 1.01
BIXOLON
– 54 –
Differences: 180dpi:
Mode Normal Double-width Double-height Quadruple
203dpi:
Mode Normal Double-width Double-height Quadruple
Vertical Dot Density (DPI) 180 180 90 90
Vertical Dot Density (DPI) 203 203 203/2 203/2
Thermal POS Printer
DPI: Dots per Inch (25.4mm) Horizontal Dot Density (DPI)
180 90 180 90
DPI: Dots per Inch (25.4mm) Horizontal Dot Density (DPI)
203 203/2 203 203/2
Ver. 1.01
BIXOLON
– 55 –
Thermal POS Printer FS q
Function: Define NV bit image
Code:
ASCII FS
q
Hex
1C 71
Decimal 28 113
n [xL xH yL d1…dk]1… [xL xH yL d1…dk]n n [xL xH yL d1…dk]1… [xL xH yL d1…dk]n n [xL xH yL d1…dk]1… [xL xH yL d1…dk]n
Range:
1 n 255 1 (xL + xH ×256) 1023 (0 xL 255, 0 xH 3) 1 (yL + yH ×256) 288 (0 yL 255, yH=0,1) 0 d 255 k = (xL + xH × 256) × (yL + yH × 256) × 8
Default:
None
Description:
This command defines the NV bit image in the NV memory. · n denotes the number of the NV being defined. · (xL, xH) and (yL, yH) set the number of dots in the horizontal and vertical directions to [(xL + xH × 256) x 8] and [(yL + yH × 256) x 8] respectively for the NV bit image.
Ver. 1.01
BIXOLON
– 56 –
Remarks:
Thermal POS Printer 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
on. The NV bit image is printed by FS p. During the execution of this command,
paper feed button, LSB and real time functions will not operate.
· Bit image data and print result are as follows:
d1
dY+1
…
d2
dY+2
…
.
.
.
.
…
.
.
dY
dY x 2
…
. . . dk-2
dk-1
dk
MSB
LSB MSB
LSB MSB
LSB MSB
LSB
The capacity of NV memory area is 256KB.
Differences: None
Ver. 1.01
BIXOLON
– 57 –
Thermal POS Printer GS !
Function: Select character size
Code:
ASCII GS
!
n
Hex
1D 21
n
Decimal 29 33
n
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:
Bit
Function
Setting
0
1
Specifies the number of times normal font size in the Refer to Table 2
2
vertical direction
[Enlarged in vertical direction]
3
4
5
Specifies the number of times normal font size in the Refer to Table 1
6
horizontal direction
[Enlarged in horizontal direction]
7
Ver. 1.01
BIXOLON
– 58 –
· Table 1 [Enlarged in horizontal direction]
Hex Decimal Enlargement
00
0
1 time (standard)
10
16
2 times
20
32
3 times
30
48
4 times
40
64
5 times
50
80
6 times
60
96
7 times
70
112 8 times
Thermal POS Printer
· Table 2 [Enlarged in vertical direction]
Hex Decimal Enlargement
00
0
1 time (standard)
01
1
2 times
02
2
3 times
03
3
4 times
04
4
5 times
05
5
6 times
06
6
7 times
07
7
8 times
Remarks:
The character size set by this command is valid for alphanumeric, user-defined
characters, multi-byte code characters such as Chinese, Japanese, and Korean.
Double width and double height modes can be set by ESC !. Multi-byte code
characters are specified only by this command. The setting of this command
remains effective until ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 59 –
GS $
Thermal POS Printer
Function: Set absolute vertical print position in page mode
Code:
ASCII GS
$
nL nH
Hex
1D 24 nL nH
Decimal 29 36 nL nH
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)].
Remarks:
This command is activated only in page mode and ignored in standard mode.
Either vertical or horizontal motion unit is used according to the print
direction set by ESC T as follows:
· With the starting position of the upper left or lower right on the print
area, the vertical motion unit is used. · In other cases, the horizontal
motion unit is used. The configuration beyond the print area set by ESC W is
ignored.
Differences: None
Ver. 1.01
BIXOLON
– 60 –
GS ( A
Function: Execute test print
Code:
ASCII GS
(
A
pL pH
n
m
Hex
1D
28
41
pL pH
n
m
Decimal 29
40
65
pL pH
n
m
Range:
(pL + pH x 256) = 2 (pL=2, pH=0) 0 n 2, 48 n 50 1 m 2, 49 m 50
Default:
None
Description:
This command prints a specified pattern for testing on a roll paper.
· Roll paper is selected with n specified as follows:
n
Paper type
0, 48
1, 49
Roll paper
2, 50
· Different kinds of test patterns are selected according to m as follows:
m
Test pattern
1, 49
Hexadecimal dump mode
2, 50
Self-test printing(configuration+default codepage)
3, 51
Not operated
Thermal POS Printer
Remarks:
The printer cancels a macro definition in progress If this command is
processed. The macro becomes invalid. 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. The real time command and
LSB operations are not executed during the printing of printer configuration
(m=2, 50).
Differences: None
Ver. 1.01
BIXOLON
– 61 –
GS ( L, GS 8 L
Thermal POS Printer
Function:
Select graphics data
Code:
ASCII GS
(
L
pL pH m
fn
Hex
1D 28 4C pL pH m
fn
Decimal 29 40 76 pL pH m
fn
[parameter] [parameter] [parameter]
ASCII GS
8
L
p1
p2
p3
p4
m
fn
Hex
1D
38
4C
p1
p2
p3
p4
m
fn
Decimal 29
56 76
p1 p2 p3 p4
m
fn
[parameter] [parameter] [parameter]
Range:
None
Default:
None
Description:
This command processes graphics data according to the function code (fn).
fn
No.
Format
Function
0, 48
48
GS ( L pL pH m fn
Transmits the NV graphics momory capacity
2, 50
50
GS ( L pL pH m fn
Prints the graphics data in the print buffer
3, 51
51
GS ( L pL pH m fn
Transmits the remaining capacity of the NV grapics memory
64
64
GS ( L pL pH m fn d1 d2
Transmits the defined NV graphics key code list
65
65
GS ( L pL pH m fn d1 d2 d3
Deletes all NV graphics data
66
66
GS ( L pL pH m fn kc1 kc2
Deletes the specified NV graphics data
67
67
GS ( L pL pH m fn a kc1 kc2 b xL xH yL yH [c d1…dk]1…[c d1…dk]b
Defines the graphics data in the non-volatile memory
69
69
GS ( L pL pH m fn kc1 kc2 x y
Prints the specified NV graphics data
112
112
GS ( L pL pH m fn a bx by c xL xH yL yH d1…dk
Stores the graphics data in the print buffer memory
Ver. 1.01
BIXOLON
– 62 –
Remarks:
Thermal POS Printer 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. While storing data by this command, the printer is in
BUSY state where receiving of data is not available.
Therefore, it is not recommended to send data during this process. The real
time commands and LSB operations are not allowed during NV memory operation
process.
Differences: None
Ver. 1.01
BIXOLON
– 63 –
<Function 48> GS ( L pL pH m fn (fn=0, 48)
Thermal POS Printer
Code:
ASCII GS
(
L
pL pH m
fn
Hex
1D 28 4C pL pH m
fn
Decimal 29 40 76 pL pH m
fn
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).
Remarks:
Header Identifier Setting value
NUL
Hexadecimal 37H 21H
30H or 31H 00H
Decimal 55 33
48 or 49 0
Amount of Data 1 byte 1 byte 8 bytes 1 byte
The total capacity data is converted to character codes corresponding to
decial data, then transmitted from the MSB.
The data length is variable. The total capacitu of the NV user memory is
selectable as any one of[0, 64K, 128K, 192K, 256K] bytes with
GS ( E. The default value is 256K.
Differences: None
Ver. 1.01
BIXOLON
– 64 –
<Function 50> GS ( L pL pH m fn (fn=2, 50)
Thermal POS Printer
Code:
ASCII GS
(
L
pL pH m
fn
Hex
1D 28 4C pL pH m
fn
Decimal 29
40
76
pL pH m
fn
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.
Remarks:
The graphics data stored in the printer buffer is printed. This command is
available in standard mode, not in page mode. The graphics data is defined by
Function 112. The required amount of line feed pitch is used for printing
graphics data, regardless of the existing setting
value of the pitch.
Differences: None
Ver. 1.01
BIXOLON
– 65 –
<Function 51> GS ( L pL pH m fn (fn=3, 51)
Code:
ASCII GS
(
L
pL pH m
fn
Hex
1D 28 4C pL pH m
fn
Decimal 29
40
76 pL pH m
fn
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.
Hexadecimal
Decimal
Header
37H
55
Identifier
21H
33
Setting value
30H 39H
48 – 57
NUL
00H
0
The setting value is sent from bit 8 to bit 1, consisting of 8 bytes in total.
· Off: Hexadecimal = 30H / Decimal = 48
· On: Hexadecimal = 31H / Decimal = 49
Remarks: None
Differences: None
Thermal POS Printer
Amount of Data 1 byte 1 byte
1 – 8 bytes 1 byte
Ver. 1.01
BIXOLON
– 66 –
<Function 64> GS ( L pL pH m fn d1 d2 (fn=64)
Code:
ASCII GS
(
L
pL pH m
fn d1 d2
Hex
1D 28 4C pL pH m
fn d1 d2
Decimal 29 40
76
pL pH m
fn
d1 d2
Range:
(pL + pH x 256) = 4 m=48 fn=64 d1=75, d2=67
(pL=4, pH=0)
Default:
None
Description:
Transmits the defined NV graphics key code list.
Hexadecimal
Header
37H
Flag
72H
Status
40H or 41H
Data
30H 39H
NUL
00H
When the key code is not present:
Hexadecimal
Header
37H
Flag
72H
Status
40H
NUL
00H
Decimal 55 114
64 or 65 48 – 57
0
Decimal 55 114 64 0
Ver. 1.01
BIXOLON
Thermal POS Printer
Amount of Data 1 byte 1 byte 1 byte
2 – 80 bytes 1 byte
Amount of Data 1 byte 1 byte 1 byte 1 byte
– 67 –
Remarks:
Thermal POS Printer
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. After the [Header-NULL] is transmitted, the printer receives a response from the hosg; then it performs the
process defined by the response.(See the tables below.)
– When the status (existence of the next data block) is Hexadecimal = 41H / Decimal = 65)
ASCII
Response Decimal
Process performed
ACK
6
Transmits the next data
NAK
21
Transmits the previous data again
CAN
24
Ends the process.
– When the status (for the last data block) is Hexadecimal = 40H / Decimal = 64)
ASCII
Response Decimal
Process performed
ACK
6
Ends the process
NAK
21
Transmits the previous data again
CAN
24
Cancels the process.
Differences: None
Ver. 1.01
BIXOLON
– 68 –
<Function 65> GS ( L pL pH m fn d1 d2 d3 (fn=65)
Thermal POS Printer
Code:
ASCII GS
(
L
pL pH m
Hex
1D 28 4C pL pH m
Decimal 29 40 76 pL pH m
fn d1 d2 d3 fn d1 d2 d3 fn d1 d2 d3
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.
Remarks:
The graphics data is define by Function 67 into the NV graphics memory with the sector dedicated for storing NV graphics data.
Differences: None
Ver. 1.01
BIXOLON
– 69 –
<Function 66> GS ( L pL pH m fn kc1 kc2 (fn=66)
Code:
ASCII GS
(
L
pL pH m
Hex
1D 28 4C pL pH m
Decimal 29 40 76 pL pH m
fn kc1 kc2 fn kc1 kc2 fn kc1 kc2
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.
Remarks: The graphics data is define by Function 67.
Differences: None
Thermal POS Printer
Ver. 1.01
BIXOLON
– 70 –
Code: Range:
Default:
Thermal POS Printer <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)
ASCII GS ( L pL pH m fn a Hex 1D 28 4C pL pH m fn a Decimal 29 40 76 pL pH m fn a
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 kc1 kc2 b xL xH yL yH [c d1…dk]1…[c d1…dk]b
GS ( L parameter 3 (pL + pL x 256) 65535 (0pL255, 0 pH255)
GS ( 8 parameter 3 (p1 + p2 x 256) +p3 x 65535+p4 x 16777216) 4294967295 (0
p1L 255, 0 p2 255, 0 p3 255, 0 p4 255)
Common parameter m=48 fn=67 a=48 32 kc1 126 32 kc2 126 b=1,2 1 (xL + xH x 256)
8192 1 (yL + yH x 256) 2304 c=49 0 d 255 k = ( int ( ( xL + xH x 256 ) + 7 ) /
8 ) x ( yL + yH x 256 )
None
Ver. 1.01
BIXOLON
– 71 –
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). · yL and yH specify the number of dots in horizontal direction to (yL + yH x 256) dots.
Thermal POS Printer
Remarks:
If new NV graphics data is saved or the existing data is modified, all of the
existing data in NV graphics memory are flushed and updated using this
command. The rest of NV graphics data groups having no change should be
redefined along with the new group stored.
When NV graphics data groups are saved, each of the groups is allocated with N
in the order of download.
Differences: None
Ver. 1.01
BIXOLON
– 72 –
<Function 69> GS ( L pL pH m fn kc1 kc2 x y (fn=69)
Code:
ASCII GS
(
L
pL pH m
fn kc1 kc2
x
Hex
1D 28 4C pL pH m
fn kc1 kc2
x
Decimal 29 40
76
pL pH m
fn kc1 kc2
x
Range:
(pL + pH x 256) = 6 (pL=6, pH=0) m=48, fn=69 32 kc1 126 32 kc2 126 x=1, 2 y=1, 2
Default:
None
Description: Prints the NV graphics data defined by the codes kc1 and kc2. · The graphics data is enlarged by x and y in the horizontal and vertical directions.
Remarks:
This command prints the NV graphics data defined by Function 67. In page mode, this command is not effective. NV graphics data beyond the print area for one line is not printed.
Differences: None
Thermal POS Printer
y y y
Ver. 1.01
BIXOLON
– 73 –
Code: Range:
Default:
<Function 112> GS ( L pL pH m fn a bx by c xL xH yL yH d1…dk (fn=112)
Thermal POS Printer
ASCII GS
(
L
pL pH m
fn
Hex
1D 28 4C pL pH m
fn
Decimal 29
40
76 pL pH m
fn
a bx by c xL xH yL yH d1…dk a bx by c xL xH yL yH d1…dk a bx by c xL xH yL yH d1…dk
GS ( L parameter 11 (pL + pL x 256) 65535 (0pL255, 0 pH255)
GS 8 L parameter 11 (p1 + p2 x 256) +p3 x 65535+p4 x 16777216) 4294967295 (0
p1L 255, 0 p2 255, 0 p3 255, 0 p4 255)
Common parameter m=48 fn=112 a=48 c=49 – When single-color paper secified : 1
(xL + xH x 256) 1662 (When by =1) 1 (xL + xH x 256) 831 (When by =2) – When
two-color paper secified : 1 (xL + xH x 256) 831 (When by =1) 1 (xL + xH x
256) 415 (When by =2) 0 d 255 k = ( int ( ( xL + xH x 256 ) + 7 ) / 8 ) x ( yL
- yH x 256 )
None
Ver. 1.01
BIXOLON
– 74 –
Description:
Thermal POS Printer 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. · yL, yH specifies the raster
graphics data in the vertical direction to (yL + yH x 256) dots. · d denotes
the stored data(raster format). · k denotes the number of the graphics data. ·
c specifies the color of the defined data.
Remarks:
The graphics data is stored in the printer buffer directly. NV graphics data beyond the print area for one line is not printed. Real time command is not effective during processing of this command.
Differences: None
Ver. 1.01
BIXOLON
– 75 –
GS ( k
Thermal POS Printer
Function: Specify and print the symbol
Code: Range: Default:
None None None
Description:
This command processes the data concerning two-dimensional code.
· Symbol type is specified by cn.
· Function code is specified by fn.
cn
Type of Symbol
48
PDF417 (2-dimensional code)
49
QR CODE (2-dimensional code)
cn
fn
65
66
67
48
68 69
70
80
81
65
67
49
69
80
81
Function 065 Function 066 Function 067 Function 068 Function 069 Function 070
Function 080 Function 081 Function 165 Function 167 Function 169 Function 180
Function 181
Function PDF417: Specify the number of columns PDF417: Specify the number of
rows PDF417: Specify the width of module PDF417: Specify the module height
PDF417: Specify the error correction level PDF417: Specify the option PDF417:
Store the received data in the symbol storage area PDF417: Print the symbol
data in the symbol storage area QR CODE: Select the module QR CODE: Select the
size of module QR CODE: Select the error correction level QR CODE: Store the
data in the symbol storage area
QR CODE: Print the data in the symbol storage area
Ver. 1.01
BIXOLON
– 76 –
Remarks:
Thermal POS Printer PDF417 symbol data (when cn=48) The symbol data is
defined, stored to the symbol storage area by Function 080 and printed by the
specification
of Function 081. The symbol data in the area remains reserved until the
following processes are executed: · Performing Function 080 · Performing ESC @
· Performing the printer reset and power-off
The setting values of Functions 065 to 070 are utilized for the processing of
Function 080. 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 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. QRCODE Symbol Data (cn = 49) The symbol
data is defined, stored to the symbol storage area by Function 180 and printed
by the specification
of Function 181. The symbol data in the area remains reserved until the
following processes are executed: · Performing Function 180 · Performing ESC @
· Performing the printer reset and power-off
The setting values of Functions 165 to 169 are utilized for the processing of
Function 180. The printable area must be large enough to accommodate
different-size symbols. If not, the symbol may not be printed.
The same symbol data is repeatedly printed by executing Function 181 after
performing Function 180. The same symbol data is printed differently by
executing Function 181 after setting the feature of the symbol
by using Functions 165 through 169.
Differences: None
Ver. 1.01
BIXOLON
– 77 –
<Function 065> GS ( k pL pH cn fn n (fn=65)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH cn
fn
n
Hex
1D 28 6B 03 00 30 41
n
Decimal 29 40 107 3
0
48 65
n
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. · When n=0, automatic processing is set · When n is not 0, the number of columns of the data area is set to n code word.
Remarks:
Settings of this command affect the processing of Functions 081. With auto
processing (n=0) specified, the maximum number of columns in the data area is
set to 30 columns. The following data is excluded from the number of columns:
· Start and stop patterns · Indicator code word of left and right With auto
processing (n=0) specified, the number of columns is calculated using the
following information. · Printing area when processing Functions 081 · Module
width (Function 067) · Option setting (Function 070) The setting of this
command remains effective until ESC @, printer reset or power cycling is
executed.
Differences: None
Ver. 1.01
BIXOLON
– 78 –
<Function 066> GS ( k pL pH cn fn n (fn=66)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH cn
fn
n
Hex
1D 28 6B 03 00 30 42
n
Decimal 29 40 107 3
0
48 66
n
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. · When n=0, automatic processing is set · When n is not 0, the number of rows is set to n rows.
Remarks:
Settings of this function affect the processing of Functions 081. With auto
processing (n=0) specified, the maximum number of rows is set to 90. With auto
processing (n=0) specified, the number of rows is calculated by using the
following information:
· Printing area when processing Functions 081 · Module height (Function 068)
The setting of this command remains effective until ESC @, printer reset or
power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 79 –
<Function 067> GS ( k pL pH cn fn n (fn=67)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH cn
fn
n
Hex
1D 28 6B 03 00 30 43
n
Decimal 29 40 107 3
0
48 67
n
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.
Remarks:
Settings of this command affect the processing of Functions 081. 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): 180dpi: 0.141(1/180 inch) 203dpi: 0.125(1/203 inch)
Ver. 1.01
BIXOLON
– 80 –
<Function 068> GS ( k pL pH cn fn n (fn=68)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH cn
fn
n
Hex
1D 28 6B 03 00 30 44
n
Decimal 29 40 107 3
0
48 68
n
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].
Remarks:
Settings of this command affect the processing of Functions 081. The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 81 –
<Function 069> GS ( k pL pH cn fn m n (fn=69)
Thermal POS Printer
Code:
ASCII
GS
(
k
pL
pH
cn
fn
m
n
Hex
1D
28
6B
04
00
30
45
m
n
Decimal
29
40
107
4
0
48
69
m
n
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. · The error correction level is set by “level”.
Remarks:
Settings of this function affect the processing of Functions 081.
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.
n
Function
Number of error correction codeword
48
Error correction level 0
2
49
Error correction level 1
4
50
Error correction level 2
8
51
Error correction level 3
16
52
Error correction level 4
32
53
Error correction level 5
64
54
Error correction level 6
128
55
Error correction level 7
256
56
Error correction level 8
512
The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 82 –
<Function 070> GS ( k pL pH cn fn m (fn=70)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH cn
fn
m
Hex
1D
28
6B
03
00
30
46
m
Decimal 29 40 107 3
0
48
70
m
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. m 0 1
Function Select the standard PDF417 Select the simplified PDF417
Remarks:
Settings of this function affect the processing of Functions 081. When simplified PDF417 symbol is canceled, standard PDF417 symbol is automatically selected. The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 83 –
<Function 080> GS ( k pL pH cn fn m d1…dk (fn=80)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH
cn
fn
m
Hex
1D 28 6B pL pH 30 50 30
Decimal 29 40 107 pL pH 48 80 48
d1…dk d1…dk d1…dk
Range:
4 (pL + pH x 256) 65535 (0 pL 255, 0 pH 255) cn=48 fn=80 m=48 0 d 255 k = (pL
- pH x 256) 3
Default:
None
Description: This command stores the PDF417 symbol data (d1…dk) in the symbol storage area.
Remarks:
The data stored in the symbol storage area by this command remains reserved
after processing Function 081. The following data should not be included in
the symbol data d1..dk since this information is automatically
added by the printer: · Start pattern and stop pattern. · Indicator codeword
of left and right. · The descriptor of symbol length (the first code word in
the data area). · The error correction codeword calculated by modulus 929.
The setting of this command remains effective until the following processing
is performed: · Executing Function 080 · Executing ESC @ · Executing printer
reset or power-off
Differences: None
Ver. 1.01
BIXOLON
– 84 –
<Function 081> GS ( k pL pH cn fn m (fn=81)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH cn
fn
m
Hex
1D
28
6B
03
00
30
51
m
Decimal 29 40 107 3
0
48
81
m
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.
Remarks:
In standard mode, this command is available only when printer is at the
beginning of a line or the printer buffer is empty.
A symbol exceeding the printing area in size can not be printed. Printing
operation is not processed under the following conditions:
· There is no data (Function 080 is not processed). · If [(number of columns x
number of rows) < number of code word] when automatic processing is specified
for number of columns and number of rows. · Number of code word exceeds 928 in
the data area. The following data is added automatically by the encode
processing: · Start pattern and stop pattern. · Indicator code word of left
and right. · The descriptor of symbol length (the first code word in the data
area). · The error correction code word calculated by modulus 929. · Pad
codeword.
Ver. 1.01
BIXOLON
– 85 –
Thermal POS Printer 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. When automatic processing (Function 065) is
specified, the number of columns is calculated using the following
information: · Current printing area · Module width (Function 067) · Option
setting (Function 070) · Codeword in the data area · The maximum number of
columns is 30. When auto processing (Function 066) is specified in page mode,
the number of rows is calculated using the following information: · Current
printing area · Module height (Function 068) · Codeword in the data area · The
maximum number of rows is 90. Except for character size and upside-down
printing mode, none of print mode such as emphasized, doublestrike, etc,
affects the printing of the symbol. 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. 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. · The quiet zone means the spaces surrounding the symbol such
as upper, lower, left, and right spaces.
Differences: None
Ver. 1.01
BIXOLON
– 86 –
<Function 165> GS ( k pL pH cn fn n1 n2 (fn=65)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH cn
fn
n1
n2
Hex
1D 28 6B 04 00 31 41 n1 n2
Decimal 29 40 107 4
0
49 65 n1 n2
Range:
(pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=65 n1 = 49, 50 n2 =0
Default:
n1 = 50, n2 = 0
Description:
This command sets the QR Code model as follows: n1 49 50
Function Model 1 Model 2
Remarks:
The setting of this command affects <Function 181>. The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 87 –
<Function 167> GS ( k pL pH cn fn n (fn=67)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH
cn
fn
n
Hex
1D 28 6B 03 00 31 43
n
Decimal 29 40 107 3
0
49 67
n
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.
Remarks:
The setting of this command affects the processing of <Function 181>. Since the QR CODE module is square, n = module width = module height. The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 88 –
<Function 169> GS ( k pL pH cn fn n (fn=69)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH cn
fn
n
Hex
1D 28 6B 03 00 31 45
n
Decimal 29 40 107 3
0
49 69
n
Range:
(pL + pH x 256) = 3 (pL=3, pH=0) cn=49 fn=69 48n51
Default:
n = 48
Description:
This command sets the error correction level for QR Code.
n
Function
48
Error Correction Level L
49
Error Correction Level M
50
Error Correction Level Q
51
Error Correction Level H
Recovery Amount (%) 7 15 25 30
Remarks:
The setting of this command affects the processing of <Function 181>. Reed- Solomon correction is employed to generate a series of error correction codewords. The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 89 –
<Function 180> GS ( k pL pH cn fn m d1…dk (fn=80)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH cn
fn
m
Hex
1D 28 6B pL pH 31 50 30
Decimal 29 40 107 pL pH 49 80 48
d1…dk d1…dk d1…dk
Range:
4 (pL + pH x 256) 7092 (0 pL 255, 0 pH 27) cn=49 fn=80 m=48 0 d 255 k = (pL + pH x 256) 3
Default:
None
Description: This command saves symbol data of the QR Code to the symbol storage area.
Remarks:
The symbol data is defined, stored to the symbol storage area by Function 180 and printed by the specification
of Function 181. The data remains reserved after completion of printing.
The following shows the data available for encoding of QR code.
Character Type
Usable Characters
Numeric Data
“0” ~ “9”
Alphanumeric Data
“0” ~ “9”, “A” ~ “Z”, SP, $, %, *, +, -, ., /, :
Kanji Data
Shift JIS value
8bit Byte Data
00H ~ FFH
The setting of this command remains effective until the following processing is performed:
· Performing Function 180
· Performing ESC @
· Performing the printer reset or power-off
Differences: None
Ver. 1.01
BIXOLON
– 90 –
<Function 181> GS ( k pL pH cn fn m (fn=81)
Thermal POS Printer
Code:
ASCII GS
(
k
pL pH cn
fn
m
Hex
1D 28 6B 03 00 31 51
m
Decimal 29 40 107 3
0
49 81
m
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.
Remarks:
In standard mode, this command is available only when printer is at the
beginning of a line or the printer buffer is empty.
A symbol exceeding the printing area in size can not be printed. Printing
operation is not processed under the following conditions:
· There is no data. (Function 180 is not executed) · If [(number of columns x
number of rows) < number of code words], the numbers of columns and rows are
automatically processed. · The four types of data compression modes are listed
below. According to the symbol data in the data storage
area, automatically selects the best suitable compression mode. Numeric Data
Code Alphanumeric Data mode Kanji Data mode 8 bit Data mode
Ver. 1.01
BIXOLON
– 91 –
Thermal POS Printer 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 · Indicator for counting bits of bytes · Mode indicator · Concluder
· Queue pattern (when model 2 is selected) · Expansion pattern (when model 1
is selected) Except for character size and upside-down printing mode, none of
print mode such as emphasized, doublestrike, etc, affects the printing of the
symbol. 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. 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.
Differences: None
Ver. 1.01
BIXOLON
– 92 –
GS *
Thermal POS Printer
Function: Define downloaded bit image
Code:
ASCII GS
x
y
Hex
1D 2A
x
y
Decimal 29 42
x
y
[d1…d(x x y x 8)] [d1…d(x x y x 8)] [d1…d(x x y x 8)]
Range:
1 x 255 1 y 48 (where x x y 1536) 0 d 255
Default:
None
Description:
This command defines the downloaded bit image using the number of dots specified by x and y. · x and y specify the number of dots in the horizontal and vertical directions respectively. · D defines the bit image data. · K denotes the number of the definition data.
Remarks:
The bit image can be printed by downloaded graphics function, GS ( 8. The
downloaded bit image is available until ESC @, printer reset or power cycling
is executed. The user-defined character and the downloaded bit image cannot be
defined simultaneously.
· The user-defined character is cleared preceding the execution of this
command. · The downloaded bit image data is cleared with ESC & executed.
Differences: None
Ver. 1.01
BIXOLON
– 93 –
GS /
Thermal POS Printer
Function: Print downloaded bit image
Code:
ASCII GS
/
m
Hex
1D
2F
m
Decimal 29
47
m
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.
DPI: Dots per Inch (25.4mm)
m
Mode
Vertical dot density(DPI)
Horizontal dot density(DPI)
0, 48
Normal
180
180
1, 49
Double-width
180
90
2, 50
Double-height
90
180
3, 51
Quadruple
90
90
Remarks:
The download bit image is defined by GS *. This command is ignored when if a
downloaded bit image is not defined. In standard mode, this command works only
when the print buffer is empty and the printer is in the start
Of the line. m is treated as normal data if the print buffer has data. In page
mode, the bit image data is accumulated in the print buffer, but does not
perform the actual
printing. Except for character size and upside-down printing mode, none of
print mode such as emphasized, double-
strike, etc, affects the printing of the downloaded bit image. The default dot
density set by GS L is applied to printing of the downloaded bit image.
Ver. 1.01
BIXOLON
– 94 –
Differences: 180dpi:
m 0, 48 1, 49 2, 50 3, 51
203dpi:
Mode
Normal Double-width Double-height
Quadruple
m 0, 48 1, 49 2, 50 3, 51
Mode
Normal Double-width Double-height
Quadruple
Vertical dot density(DPI) 180 180 90 90
Vertical dot density(DPI) 203 203 203/2 203/2
Thermal POS Printer
DPI: Dots per Inch (25.4mm) Horizontal dot density(DPI)
180 90 180 90
DPI: Dots per Inch (25.4mm) Horizontal dot density(DPI)
203 203/2 203 203/2
Ver. 1.01
BIXOLON
– 95 –
Thermal POS Printer GS :
Function: Start/end macro definition
Code:
ASCII GS
:
Hex
1D 3A
Decimal 29 58
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.
The printer performs printing during macro definition. The macro is executed
by GS ^. The maximum number of macro data to be defined varies with respect to
printer models. The data exceeding
this limit is not stored. ESC @ does not clear the existing defined macro. The
macro remains effective until the printer reset and power
cycling are executed.
Differences: None
Ver. 1.01
BIXOLON
– 96 –
GS B
Thermal POS Printer
Function: Turns white/black reverse printing mode on / off
Code:
ASCII GS
B
n
Hex
1D 42
n
Decimal 29 66
n
Range:
0 n 255
Default:
n = 0
Description: This command selects white/black reverse printing mode by setting the least significant bit of n. · When the LSB of n is 0, white/black reverse mode is turned off. · When the LSB of n is 1, white/black reverse mode is turned on.
Remarks:
This command does not affect multi-byte characters such as Kanji, Japanese and Korean. The right space defined by ESC SP is affected by this command. In white/black reverse mode, the underline mode is not effective. This mode remains effective until ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 97 –
GS H
Thermal POS Printer
Function: Selects print position of HRI characters
Code:
ASCII
GS
H
n
Hex
1D 48
n
Decimal 29 72
n
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.
· The printing position is set according to the value of as follows:
n
Printing position
0, 48
Not printed
1, 49
Above the bar code
2, 50
Below the bar code
3, 51
Both above and below the bar code
Remarks:
The font of the HRI characters is defined by GS f. The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 98 –
GS I
Function: Transmits printer ID
Code:
ASCII GS
I
n
Hex
1D 49
n
Decimal 29 73
n
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:
n
Printer ID
1,49
Printer model ID
2,50
Type ID
3,51
Printer feature ID
· Transmits specified printer information, using n as follows:
n
Printer ID type
65
Firmware version
66
Manufacturer
67
Printer model
69
Code page
Thermal POS Printer
Specification Printer model Printer type Printing method and Printer size
Specification Firmware version
BIXOLON Printer model Currently enabled code page
Ver. 1.01
BIXOLON
– 99 –
Remarks:
Thermal POS Printer
Printer information (When n = 65, 66, 67, 69) consist of [Header ~ NULL] data as shown below:
Transmitted data
Hex
Decimal
Amount of data
Header
5FH
95
1byte
Printer information
Depends on the model
Depends on the model
0-15 bytes
NUL
00H
0
1byte
The firmware version can be confirmed by self test printing.
Differences:
The printer ID is shown according to printer models as follows:
Printer ID
SRP-350plusV
1(Printer model ID)
2(Type ID)
3(Printer feature ID) 65(Firmware Version)
66(Manufacturer) 67(Printer model) 69(Language of Font)
0x20 Type ID varies depending on functions the printer supports as follows:
– 0x01 (Multi-byte character) – 0x02 (Autocutter)
– 0x03 (Autocutter + Multi-byte character) 0x63(when 3inch),0x62(when 2inch)
Depend on firmware version information BIXOLON
SRP-350plusV Code page currently being used. Refer to cod page setting
command, ESC t.
Ver. 1.01
BIXOLON
– 100 –
GS L
Thermal POS Printer
Function: Set left margin
Code:
ASCII GS
L
nL nH
Hex
1D 4C nL nH
Decimal 29 76 nL nH
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)].
Remarks:
The left margin is not effective in page mode. If the left margin is enabled
in page mode, the setting is available when the printer returns to standard
mode.
When the setting is beyond the printable area, the left margin is
automatically set to the maximum value of the printable area.
Since the left margin is the same as the leftmost side of the printable area,
the left side of the printable area is changed according to the left margin
specified.
The setting of this command remains effective until ESC @, printer reset or
power cycling is executed.
Printable area
Differences: None
Ver. 1.01
Left margin
Printing area width
BIXOLON
– 101 –
GS V
Thermal POS Printer
Function: Select cut mode and cut paper
Code:
Range: Default:
ASCII GS
V
m
Hex
1D
56
m
Decimal 29
86
m
ASCII GS
V
m
n
Hex
1D
56
m
n
Decimal 29
86
m
n
m=0, 1, 48, 49 m=65, 66, 0 n 255
None
Description: This command cuts paper in the specified mode as follows.
m
Function
0,48 Executes a partial cut (one point left uncut)
1,49
65
Feeds paper to (cutting position + n × vertical motion unit) and executes a partial cut(one point left uncut)
Remarks:
For If an auto cutter is not provided, this command is ignored command is executed. For When n = 0, the printer feeds the paper to the cutting position and cuts it. If an auto cutter is not provided, the printer only feeds the paper for specified amount. Vertical motion unit is used for calculating a paper feed amount. Autocutter options can be changed via Unified Utility (MSW 5-1, MSW 5-2).
Differences: None
Ver. 1.01
BIXOLON
– 102 –
GS W
Thermal POS Printer
Function: Set printing area width
Code:
ASCII
GS
W
nL nH
Hex
1D 57 nL nH
Decimal 29 87 nL nH
Range:
0 nL 255, 0 nH 255
Default:
180dpi: (nL + nH x 256)=512 (nL=0, nH=2)
203dpi: (nL + nH x 256)=576 (nL=64, nH=2)
(When 80mm width of paper used) (When 80mm width of paper used)
Description: This command sets the printing area width to [(nL + nH x 256) x (horizontal motion units)].
Remarks:
The printing area width is not effective in page mode. If the printing area
width is enabled in page mode, the setting is available when the printer
returns to standard mode.
When (left margin + printing area width) exceeds the printable area, the
printing area width is automatically set to (printing area width – left
margin).
The setting of this command remains effective until ESC @, printer reset or
power cycling is executed.
Printable area
Differences: None
Ver. 1.01
Left margin
Printing area width
BIXOLON
– 103 –
GS ^
Thermal POS Printer
Function: Execute macro
Code:
ASCII GS
^
r
Hex
1D 5E
r
Decimal 29 94
r
t
m
t
m
t
m
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.
· t specifies the waiting time before the macro is executed.
· m specifies macro executing mode as shown below.
m
Function
0
Executes the macro r times continuously at the interval specified by t.
1
The printer waits for the paper FEED button to be pressed for the time specified by t. The macro is executed once when the button is pressed. This operation is repeated r times.
Remarks:
The macro is defined by GS: If the macro is not defined or r = 0, the command is ignored. The macro function is useful to print the same data repeatedly.
Differences: None
Ver. 1.01
BIXOLON
– 104 –
GS a
Thermal POS Printer
Function: Enable/Disable Automatic Status Back (ASB)
Code:
ASCII GS
a
n
Hex
1D 61
n
Decimal 29 97
n
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.
Remarks:
ASB is the function that transmit the printer status such as cover open/close
and Online/Offline] continuously at the time interval specified regardless of
the status change if ASB is enabled. Using this ASB function, the host can
check to see if the printer is running properly.
Once ASB has been enabled, the printer continues to transmit the current
printer status at the specified interval until ASB is disabled.
When n = 0, ASB is disabled. The printer stops transmitting the status. With
parallel and USB interface, the printer status is transmitted whenever the
host computer changes to the
reverse mode regardless of the printer status change. It is recommended that
the periodic time interval at which the host changes to reverse mode is more
than 500ms in order to receive the correct status. With serial interface, ASB
status is transmitted continuously at the interval of 1 sec even if the status
is not changed. The setting of this command remains effective until ESC @,
printer reset or power cycling is executed.
Ver. 1.01
BIXOLON
– 105 –
Ver. 1.01
Thermal POS Printer
The printer information transmitted is comprised of 4 bytes as follows:
· First byte(printer information)
Bit
Off/On
Hex
Decimal
Function
0
Off
00
0
Not used. Fixed to Off
1
Off
00
0
Not used. Fixed to Off
2
Off On
00 04
0
Drawer kick-out connector pin 3 is LOW
4
Drawer kick-out connector pin 3 is HIGH
3
Off On
00 08
0
On-line
8
Off-line
4
On
10
16
Not used. Fixed to On
5
Off On
00 20
0
Cover is close
32
Cover is open
6
Off On
00 40
0
Paper is not being fed by the paper feed button
64
Paper is being fed by the paper feed butto
7
Off
00
0
Not used. Fixed to Off
· Second byte(printer information)
Bit
Off/On
Hex
Decimal
0
Off
00
0
1
Off
00
0
2
Off On
00 04
0 4
3
Off On
00 08
0 8
4
Off
00
0
5
Off On
00 20
0 32
6
Off On
00 40
0 64
7
Off
00
0
Function Not used. Fixed to Off Not used. Fixed to Off No mechanical error Mechanical error No auto cutter error Auto cutter error occurred Not used. Fixed to Off No unrecoverable error Unrecoverable error No automatically recoverable error Automatically recoverable error occurred Not used. Fixed to Off
BIXOLON
– 106 –
Thermal POS Printer
– If mechanical error (bit 2) or auto-cutter error (bit 3) occurs due to paper jams or the like, it is possible to
recover by correcting a cause of the error and executing ENQ in real time mode.
– If an unrecoverable error (bit 5) occurs, turn off the power as soon as possible.
· Third byte (paper sensor information)
Bit
Off/On
Hex
Decimal
Function
0,1
Off On
00 03
0
Paper near end sensor: paper adequate
3
Paper near end sensor: paper near end
2,3
Off On
00 0C
0
Paper end sensor: paper present
12
Paper end sensor: no paper present
4
Off
00
0
Not used. Fixed to Off
5
Off
00
0
Not used. Fixed to Off
6
Off
00
0
Not used. Fixed to Off
7
Off
00
0
Not used. Fixed to Off
· Fourth byte (paper sensor information)
Bit
Off/On
0
On
1
On
2
On
3
On
4
Off
5
Off
6
Off
7
Off
Hex
Decimal
01
1
02
2
04
4
08
8
00
0
00
0
00
0
00
0
Not used. Fixed to On Not used. Fixed to On Not used. Fixed to On Not used. Fixed to On Not used. Fixed to Off Not used. Fixed to Off Not used. Fixed to Off Not used. Fixed to Off
Differences: None
Function
Ver. 1.01
BIXOLON
– 107 –
Thermal POS Printer GS f
Function: Select font for HRI characters
Code:
ASCII GS
f
n
Hex
1D 66
n
Decimal 29 102 n
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, using n as follows:
n
Font
0, 48
Font A
1, 49
Font B
Remarks:
The setting of this command is applied to only HRI characters. The printing position of HRI characters are specified by GS H. The configurations of Font A and B vary depending on the printer model.
Differences: None
Ver. 1.01
BIXOLON
– 108 –
GS h
Thermal POS Printer
Function: Selects bar code height
Code:
ASCII GS
h
n
Hex
1D 68
n
Decimal 29 104 n
Range:
1 n 255
Default:
n = 162
Description: This command sets the height of the bar code to n dots.
Remarks:
The unit of n depends on the printer model. The setting of this command remains effective until ESC @, printer reset or power cycling is executed.
Differences: Unit of one dot: 180dpi: 0.141mm(1/180 inch) 203dpi: 0.125mm(1/203 inch)
Ver. 1.01
BIXOLON
– 109 –
GS k
Function: Print bar code
Code:
ASCII GS
k
m
Hex
1D 6B m
Decimal 29 107 m
ASCII GS
k
m
Hex
1D 6B m
Decimal 29 107 m
d1…dk d1…dk d1…dk
n n n
NUL NUL NUL d1…dn d1…dn d1…dn
Range:
0 m 6 65 m 73 K, m, n depend on the barcode system
Default:
None
Description:
This command selects a bar code system and prints the bar code. · k indicates the number of bytes of bar code data. · n specifies the number of bytes of bar code data. · d specifies the character code data of the bar code data to be printed.
Thermal POS Printer
Ver. 1.01
BIXOLON
– 110 –
For range m 0 1 2 3
4
5
6
Bar Code System UPC-A UPC-E
JAN13(EAN) JAN8(EAN)
CODE39
ITF
CODABAR
For range m 65 66 67 68
69
70
71
72 73
Bar Code System UPC-A UPC-E
JAN13(EAN) JAN8(EAN)
CODE39
ITF
CODABAR
CODE93 CODE128
Range of k 11 k 12 11 k 12 12 k 13
7 k 8
1 k
1 k (even number) 1 k
Range of k 11 n 12 11 n 12 12 n 13
7 n 8
1 n 255 1 n 255 (even number)
1 n 255
1 n 255 2 n 255
Thermal POS Printer
Range of d 48 d 57 48 d 57 48 d 57 48 d 57 48 d 57, 65 d 90,
d=32,36,37,43,45,46,47 48 d 57 48 d 57, 65 d 68, d=36,43,45,46,47,58
Range of d 48 d 57 48 d 57 48 d 57 48 d 57 48 d 57, 65 d 90,
d=32,36,37,43,45,46,47 48 d 57 48 d 57, 65 d 68, d=36,43,45,46,47,58 0 d 127 0
d 127
Ver. 1.01
BIXOLON
– 111 –
Remarks:
Thermal POS Printer 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. The quiet zone of the bar
code (left and right spaces of the bar code) should be considered when using
this
command.
Differences: None
Ver. 1.01
BIXOLON
– 112 –
Thermal POS Printer GS r
Function: Transmit status
Code:
ASCII GS
r
n
Hex
1D 72
n
Decimal 29 114 n
Range:
n = 1, 2, 49, 50
Default:
None
Description:
The command transmits the status specified by n as follows:
n
Function
1, 49
Transmits paper sensor status
2, 50
Transmits drawer kick-out connector status
Remarks:
The status is one byte.
The status to be transmitted is as follows:
· Paper sensor status (n=1, 49):
Bit
Off/On
Hex
Decimal
0, 1
Off On
00 03
0 3
2, 3
Off On
00 0C
0 12
4
Off
00
0
5
Off
00
0
6
Off
00
0
7
Off
00
0
Function Paper near end sensor: Paper adequate Paper near end sensor: Paper near end Paper end sensor: Paper present Paper end sensor: Paper not present Fixed Reserved Reserved Fixed
Ver. 1.01
BIXOLON
– 113 –
Thermal POS Printer
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):
Bit
Off/On
Hex
Decimal
Function
0
Off On
00 01
0
Drawer kick-out connector pin 3 is LOW
1
Drawer kick-out connector pin 3 is HIGH
1
Off
00
0
Reserved
2
Off
00
0
Reserved
3
Off
00
0
Reserved
4
Off
00
0
Fixed
5
Off
00
0
Reserved
6
Off
00
0
Reserved
7
Off
00
0
Fixed
This command can be executed in real-time mode using DLE.
Differences: None
Ver. 1.01
BIXOLON
– 114 –
GS v 0
Thermal POS Printer
Function: Print raster bit image
Code:
ASCII GS
v
0
m
Hex
1D
76
30
m
Decimal 29 118 48
m
xL xH yL yH d1…dk xL xH yL yH d1…dk 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 (yL + yH x 256) 4095 (0 yL 255, 0 yH 15) 0 d 255 k = (xL + xH x 256) x (yL + yH x 256)
Default:
None
Description:
This command prints a raster bit image according to the mode defined by m.
DPI: Dots per Inch (25.4mm)
m
Mode
Vertical dot density (DPI)
Horizontal dot density (DPI)
0, 48
Normal
180
180
1, 49
Double-width
180
90
2, 50
Double-height
90
180
3, 51
Quadruple
90
90
· xL, xH specifies (xL + xH x 256) byte(s) in the horizontal direction for the bit image.
· yL, yH specifies (yL + yH x 256) dot(s) in the vertical direction for the bit image.
· d specifies the definition data of the bit image data.
Ver. 1.01
BIXOLON
– 115 –
Remarks:
Thermal POS Printer In standard mode, this command is effective when the
printer buffer is empty and the printer is in the
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. The
default dot density set by GS L is applied to printing of the bit image.
Differences: 180dpi:
m 0, 48 1, 49 2, 50 3, 51
203dpi:
m 0, 48 1, 49 2, 50 3, 51
Mode Normal Double-width Double-height Quadruple
Mode Normal Double-width Double-height Quadruple
Vertical dot density (DPI) 180 180 90 90
Vertical dot density (DPI) 203 203 203/2 203/2
DPI: Dots per Inch (25.4mm) Horizontal dot density (DPI)
180 90 180 90
DPI: Dots per Inch (25.4mm) Horizontal dot density (DPI)
203 203/2 203 203/2
Ver. 1.01
BIXOLON
– 116 –
GS w
Thermal POS Printer
Function: Set bar code width
Code:
ASCII
GS
w
n
Hex
1D 77
n
Decimal 29 119 n
Range: Default:
2 n 6 n = 3
Description:
This command sets the horizontal size of the bar code, using n as follows:
n
Multi-level bar code module width (mm)
Binary-level bar code
Thin element width (mm)
Thick element width (mm)
2
0.282
0.282
0.706
3
0.423
0.423
1.129
4
0.564
0.564
1.411
5
0.706
0.706
1.834
6
0.847
0.847
2.258
· n specifies the bar code module width.
Remarks:
The setting of this command is effective for the following bar codes: · Multi-
level bar codes (UPC-A, UPC-E, JAN13, HAN8, CODE93, CODE128) · Binary-level
bar codes (CODE39, ITF, CODABAR)
The setting of this command remains effective until ESC @, printer reset or
power cycling is executed.
Ver. 1.01
BIXOLON
– 117 –
Differences:
180dpi:
n
2 3 4 5 6
Multi-level bar code module width (mm) 0.282 0.423 0.564 0.706 0.847
203dpi:
n
2 3 4 5 6
Multi-level bar code module width (mm) 0.250 0.375 0.500 0.625 0.750
Thermal POS Printer
Binary-level bar code
Thin element width (mm)
Thick element width (mm)
0.282
0.706
0.423
1.129
0.564
1.411
0.706
1.834
0.847
2.258
Binary-level bar code
Thin element width (mm)
Thick element width (mm)
0.250
0.625
0.375
1.000
0.500
1.250
0.625
1.625
0.750
2.000
Ver. 1.01
BIXOLON
– 118 –
BS M
Thermal POS Printer
Function: Select device font type
Code:
ASCII
BS
M
n
m
Hex
08 4D
n
m
Decimal 08 77
n
m
Range:
65 m 67 ( m = 65,66,67)
Default:
n = 0
Description:
This command selects print mode(s) with bits having following meanings:
Bit
Off/On
Hex
Decimal
Function
0
Off On
00 01
0 1
Resident ASCII font selected Customized ASCII font selected
1
Off On
00 02
0 2
Resident codepage font selected Customized character font selected
m
Function ( Select font type )
65
Font A (12×24)
66
Font B (9×17)
67
Font C (9×24)
The printer supports 3 font types by selecting m function.
Remarks: The setting of this command remains effective until ESC !, ESC @, printer reset or power cycling is executed.
Differences: None
Ver. 1.01
BIXOLON
– 119 –
BS V
Function:
Select cut mode and cut paper
Code:
ASCII
BS
V
m
Hex
08
56
m
Decimal 08
86
m
ASCII
BS
V
m
n
Hex
08
56
m
n
Decimal 08
86
m
n
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.
Remarks:
For If an auto cutter is not provided, this command is ignored command is executed.
Thermal POS Printer
Ver. 1.01
BIXOLON
– 120 –
Thermal POS Printer
For
When n = 0, the mechanism feeds the paper to the cutting position and cuts it.
If an auto cutter is not provided, the mechanism only feeds the paper for specified amount.
Vertical motion unit is used for calculating a paper feed amount.
m
Function
0,48
Executes a partial cut (one point left uncut)
1,49
Executes a full cut (cuts the paper completely)
65
Feeds paper to (cutting position + n × vertical motion unit) and executes a partial cut (one point left uncut)
66
Feeds paper to (cutting position + n × vertical motion unit) and executes a full cut (cuts the paper completely)
Differences: None
Ver. 1.01
BIXOLON
– 121 –
BS ^ P
Function: Set power saving mode
Code:
ASCII BS
^
P
fn
Hex
08
5E
50
fn
Decimal 08
94
84
fn
Range:
None
Default:
None
Description: Set the power saving mode for low power consumption. When the printer is entered power saving mode, printer is wait external interrupt.
Remarks:
If external interrupt is occurred, printer is wake up. · Communication(Serial, Parallel, USB), Cover sensor, Feed switch.
Differences: None
Thermal POS Printer
Ver. 1.01
BIXOLON
– 122 –
<Function 48> BS ^ P fn (fn=0,48)
Code:
ASCII BS
^
P
fn
m
t
Hex
08
5E
50
fn
m
t
Decimal 08
94
84
fn
m
t
Range:
fn=0,48, 0 m 1 5 t 255
Default:
m = 1, t = 20
Description: Set the power saving mode and time to change the sataus of printer.
Remarks:
The m=0 : power saving mode disable. The m=1 : power saving mode enable. The
power saving set time is [t x 1s] and the default time is 20 sec.
· If n is smaller than 5 the power saving time is set to defaut [20 x 1s].
Differences: None
Thermal POS Printer
Ver. 1.01
BIXOLON
– 123 –
<Function 49> BS ^ P fn (fn=1,49)
Code:
ASCII BS
^
P
fn
Hex
08
5E
50
fn
Decimal 08
94
84
fn
Range:
fn=1,49
Default:
None
Description: Read the power saving mode satatus and sleep time.
Remarks:
Power saving data is consist of [Header ~ NULL] data as shown below:
Transmitted data
Hex
Decimal
Header
5FH
95
Power saving mode
Depends on the setting Depends on the setting
Power saving time
Depends on the setting Depends on the setting
NUL
00H
0
Differences: None
Thermal POS Printer
Amount of data 1byte 1byte 1byte 1byte
Ver. 1.01
BIXOLON
– 124 –
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>