Instructions for Thermal Printer
- Description
It is latest compatible and portable thermal printer with 3 interfaces (serial port/USB/cyber blue), which won the great enthusiasm of customers by our streamline design for appearance and ultra-low power for circuit design. It can be widely used in logistics, traffic police on duty, electronic ticketing, E-commerce, finance and medical care etc.
2. Product Performance Index
Print performance / Print method / Thermal printing with direct linePrint density / 8 points/mm, 384 points/line
Effective print width / 48mm
Print speed / Around 60mm/second,or 22 lines/second
Character/graphic/barcode / Character / ANK character set: 12×24points, 1.50(width) ×3.00mm(height). National standard 1 and 2 grade Chinese and English character base: 24×
24 points; 3.00(width) ×3.00(height)mm custom character is accepted
Graphic / Print by different place of density points, buffer: 6K bytes
Barcode / Support barcode printing with UPC-A, UPC-E, EAN-13, EAN-8, CODE39, ITF25, CODABAR, CODE93, CODE128
Testing methods / Alarm for paper lacking / Support
Overheat protection / Support
Interface parameters / Serial interface / MINI USB socket
Bluetooth interface
Power parameters / DC power / DC5V±5%, 500mA, charge by connecting with USB on computer
Battery pack / Polymer battery / 7.4V 1200mAh
Reliability / Printer head life / 6×10e6 character lines
Paper / Paper type / Ordinary thermal paper
Width / 57.5±0.5mm
Thickness / 0.06~0.08mm
Roll size / 57×30mm
Loading method / Easy loading
Cutting way / Tear by hands
Physical characteristic / Operating temperature/humidity / 0~55℃/10~80%(relative humidity)
Storage temperature/humidity / -20~60℃/10~90%(relative humidity)
Appearance size(mm) / 115.12×83.20×44.54(mm)
3. Operating Instructions
1). Indicator
Indicator No1(red): charging, light while charging up put out when finish;
Indicator No2 (green): low power indicator, light and buzzer work at the same time while in low power;
Indicator No3 (red): status indicator, twinkling while printing;
Indicator No4 (green): paper lacking/error indicator, light while lack of paper and operating errors exist
2). Battery loading
3). Thermal paper installation
4). Charging up
MINI USB port connecting, standard USB port connect with computer USB or USB charger.
The first charging time must be over 8h, indicator lights while charging up, put out when finished charging.
5). Power on self check
Press the button” paper working”, then power up, turn to the auto self check printing status.
6). Printing
USB driver installation
..\USB 驱动\PL-2303HXDriver\PL-2303Driver Installer.exe
USB forward RS232 Baud rate: 115200bps
Bluetooth module searching, matching, connecting
Attention: If failed to match within 30 seconds, please press the power button ””, till to get match.
Name of device: HDX Printer. Matching password: 0000 services: serial port Baud rate: 115200bps
7). Power-saving mode and manual waking
For saving power, if cannot receive any printing info within 30 seconds, then machine turn to the sleeping status automatically, when need to keep printing, just press the power button .
- Product maintenance:
1). suggest using original power supply.
2). If you use your own power, should meet the following requirements:
Output voltage: ±5V; Current:≥500mA, standard USB output;
3). Use the thermal paper which meets the standard level from supplier, otherwise it may affect the printing quality and the printer head life, even damage the thermal printer head.
Attention: minimum value of both density and inside diameter on paper roll must meet the specify tolerance, otherwise the paper may get unsmooth work and affect the normal operation of printer.
4). Do not get the paper scrap or other attaching crops inside the cutting edge or on the machine core by hard stuffs (such as tweezers, blades etc) at anytime, for avoiding the permanent damage to blades and machine core.
5). After having finished the printing, don’t touch the machine core or surface of motor when open the blades, avoiding to get high-temperature burns from the metal surface.
6).Printer head and rubber stick may get some paper scrap or other attaching crops after some period of working, you should make regular clean, following the steps:
a. power off the printer, put the blades away printer head in a maximum distance;
b. push the rod of machine core towards front till a maximum place;
c. blow away the paper scraps and other attaching crops which on the rubber stick and inside the machine core by air bag;
d. rub the whole heating components on ceramic substrate with light wet alcohol cotton balls.(please be care that do not make alcohol drop while rubbing, do not use hard stuff such as tweezers to grab cotton balls, avoiding the damage to chips.)
e. after have finished the clean, please wait till the alcohol been dry, then pull back the rod.
- Printing control command
Each description form for Print command of B330 is showed as below:
Print command function
Form: ASCⅡ:indicating as standard ASCⅡcharater sequence
Decimal:indicating as decimal number sequence
Hexadecimal: indicating as hexadecimal number sequence
Instruction: functions and operating instruction of this statement
Example: this command will make some examples for easier understanding.
1). Printing command
LF print and line feed
Form: ASCⅡ: LF
Decimal: 10
Hexadecimal: 0A
Instruction: print the content of line buffer, and paper skip 1 line forwards, only 1 line while the buffer is empty. Each height of paper skip contains character height and line spacing height set by setting command.
ESC J print and paper skip forwards n points line
Form: ASCⅡ: ESC J n
Decimal: 27 74 n
Hexadecimal: 1B 4A n
Instruction: print the content of line buffer, and paper skip forwards n points line( n/203inches), n=0~127.
This command is effective only in printing this line, never change line spacing value of ESC 2, ESC 3 based on command setting.
For example:
A A A
n/203inches(n points lines)
B B B
ESC d print and paper skip forwards n points lines
Form: ASCⅡ: ESC d n
Decimal: 27 100 n
Hexadecimal: 1B 64 n
Instruction: print the content of line buffer, and paper skip forwards n line.
This command is effective only in printing this line, never change line spacing value of ESC 2, ESC 3 based on command setting. Each height of paper skip contains character height and line spacing height set by setting command.
2). Line spacing setting command
ESC 2 set character line space as 1/6 inches
Form ASCⅡ: ESC 2
Decimal: 27 50
Hexadecimal: 1B 32
Instruction: set character line space as 1/6 inches
ESC 3 set character line space as n lines (n/203 inches)
Form ASCⅡ: ESC 3 n
Decimal: 27 51 n
Hexadecimal: 1B 33 n
Instruction: set character line space as n lines. n=0~255
Dot pitch of HFE-631 is 1/203 inches, means the line space is 203 inches set by this command.
Default value n=4
For example: A A A
n=30, 30 dot pitch(30/203inches)
B B B
3). Character printing command
ESC set print method for character
Form: ASCⅡ: ESC ! n
Decimal: 27 33 n
Hexadecimal: 1B 21 n
Instruction: ESC! n is comprehensive setting command for character printing method, use to choose the size of character.
Each definition of print parameter is:
X X D5 D4 X X X X
1: times higher print
1:times wider print
Thereinto: default value of n is 0, no enlarge character.
ESC SO set the times wider print for character
Form: ASCⅡ: ESC SO
Decimal: 27 14
Hexadecimal: 1B OE
Instruction: all characters in 1 line must be print with twice width after setting this command; this command can be deleted with “Enter”or DC4.
ESC DC4 cancel the times wider print
Form: ASCⅡ: ESC DC4
Decimal: 27 20
Hexadecimal: 1B 14
Instruction: return to the normal width printing after having taken this command.
ESC SP set empty at right side of western character
Form: ASCⅡ: ESC SP n
Decimal: 27 32 n
Hexadecimal: 1B 20 n
Instruction: empty at right side=n*0.125mm, default value is 0
4). Special control command
ESC c to set stop printing while no paper
Form: ASCⅡ: ESC c 4 n
Decimal: 27 99 52 n
Hexadecimal: 1B 63 34 n
Instruction: choices for n value are as below:
n.1=1 OR n=2 stop printing if no paper
n.1=0 OR n=0 not check paper while printing
5). Graphic printing command
ESC to set point graph command
Form: ASCⅡ: ESC * m n1 n2 [d]k
Decimal: 27 42 m n1 n2 [d]k
Hexadecimal: 1B 2A m n1 n2 [d]k
Instruction: set the point graphic way( use m), point(use n1,n2) and the content of point graph( use [d]K).
m=0,1,32, 33. n1=0~255, n2=0~3,d=0~255
k=n1+256×n2(m=0,1)
k=(n1+256×n2)×3(m=32,23)
- Horizontal direction point is n1+256×n2
- If point value over 1 line, that part over the maximum point value will be ignored (that is about the point graphic way, detailed is show in the following table)
- point graphic data bytes for D, if the related is 1 means printing at 1 point, related is 0 means no printing.(k refers to the data item)
m is used for choose the ways of point graph
M / Mode / Lengthwise / crosswisepoints / Point density / Point density / Maximum point
0 / 8 point single density / 8 / 68DPI / 101DPI / 288
1 / 8 point single density / 8 / 68DPI / 203DPI / 576
32 / 24 point single density / 24 / 203DPI / 101DPI / 288
33 / 24 point single density / 24 / 203DPI / 203DPI / 576
d1 / d2 / d3 / High order
Low order
d1 / d4 / d7
High order
d2 / d5 / d8
d3 / d6 / d9
Low order
Point graphic data (bitmap) Point graphic data(bitmap)
6).Chinese character control command
FS ! to set times higher, times wider printing method
Form: ASCⅡ: FS ! n
Decimal: 28 33 n
Hexadecimal: 1C 21 n
Instruction: This command is to set the times higher and wider printing methods for character. The printing method will be always effective if have not reset it. Definition for parameter n is showed as below:
X X X X D3 D2 X X
Among these, D2=1, to set times wider printing; D2=0, cancel times wider printing
D3=1, to set times higher printing; D3=0, cancel times higher printing, default value for n is 0.
7). other control command
ESC @ printer initialization
Form: ASCⅡ: ESC @
Decimal: 27 64
Hexadecimal: 1B 40
Instruction: the content of initiating printer in the command, ESC @
◆delete the print buffer
◆restore the line space, gray-scale default value
ESC 1 to set the left border
Form: ASCⅡ: GS 1 n
Decimal: 29 108 n
Hexadecimal: 1bH 6CH n
Instruction: sn is the character that no printing on left
ESC V to deliver the printing status to main engine
Form: ASCⅡ: ESC V
Decimal: 24 118
Hexadecimal: 1B 76
Instruction:
- When the printer receives this command, deliver 1 byte to upper computer through the serial interface TXD
- Delivering 1 byte data to the upper computer, varies of definition about the byte m are as below:
m.0 0==with paper 1==without paper
m.1 0==normal 1==without battery
m.2 0==normal 1==over heating
m.4 0==normally knife cutting 1==error in knife cutting
m.6 0==normal voltage 1==over low voltage
The others retain for present.
Attention: this command is effective only in the serial interface status
8).Barcode control command
GS h set the height of barcode
Form: ASCⅡ: GS h n
Decimal: 29 104 n
Hexadecimal: 1D 68 n
Instruction: the value of n is the point value in vertical orientation, default value is 60 points.
GS k m n printing barcode
Form: ASCⅡ: GS k m n d1… dk
Decimal: 29 107 m n d1… dk
Hexadecimal: 1D 6b m n d1…dk
Instruction: choose the right system for print barcode and then print the barcode. There’re 2 forms about this command:
1. GS K m d1… dk NUL
Hexadecimal: 1D 6B m d1…dk 00
Decimal: 29 107m d1… dk 0 0≤m≤6
2. GS K m d1…dn
Hexadecimal: 1D 6B m d1…dn
Decimal: 29 107 m n d1…dn
65≤m≤73
N refers to the following data point
These 2 commands come centralizing, and use m to choose the following barcode systems:
Form 1:
M k scale d scale
0:UPC-A 11≤K≤12 48≤d≤57
1: UPC-E 11≤K≤12 48≤d≤57
2:EAN13 12≤K≤13 48≤d≤57
3:EAN8 7≤k≤8 48≤d≤57
4.CODE39 1≤K 48≤d≤57,65≤d≤90,32,36,37,43,45,46,47
5.ITF 1≤K (even num) 48≤d≤57
6.CODEBAR 1≤K 48≤d≤57,65≤d≤68,36,43,45,46,47,58
Form2::
m n scale d scale
65:UPC-A 11≤K≤12 48≤d≤57
66: UPC-E 11≤K≤12 48≤d≤57
67:EAN13 12≤K≤13 48≤d≤57
68:EAN8 7≤k≤8 48≤d≤57
69.CODE39 1≤K≤255 48≤d≤57,65≤d≤90,32,36,37,43,45,46,47
70.ITF 1≤K (even num) 48≤d≤57
71.CODEBAR 1≤K 48≤d≤57,65≤d≤68,36,43,45,46,47,58
72.CODE93 1≤n≤255 0≤d≤127
73.CODE128 2≤n≤255 0≤d≤127
GS W set the width of barcode
Form: ASCⅡ: GS W n
Decimal: 29 119 n
Hexadecimal: 1D 77 n
Instruction: among, value for n is horizontal orientation point, default value is 2 points.
1