Emaar EP-360 User manual

EP-360 Micro panel printer 1/68
EP-360 Micro panel printer’s
User manual
Version1.0
UnRegistered

EP-360 Micro panel printer 2/68
1. GENERAL SPECIFICATIONS
2. Printer outline pictures and dimension
2.1 Dimension :
ITEM SPECIFICATION
PRINT METHOD Thermal direct line printing
Paper loading method Easy paper loading
Paper width 80mm
Print width 72mm
Resolution ration 8dots/mm(576dots/line)
Life of printing head 50km
Printing speed 60mm/sec.; Max.:80MM/sec.(voltage
8.5V)
Character size ANK:8x16,9x17,9x24,12x24
Chinese character fonts GB18030,24x24dots
Outline dimension 114 W x 69D x 107H mm
Installation: 108W x 102.5H
Embaded depth 55.2MM
Paper roll sepcification (Widht :80mm,Max. diameter :60mm)
Interface Serial(RS-232C/TTL) ,USB
Input power DC5V-9VDC or 12VDC
Operatiing temperature 0°C~55°C
Storage temperature -25°C~70°C
Operating humidity 10°C~80°C
Storage humidity 10°C~90°C
UnRegistered

EP-360 Micro panel printer 3/68
2.2. Printer Features
Fixed buckle
Status Lamp
Power lamp
Feed button
Open bracket
UnRegistered

EP-360 Micro panel printer 4/68
3.HOW TO USE
3.1Printing test
After power up, press K1, or short out J1 on the board , one test page will be printed.
3.2 Panel LED Indicators
When power on, the POWE lamp is always light, and The status Lamp’s indicator as follows:
Blink one: Work well
Blink two: No printer is detected
Blink three: No paper is detected
Blink four per 1minutes: The paper will be ending soon
Blink five: Printer mechanism is overheat.
Blink six: The Rubber roller is not detected
Blink ten: The flash IC is error
3.3 Buzzer Indicators
4.Interface and define
The printer has UART(RS-232C or TTL), USB interface and power connector.
In the following table, the signals present on the connector are listed:
UnRegistered

EP-360 Micro panel printer 5/68
4.1. MINI USB connector :
Pin number
Signal name
1 VUSB
2 D-
3 D+
4 NC
5 GND
4.2. Power supply connector :
4.3. RS232/TTL connector :
Pin number
Signal name
1 DTR
2 TX
3 RX
4 GND
5.ESC/POS PRINTING COMMAND SET
Command List
Type Command Name
Print
Command
LF Print and line feed
CR Print and carriage return
HT JMP to the next TAB position
ESC D n Set horizontal tab positions
ESC J n Print and Feed n dots paper
ESC d n Print and Feed n lines
Pin number
Signal name
1 +12VDC
2 +5-9VDC
3 GND
UnRegistered

EP-360 Micro panel printer 6/68
ESC = n Toggle the printer online or offline
Line spacing
Command
ESC 2 Select default line spacing
ESC 3 n Set line spacing
ESC a n Select justification
ESC SO Select Double Width mode
ESC DC4 Disable Double Width mode
GS L nL nH Set the left blank margin with dots
ESC $ nL nH Set absolute print position
ESC B n Set Left Space
Character
Command
ESC ! n Select print mode(s)
GS ! n Set or Cancle the double width and height
GS B Turn white/black reverse printing mode
ESC V n Turn 90°clockwise rotation mode on/off
ESC v n Transmit paper sensor status
ESC G n Turn on/off double-strike mode
ESC E n Set or Cancle bold font
ESC SP n Set the space between chars
ESC { n Turn upside-down printing mode on/off
ESC - n Set the underline dots(0,1,2)
ESC % n Select/Cancel user-defined characters
FS & Select Chinese mode
FS . Select character mode
FS! Set print mode for Kanji characters
ESC & Define user-defined characters
ESC ? n Cancle user-defined characters
ESC R n Select and internation character set
ESC t n Select character code table
Bit Image
Command
ESC * Select bit-image mode
GS * Define downloaded bit image
GS / Print downloaded bit image
GS v Print the bitmap with width and height
FS p n m Print NV bitmap
FS q n Define NV bitmap
Init Command
ESC @ Initialize printer
Status
Command
GS r n Transmit status
GS a n Enable/Disable ASB
Bar Code
Command
GS H Select printing position of human readable characters
GS h Set bar code height
GS w Set bar code width
GS k Print bar code
GS x Set barcode printing left space
miscellaneous ESC 7 n1 n2 n3
Setting Control Parameter Command
UnRegistered

EP-360 Micro panel printer 7/68
function
commands ESC 8 n1 n2 Sleep parameter
ESC 9 n Select Chinese code format
DC2 T Printing test page
FS t n Select Time out (for CB105B)
New
command
ESC C n Set BM Max (For BM)
GS FF Feed marked paper to print starting position (For BM)
ESC i Cut Paper (For cut)
ESC m Partial Cut Paper (For cut)
GS V Select cut mode and cut paper (For cut)
ESC p Generate pulse (For drawer)
ESC u Transmit peripheral device status (For drawer)
ESC c 5 Enable/disable panel buttons (For button)
GS ( F Set adjustment values(s) (For 701BM)
FS C Start receive buffer count (For cb65c)
FS S Send receive buffer count(For cb65c)
FS s save print parameter (for XBLY)
FS d Load default leaving factory set (for XBLY)
Control Commands
HT
[Name] Horizontal tab
[Format] ASCII HT
Hex 09
Decimal 9
[Description] Moves the print position to the next horizontal tab position.
[Notes]
nThis command is ignored unless the next horizontal tab position has
been set.
nIf the next horizontal tab position exceeds the printing area, the printer
sets the printing position to [printing area width + 1].
nHorizontal tab positions are set with ESC D.
nIf this command is received when the printing position is at [printing
area width + 1], the printer executes print buffer-full printing of the
current line and horizontal tab processing from the beginning of the
next line.
[Reference] ESC D
LF
[Name] Print and line feed
UnRegistered

EP-360 Micro panel printer 8/68
[Format] ASCII LF
Hex 0A
Decimal 10
[Description] Prints the data in the print buffer and feeds one line, based on the
current line spacing.
[Note] This command sets the print position to the beginning of the line.
[Reference] ESC 2, ESC 3
CR
[Name] Print and carriage return
[Format] ASCII CR
Hex 0D
Decimal 13
[Description] When automatic line feed is enabled, this command functions the
same as LF; when automatic line feed is disabled, this command is
ignored.
[Notes] · This command line feed is ignored with a serial interface model.
· Sets the print starting position to the beginning of the line.
[Reference] LF
ESC SP n
[Name] Set right-side character spacing
[Format] ASCII ESC SP n
Hex 1B 20 n
Decimal 27 32 n
[Range] 0 £ n £ 255
[Description] Sets the character spacing for the right side of the character to [n×
0.125 mm (n×0.0049”)].
[Notes] · The right-side character spacing for double-width mode is twice the
normal value. When characters are enlarged, the right-side character
spacing is n times normal value.
· This command does not affect the setting of Kanji characters
· This command sets values independently in standard mode.
[Default] n = 0
ESC ! n
[Name] Select print mode(s)
[Format] ASCII ESC ! n
Hex 1B 21 n
UnRegistered

EP-360 Micro panel printer 9/68
Decimal 27 33 n
[Range] 0 £ n £ 255
[Description] Selects print mode(s) using n as follows:
ESC $ nL nH
[Name] Set absolute print position
[Format] ASCII ESC $ nL nH
Hex 1B 24 nL nH
Decimal 27 36 nL nH
[Range] 0 £ nL £ 255
0 £ nH £ 255
[Description] Sets the distance from the beginning of the line to the position at
which subsequent characters are to be printed.
· The distance from the beginning of the line to the print position is
[(nL + nH×256)×0.125 mm].
[Notes] · Settings outside the specified printable area are ignored.
· In standard mode, the horizontal motion unit (x) is used.
[Reference] ESC \, GS $, GS \
Bit
Off/On
Hex Decimal Function
0 Off 00 0 Character Font A (12×24).
On 01 1 Character Font B (9×17).
1 Off 00 0 Turn white/black reverse printing mode not selected.
On 02 2 Turn white/black reverse printing mode selected.
2 Off 00 0 Turn on/off upside-down printing mode not selected.
On 04 4 Turn on/off upside-down printing mode selected.
3 Off 00 0 Emphasized mode not selected.
On 08 8 Emphasized mode selected.
4 Off 00 0 Double-height mode not selected.
On 10 16 Double-height mode selected.
5 Off 00 0 Double-width mode not selected.
On 20 32 Double-width mode selected.
6 Off 00 0 Turn Deleteline mode on/off not selected.
On 40 64 Turn Deleteline mode on/off selected.
7 - - - Undefined.
ESC B n
[Name] Set left space
[Format] ASCII ESC B n
Hex 1B 42 n
UnRegistered

EP-360 Micro panel printer 10/68
Decimal 27 66 n
[Range] Default is 0
0 ≤ n ≤ 47
ESC % n
[Name] Select/cancel user-defined character set
[Format] ASCII ESC % n
Hex 1B 25 n
Decimal 27 37 n
[Range] 0 £ n £ 255
[Description] Selects or cancels the user-defined character set.
· When the LSB of n is 0, the user-defined character set is canceled.
· When the LSB of n is 1, the user-defined character set is selected.
[Notes] · When the user-defined character set is canceled, the built-in
character set is automatically selected.
· n is available only for the least significant bit.
[Default] n = 0
[Reference] ESC &, ESC ?
ESC & y c1 c2 [x1 d1...d(y ´ x1)]...[xk d1...d(y ´ xk)]
[Name] Define user-defined characters
[Format] ASCII ESC & y c1 c2 [x1 d1...d(y ´ x1)]...[xk d1...d(y
´ xk)]
Hex 1B 26 y c1 c2 [x1 d1...d(y ´ x1)]...[xk d1...d(y
´ xk)]
Decimal 27 38 y c1 c2 [x1 d1...d(y ´ x1)]...[xk d1...d(y
´ xk)]
[Range] y = 3
32 £ c1 £ c2 £ 126
0 £ x £ 12 (when Font A (12×24) is selected)
0 £ d1 ... d(y×xk) £ 255
[Description] Defines user-defined characters.
· y specifies the number of bytes in the vertical direction.
· c1 specifies the beginning character code for the definition, and c2
specifies the final code.
· x specifies the number of dots in the horizontal direction.
[Notes] · The allowable character code range is from ASCII code <20>H to
<7E>H (95 characters).
· It is possible to define multiple characters for consecutive character
codes. If only one character is desired, use c1 = c2.
· d is the dot data for the characters. The dot pattern is in the
UnRegistered

EP-360 Micro panel printer 11/68
horizontal direction from the left side. Any remaining dots on the right
side are blank.
· The data to define user-defined characters is (y×x) bytes.
· Set a corresponding bit to 1 to print a dot or 0 not to print a dot.
· This command can define different user-defined character patterns
for each font. To select a font, use ESC !
· User-defined characters and a downloaded bit image cannot be
defined simultaneously. When this command is executed, the
downloaded bit image is cleared.
· The user-defined character definition is cleared when:
1) ESC @ is executed.
2) GS * is executed.
3) ESC ? is executed.
4) The power is turned off.
[Default] The internal character set
[Reference] ESC %, ESC ?
[Example]
· When Font A (12×24) is selected.
UnRegistered

EP-360 Micro panel printer 12/68
d1= <0F>H d4 = <30>H d7 = <40>H . . . .
d2 = <03>H d5 = <80>H d8 = <40>H . . . .
d3 = <00>H d6 = <00>H d9 = <20>H . . . .
ESC * m nL nH d1...dk
[Name] Select bit-image mode
[Format] ASCII ESC * m nL nH d1...dk
Hex 1B 2A m nL nH d1...dk
Decimal 27 42 m nL nH d1...dk
[Range] m = 0, 1, 32, 33
0 £ nL £ 255
0 £ nH £ 3
0 £ d £ 255
[Description] Selects a bit-image mode using m for the number of dots specified by
nL and nH, as follows:
mMode Vertical Direction Horizontal Direction
Number
of
Dots
Dot Density Dot
Density Number of Data
(K)
0 8-dot single-density 8 67.7 dpi 101.6 dpi
nL + nH ×256
1 8-dot double-density 8 67.7 dpi 203.2 dpi
nL + nH ×256
32 24-dot single-density 24 203.2 dpi 101.6 dpi
(nL + nH×256) ´3
33 24-dot double-density
24 203.2 dpi 203.2 dpi
(nL + nH ×256) ´3
[Notes] · If the value of m is out of the specified range, nL and nH the data
following are processed as normal data.
· The nL and nH indicate the number of dots in the bit image in the
UnRegistered

EP-360 Micro panel printer 13/68
horizontal direction. The number of dots is calculated by nL + nH
´ 256.
· If the bit-image data input exceeds the number of dots to be printed
on a line, the excess data is ignored.
· d indicates the bit-image data. Set a corresponding bit to 1 to print a
dot or to 0 not to print a dot.
· After printing a bit image, the printer returns to normal data
processing mode.
· This command is not affected by print modes (emphasized,
double-strike, underline, character size, or white/black reverse
printing), except upside-down printing mode.
· The relationship between the image data and the dots to be printed is
described in Figure 3.11.3.
· When 8-dot bit image is selected:
3.11.3
· When 24-dot bit image is selected:
UnRegistered

EP-360 Micro panel printer 14/68
3.11.3
ESC - n
[Name] Turn underline mode on/off
[Format] ASCII ESC - n
Hex 1B 2D n
Decimal 27 45 n
[Range] 0 £ n £ 2, 48 £ n £ 50
[Description] Turns underline mode on or off, based on the following values n:
nFunction
0, 48 Turns off underline mode
1, 49 Turns on underline mode (1 dot thick)
2, 50 Turns on underline mode (2 dots thick)
[Notes] · The printer can underline all characters (including right-side character
spacing), but cannot underline the space set by HT.
· The printer cannot underline 90° clockwise rotated characters and
white/black inverted characters.
· When underline mode is turned off by setting the value of n to 0 or 48,
the following data is not underlined, and the underline thickness set
before the mode is turned off does not change. The default underline
thickness is 1 dot.
UnRegistered

EP-360 Micro panel printer 15/68
· Changing the character size does not affect the current underline
thickness.
· Underline mode can also be turned on or off by using ESC !. Note,
however, that the last received command is effective.
[Default] n = 0
[Reference] ESC !
ESC 2
[Name] Select default line spacing
[Format] ASCII ESC 2
Hex 1B 32
Decimal 27 50
[Description] Selects 3.75 mm (30×0.125 mm) line spacing.
[Notes] · The line spacing can be set independently in standard mode.
[Reference] ESC 3
ESC 3 n
[Name] Set line spacing
[Format] ASCII ESC 3 n
Hex 1B 33 n
Decimal 27 51 n
[Range] 0 £ n £ 255
[Description] Sets the line spacing to [n×0.125 mm].
[Notes] · The line spacing can be set independently in standard mode.
· In standard mode, the vertical motion unit (y) is used.
[Default] n = 30
[Reference] ESC 2
ESC ? n
[Name] Cancel user-defined characters
[Format] ASCII ESC ? n
Hex 1B 3F n
Decimal 27 63 n
[Range] 32 £ n £ 126
[Description] Cancels user-defined characters.
[Notes] · This command cancels the patterns defined for the character codes
specified by n. After the user-defined characters are canceled, the
corresponding patterns for the internal characters are printed.
· This command deletes the pattern defined for the specified code in
UnRegistered

EP-360 Micro panel printer 16/68
the font selected by ESC !.
· If a user-defined characters have not been defined, the printer
ignores this command.
[Reference] ESC &, ESC %
ESC @
[Name] Initialize printer
[Format] ASCII ESC @
Hex 1B 40
Decimal 27 64
[Description] Clears the data in the print buffer and resets the printer mode to the
mode that was in effect when the power was turned on.
[Notes] · The DIP switch settings are not checked again.
· The data in the receive buffer is not cleared.
ESC D n1...nk NUL
[Name] Set horizontal tab positions
[Format] ASCII ESC D n1...nk NUL
Hex 1B 44 n1...nk 00
Decimal 27 68 n1...nk 0
[Range] 1 £ n £ 255
0 £ k £ 32
[Description] Sets horizontal tab positions.
· n specifies the column number for setting a horizontal tab position
from the beginning of the line.
· k indicates the total number of horizontal tab positions to be set.
[Notes] · The horizontal tab position is stored as a value of [character width ´ n]
measured from the beginning of the line. The character width
includes the right-side character spacing, and double-width
characters are set with twice the width of normal characters.
· This command cancels the previous horizontal tab settings.
· When setting n = 8, the print position is moved to column 9 by
sending HT.
· Up to 32 tab positions (k = 32) can be set. Data exceeding 32 tab
positions is processed as normal data.
· Transmit [n]k in ascending order and place a NUL code 0 at the end.
When [n]k is less than or equal to the preceding value [n]k-1, tab
setting is finished and the following data is processed as normal
data.
· ESC D NUL cancels all horizontal tab positions.
· The previously specified horizontal tab positions do not change, even
UnRegistered

EP-360 Micro panel printer 17/68
if the character width changes.
· The character width is memorized for each standard mode.
[Default] The default tab positions are at intervals of 8 characters (columns 9,
17, 25,...) for Font A (12×24).
[Reference] HT
ESC E n
[Name] Turn emphasized mode on/off
[Format] ASCII ESC E n
Hex 1B 45 n
Decimal 27 69 n
[Range] 0 £ n £ 255
[Description] Turns emphasized mode on or off
When the LSB of n is 0, emphasized mode is turned off.
When the LSB of n is 1, emphasized mode is turned on.
[Notes] · Only the least significant bit of n is enabled.
· This command and ESC ! turn on and off emphasized mode in the
same way. Be careful when this command is used with ESC !.
[Default] n = 0
[Reference] ESC !
ESC G n
[Name] Turn on/off double-strike mode
[Format] ASCII ESC G n
Hex 1B 47 n
Decimal 27 71 n
[Range] 0 £ n £ 255
[Description] Turns double-strike mode on or off.
· When the LSB of n is 0, double-strike mode is turned off.
· When the LSB of n is 1, double-strike mode is turned on.
[Notes] · Only the lowest bit of n is enabled.
· Printer output is the same in double-strike mode and in emphasized
mode.
[Default] n = 0
[Reference] ESC E
ESC J n
[Name] Print and feed paper
[Format] ASCII ESC J n
UnRegistered

EP-360 Micro panel printer 18/68
Hex 1B 4A n
Decimal 27 74 n
[Range] 0 £ n £ 255
[Description] Prints the data in the print buffer and feeds the paper [n×0.125 mm
(0.0049”)].
[Notes] · After printing is completed, this command sets the print starting
position to the beginning of the line.
· The paper feed amount set by this command does not affect the
values set by ESC 2 or ESC 3.
· In standard mode, the printer uses the vertical motion unit (y).
ESC R n
[Name] Select an international character set
[Format] ASCII ESC R n
Hex 1B 52 n
Decimal 27 82 n
[Range] 0 £ n £ 13
[Description] Selects international character set n from the following table:
nCharacter set
0 U.S.A
1 France
2 Germany
3 U.K
4 Denmark I
5 Sweden
6 Italy
7 Spain I
8 Japan
9 Norway
10 Denmark II
11 Spain II
12 Latin America
13 Korea
14 Slovenia/Croatia
15 China
[Default] n = 0
ESC V n
[Name] Turn 90° clockwise rotation mode on/off
[Format] ASCII ESC V n
UnRegistered

EP-360 Micro panel printer 19/68
Hex 1B 56 n
Decimal 27 86 n
[Range] 0 £ n £ 1, 48 £ n £ 49
[Description] Turns 90° clockwise rotation mode on/off
n is used as follows:
nFunction
0,48 Turns off 90° clockwise rotation mode
1,49 Turns on 90° clockwise rotation mode
[Notes] · This command affects printing in standard mode. However, the
setting is always effective.
· When underline mode is turned on, the printer does not underline 90°
clockwise-rotated characters.
· Double-width and double-height commands in 90° rotation mode
enlarge characters in the opposite directions from double-height and
double- width commands in normal mode.
[Default] n = 0
[Reference] ESC !, ESC
ESC v n
[Name] Transmit paper sensor status
[Format] ASCII ESC v n
Hex 1B 76 n
Decimal 27 118 n
[Description] The return value is 1 bytes ,It is a different on behalf of the status:
Bit
Off/On
Hex Decimal Function
0 Off 00 0 Offline.
On 01 1 Online.
1 - - - Undefined.
2 Off 00 0 paper have.
On 04 4 paper out.
3 Off 00 0 Voltage is normal.
On 08 8 Voltage >9.5V.
4 - - - Undefined.
5 - - - Undefined.
6 Off 00 0 Temperature is normal.
On 40 64 Temperature >60°.
7 - - - Undefined.
For example:return “0x04” is means paper out.
UnRegistered

EP-360 Micro panel printer 20/68
ESC a n
[Name] Select justification
[Format] ASCII ESC a n
Hex 1B 61 n
Decimal 27 97 n
[Range] 0 £ n £ 2, 48 £ n £ 50
[Description] Aligns all the data in one line to the specified position.
n selects the justification as follows:
n Justification
0,48 Left justification
1, 49 Centering
2, 50 Right justification
[Notes] · The command is enabled only when processed at the beginning of
the line in standard mode.
· This command executes justification in the printing area.
· This command justifies the space area according to HT, ESC $ .
[Default] n = 0
[Example]
Left justification Centering Right justification
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ESC SO n
[Name] Select Double Width mode
[Format] ASCII ESC SO n
Hex 1B 0E n
Decimal 27 14 n
[Description] Select Double Width mode,
To turn double width off, use LF or DC4 command.
ESC DC4 n
[Name] Disable Double Width mode
[Format] ASCII ESC DC4 n
Hex 1B 14 n
Decimal 27 20 n
[Description] Disable Double Width mode
UnRegistered
Table of contents