HSPos HS-QR73 User manual

HS-QR73(24V) user manual
1
HS-QR73(24V)
Panel thermal printer user manual

HS-QR73(24V) user manual
2
content
1 Introduction .............................................................................................................................................5
1.1 HS-QR73......................................................................................................................................5
1.2 main feature..................................................................................................................................5
2 Performance parameters ..........................................................................................................................6
3 Dimensional drawing and pin definition.................................................................................................7
3.1 Dimensional drawing...................................................................................................................7
3.2 Pin definition...............................................................................................................................8
4.Basic use................................................................................................................................................10
4.1 Print a self-test page.................................................................................................................10
4.2 Status prompt ...........................................................................................................................10
4.3 Eliminate cutter jams and paper jams...................................................................................11
4.4 Cutter test..................................................................................................................................11
4.5 The working principle and troubleshooting methods of anti paper jam and anti paper
drag..................................................................................................................................................11
4.6 Printer installation ...................................................................................................................11
5 Label mode ............................................................................................................................................12
5.1 Label parameter .......................................................................................................................12
5.2 Set label mode and parameters...............................................................................................13
6.Command list.........................................................................................................................................14
7 The detail of commands ........................................................................................................................17
7.1 Print and feed command ............................................................................................................17
Print and feed paper.................................................................................................................17
Enter.........................................................................................................................................17
Print and feed paper n dots ......................................................................................................17
Print and feed paper n lines .....................................................................................................18
7.2 Print setting commands..............................................................................................................18
Set the line spacing to n dots ...................................................................................................18
Set the line spacing to the default value ......................................................................19
Set print position......................................................................................................................19
Set the amount of left margin ..................................................................................................19
Set the left margin....................................................................................................................20
Set the right spacing of characters...........................................................................................20
Choose font..............................................................................................................................21
Set character printing method..................................................................................................21
Set character size .....................................................................................................................22
Set and cancel reverse printing................................................................................................23
Set and remove underline ........................................................................................................23
Set and cancel 90°rotation printing .........................................................................................24
Set and cancel bold printing ....................................................................................................25
Set and cancel overlap printing ...............................................................................................25
Set and cancel upside-down printing.......................................................................................26

HS-QR73(24V) user manual
3
Set print alignment...................................................................................................................26
Set Chinese character mode.....................................................................................................27
Set Chinese character printing mode combination..................................................................27
Cancel Chinese Character Mode .............................................................................................29
Define user-defined Chinese characters ..................................................................................29
Choose an international character set......................................................................................30
Select character code page.......................................................................................................31
Toggle double-byte encoding..................................................................................................33
7.3 Graphic printing commands..................................................................................................34
Graph vertical modulo data filling...........................................................................................34
Image horizontal modulo data printing ...................................................................................35
Define download bitmap..........................................................................................................36
Print download bitmap.............................................................................................................38
Define NV bitmap....................................................................................................................38
Print NV bitmap.......................................................................................................................42
Print raster bitmap....................................................................................................................42
Print line segment in horizontal position.................................................................................44
(curve print command) ............................................................................................................44
7.4 Tabulation commands................................................................................................................49
Horizontal tabulation ...............................................................................................................49
Set the horizontal tab position .................................................................................................49
7.5 One-dimensional barcode printing commands ..........................................................................50
Set the printing position of one-dimensional bar code readable characters (HRI) .................50
Set the height of one-dimensional barcode .............................................................................50
Set the width of one-dimensional barcode ..............................................................................51
Print one-dimensional barcode ................................................................................................51
7.6 QR code printing commands......................................................................................................57
Set the module type of QR code..............................................................................................57
Set the error correction level of the QR code .............................................................57
Store the QR code data in the QR code buffer........................................................................58
Print QR code...........................................................................................................................58
Set the graphic information of the QR code............................................................................59
Print QR code...........................................................................................................................60
7.7 Status commands........................................................................................................................60
Transmission status..................................................................................................................60
Real-time transmission status ..................................................................................................61
Real-time print request ............................................................................................................63
Allow and prohibit automatic status reply (ASB)...................................................................64
7.8 Label commands ........................................................................................................................66
Agreement................................................................................................................................66
Page control command ............................................................................................................67
Page start command.................................................................................................................67
Page end command..................................................................................................................68
Page printing command ...........................................................................................................68

HS-QR73(24V) user manual
4
Paper feed command................................................................................................................69
Text drawing command ...........................................................................................................70
Line drawing command ........................................................................................................... 72
Rectangular frame drawing command.....................................................................................74
Draw rectangle block command..............................................................................................75
One-dimensional barcode command ....................................................................................... 76
QRCode barcode command.....................................................................................................80
PDF417 barcode command .....................................................................................................81
Bitmap command.....................................................................................................................82
7.9 Other commands ........................................................................................................................84
Initialize printer........................................................................................................................84
Print the self-test page .............................................................................................................84
Set print density.......................................................................................................................84
Generate cash drawer pulse (OnlyForDrawer)........................................................................85

HS-QR73(24V) user manual
pg. 5 www.hsprinter.com
1 Introduction
1.1 HS-QR73
HS-QR73 is a printer with integrated panel design, which is embedded in the
customer's equipment and has a good overall appearance. Low power consumption,
high quality, stable performance, and the motor and thermal print head have passed
numerous tests to achieve high standards. It has always been a thermal printer favored
by merchants.
List of supported operating systems:
WINDOWS XP
WINDOWS 7 32/64
WINDOWS 8
WINDOWS 10
UBUNTU 12.04 32/64
UBUNTU 14.04 32/64
1.2 main feature
1) Panel integrated design with exquisite and beautiful appearance
2) Low noise, high quality printing
3) Support USB, serial port, parallel port and other connection methods
4) Support receipt paper, black mark paper, label paper printing
5) With automatic cutter and paper not taking function, the use is more
user-friendly
6) The printer will be fully functional with paper, and it will be more intelligent in
an unmanned environment
7) It has the functions of anti-paper jam and anti-paper drag, which can greatly
reduce the probability of failure
8) Easy loading paper structure
9) Easy to use and maintain, easy to embed various instruments and meters
10) Can be embedded in self-service equipment or meters

HS-QR73(24V) user manual
6
2 Performance parameters
Model
HS-QR73-MA/ HS-QR73-MB
HS-QR73-MC/ HS-QR73-MD/ HS-QR73-ME
Printing
Print method
Thermal dot line printing
Resolution
203Dpi(8dot/mm)
Printing speed
MAX.200mm/s
printing width
72mm
Interface
Serial,USB, Parallel
Paper
Paper Type
Continuous paper,die-cut label,black mark paper
Paper width
43-80mm(adjustable)
Paper roll diameter
Max.80mm
Paper thickness
0.053-0.09mm(receipt)/0.10-0.15mm(label)
Paper loading
Easy paper loading
Auto cutter
Full cut or partial cut( through command)
Reliability
TPH life
100km(25% print density)
Cutter life
More than 1 million times
Fonts
Chinese
GBK:16x16,24x24
Alphanumeric
ASCII:8x16,9x17,9x24,12x24
Bar code
1D
UPC-A,UPC-E,EAN8,EAN13,code39,ITF,CODEBA
R,CODE128,CODE93
2D
QR code,PDF417
Memory
RAM
64K
Flash
4M
Power
power supply
DC 24V/2A (peak value≥6A)
Cashbox control
DC 24/1A
Software
Command
ESC/POS (ticket), CPCL, TSPL, JPL (label)
Driver
Windows XP、7、8、10/ Linux/MAC OS
SDK
Windows SDK/Linux SDK/Android SDK/IOS SDK
Environment
Operating
Temperature
0°C-50°C
Operating Humidity
20%RH-85% RH
Storage Temperature
-20°C-60°C
Storage Humidity
5%-90%RH
Characteristi
cs
Physical
Dimensions(WxDxH)
114.8*132*86.4mm
Installation port size
111.5*128.5mm
Insert Depth size
≥84mm
Color
white, black, silver

HS-QR73(24V) user manual
7
3 Dimensional drawing and pin definition
3.1 Dimensional drawing
a. HS-QR73-HAsize chart (detailed explanation of the model)
b. HS-QR73-HE dimension drawing

HS-QR73(24V) user manual
8
3.2 Pin definition
Interface indication:

HS-QR73(24V) user manual
9
Power (POWER) pin definition (XH2.54-3PIN)
Pin number
Signal name
illustrate
1
VH(DC24V 2A)
DC24V 2A positive pole
2
NC
null
3
GND
ground
Cash drawer (DK) pin definition (XH2.54-2PIN)
Pin number
Signal name
illustrate
1
VH
positive pole
2
DR
Cash drawer console
USB pin definition (PH2.0-4PIN)
Pin number
Signal name
illustrate
1
GND
ground
2
D+
data positive line
3
D-
data negative line
4
VUSB
5V positive electrode
Serial RS232/TTL (SERIAL) pin definition (PH2.0-4PIN)
Pin number
Signal name
illustrate
1
GND
ground
2
RXD
data reception
3
TXD
data sending

HS-QR73(24V) user manual
10
4
DTR
flow control
Paper near end optocoupler (NEOP) pin definition(PH2.0-3PIN)
Pin number
Signal name
illustrate
1
GND
2
VIN
3
PN1
Parallel (LPT) Interface Pin Definition
No.
Signal
Function
No.
Signal
Function
1
/STROBE
Strobe, active low
10
/ACK
Confirm, active low
2
DATA0
data bit 0
11
BUSY
busy
3
DATA1
data bit 1
12
PE
out of paper
4
DATA2
data bit 2
13
SEL
choose
5
DATA3
data bit 3
14
NC
empty feet
6
DATA4
data bit 4
15
/ERROR
error, active low
7
DATA5
data bit 5
16
/INIT
Initialization, active
low
8
DATA6
data bit 6
17
NC
empty feet
9
DATA7
data bit 7
18-26
GND
ground wire
4.Basic use
4.1 Print a self-test page
Press and hold the reset button and the paper feed button at the same time for 3 seconds, and
a self-test page will be printed, which reflects the basic information of the printer.
4.2 Status prompt
Power indicator
(green)
Status indicator (red)
printer status
Always bright
off
normal
Always bright
flash 2 times
The printer mechanism is not connected or the
temperature is too low
Always bright
flash 3 times
out of paper
Always bright
flash 4 times
cutter error
Always bright
flash 5 times
Printer mechanism overheating
Always bright
flash 6 times
Shaft not in place
Always bright
flash 7 times
Paper jam

HS-QR73(24V) user manual
11
4.3 Eliminate cutter jams and paper jams
Method 1: Press and hold the reset button for 3 seconds to reset the cutter, and quickly
remove the stuck cutter (use first)
Method 2: Reset the cutter by turning the cover opening push button or key several times,
and forcefully remove the stuck cutter
Remove jammed paper: remove the jammed knife first, then open the top cover to clear the
jammed paper.
4.4 Cutter test
When testing the cutter, the interval between each cut is more than 3 seconds.
4.5 The working principle and troubleshooting methods of anti
paper jam and anti paper drag
Paper jam and troubleshooting: When the hand or foreign object is blocked in the paper
outlet and printing, the printer will be jammed, the printer will stop printing and report an
error (the red light flashes 7 times, the buzzer sounds 7 intervals); If the foreign matter is
removed from the paper outlet, the printer will continue to print.
Paper-pulling and troubleshooting: When paper-pulling causes paper jam, the printer will
suspend printing and report an error. At this time, you need to open the top cover to remove
the jammed paper.
4.6 Printer installation
LED light guide bar (blue) blinking
paper not removed

HS-QR73(24V) user manual
12
a. Panel installation: Insert the bottom of the printer into the opening of the device, open the
upper cover of the printer, and fasten the screws on the left and right sides with a
screwdriver, as shown in the figure below. Be careful not to lock the screws too tightly, which
will cause the printer to deform and affect the printer function.
b. Embedded installation: Install and lock the printer (including the fixing bracket) inside the
device
5 Label mode
5.1 Label parameter

HS-QR73(24V) user manual
13
Note: Do not scratch the print head with hard objects (such as tweezers, etc.) when cleaning the
print head; in order to improve the service life of the print head, long-term printing of
self-adhesive paper will have residual glue on the back of the adhesive. It is recommended to clean
the print head every month. Bad, increase cleaning appropriately.
The print head should be cleaned when any of the following conditions occur:
Printing is not clear;
Paper feed noise is loud.
code
meaning
Maximum (mm)
Minimum (mm))
a
Backing paper width
80
43
b
Label thickness
0.1
0.05
c
support label width
40mm/50mm/55mm/60mm/70mm/75mm
d
label height
normal printing
110
30
e
Label gap
5
3
Note: It is recommended to choose a label paper roll with an innerdiameter of the paper roll
core of 13mm, a blue backing paperand a label gap of more than 3mm
5.2 Set label mode and parameters
a. Set to label printing mode by setting tool (Figure 5.1)
b. Determine the width of the label paper roll, and insert the separator into the slot of the paper slot
(the small card point of the separator is inserted into the side close to the printer); Figure 5.2);
(The outer diameter of the paper roll is not more than 80mm, and the inner diameter of the paper
roll core is 13mm)
c. After power on, close the top cover, press and hold the paper feed button for 5 seconds, and the
printer will automatically enter the high-precision learning mode.
d. Due to the difference in the installation method of the printer (horizontal and vertical) and the
difference in the label gap, the paper may not be cut in the middle of the gap when cutting. )..
(Figure 5.3)
e. Press and hold the feed button and reset button at the same time to print the self-test page, and
scan the QR code of the self-test page with WeChat to learn more detailed parameters of the
printer.

HS-QR73(24V) user manual
14
Figure5.1
Figure 5.2
Figure 5.3
6.Command list
LF
Print and line feed
Print and feed
command
CR
Enter
ESC J
Print and feed paper n dots
ESC d
Print and feed paper n lines

HS-QR73(24V) user manual
15
ESC 3
Set the line spacing to n dots
Printing setting
commands
ESC 2
Set the line spacing to the default value
ESC $
Set print position
GS L nL nH
Set the amount of left margin
ESC B n
Set the left margin
ESC SP n
Set the right spacing of characters
ESC !
Set character printing method
ESC M n
Choose font
GS ! n
Set character size
GS B n
Set and cancel reverse printing
ESC - n
Set and remove underline
ESC V n
Set and cancel 90°rotation printin
ESC E n
Set and cancel bold printing
ESC G n
Set and cancel overlap printing
ESC { n
Set and cancel upside-down printing
ESC a
Set print alignment
FS &
Set Chinese character mode
FS !n
Set Chinese character printing
mode combination
FS .
Cancel Chinese Character Mode
FS 2
Define user-defined Chinese characters
ESC R n
Choose an international character set
ESC t n
Select character code page
ESC 9 n
Toggle double-byte encoding
ESC *
Graph vertical modulo data filling
Graphic printing
commands
GS v 0
Image horizontal modulo data printing
GS *
Define download bitmap
GS / m
Print download bitmap
FS q
Define NV bitmap
FS p n m
Print NV bitmap
GS v 0 m
Print raster bitmap
GS n
Print line segment in horizontal position
(curve print command)
HT
Horizontal tabulation
制表指令
ESC D
Set the horizontal tab position
GS H
Set the printing position of one-dimensional
bar code readable characters (HRI)
One-dimensional
barcode printing
commands
GS h
Set the height of one-dimensional barcode
GS w
Set the width of one-dimensional barcode
GS k
Print one-dimensional barcode
GS (
Print QR code
QR code printing
commands
GS (k pL pH cn fn n
Set the module type of QR code
GS (k pL pH cn fn n
Set the error correction level of the QR code

HS-QR73(24V) user manual
16
GS(k pL pH cn fn m d1…
dk
Store the QR code data in the QR code buffer
GS(k pL pH cn fn m
Print QR code
GS(k pL pH cn fn m
Set the graphic information of the QR code
GS r n
Transmission status
Status commands
DLE EOT n
Real-time transmission status
DLE ENQ n
Real-time print request
GS a n
Allow and prohibit automatic status reply
(ASB)
[COMMAND]+[Paramete
r]
Agreement
Label commands
1A5B 00
Page control command
1A5D 00
Page start command
1A4F 00
Page end command
1A0C 00
Paper feed command
1A54 00 x_L x_H
y_L y_H
Text drawing command
1A 5C 00 StartX_L
StartrX_H
Line drawing command
1A26 00 Left_L Left_H
Rectangular frame drawing command
1A 2A 00 Left_L Left_H
Draw rectangle block command
1A30 00 x_L x_H
One-dimensional barcode command
1A31 00
QRCode barcode command
1A31 01 ColNum
PDF417 barcode command
1A21 00
Bitmap command
ESC @
Initialize printer
Other commands
DC2 T
Print the self-test page
ESC 7
Set print density
ESC p m t1 t2
Generate cash drawer pulse
(OnlyForDrawer)

HS-QR73(24V) user manual
17
7 The detail of commands
7.1 Print and feed command
Print and feed paper
Name
Print and line feed
Format
ASCII :LF
Decimal :10
Hex :0A
Description
Print the content in the print buffer, and then set the paper feed one line according
to the current line spacing, and adjust the printing position to the beginning of the
next line.
Range
Default
Support model
All the printers
Note
For Example
Enter
Name
Enter
Format
ASCII :CR
Decimal :13
Hex :0D
Description
When the print buffer is not empty, the effect is the same as LF, otherwise it has
no effect.
Range
Default
Support model
All the printers
Note
For Example
Print and feed paper n dots
Name
Print and feed paper n dots
Format
ASCII :ESC J n
Decimal :27 74 n
Hex :1B 4A n
Description
Print the content in the print buffer and feed the paper n points
Range
0 ≤ n ≤ 255
Default
Support model
All the printers
Note
When the print buffer is empty, only feed n dots
After this command is executed, the printing position moves to the start position

HS-QR73(24V) user manual
18
of the next line
For Example
1b 40 30 31 32 1b 4a 10
Print and feed paper n lines
Name
Print and feed n lines
Format
ASCII :ESC d n
Decimal :27 100 n
Hex :1B 64 n
Description
Print the content in the print buffer and feed n lines
Range
0 ≤ n ≤ 255
Default
Support modal
All the printers
Note
This command sets the printing start position as the beginning of the line
For example
1b 40 30 31 32 1b 64 01
7.2 Print setting commands
Set the line spacing to n dots
Name
Set the line spacing to n dots
Format
ASCII :ESC 3 n
Decimal :27 51 n
Hex :1B 33 n
Description
Set the line spacing to n dots
Range
0 ≤ n ≤ 255
Default
n = 33
Support modal
All the printers
Note
The line spacing is as follows:
bank line spacing is equal to the maximum character level.
can be set default values,when appear ESC 2,ESC @, reset the
printer and printer power
For example
1b 40
1b 33 30
30 31 32 0d 0a
30 31 32 0d 0a
1b 32
30 31 32 0d 0a
30 31 32 0d 0a
Character width
Line spacing

HS-QR73(24V) user manual
19
Set the line spacing to the default value
Name
Set the line spacing to the default value
Format
ASCII :ESC 2
Decimal :27 50
Hex :1B 32
Description
Set the line spacing to the default 33 points
Range
Default
Support modal
All the printers
Note
See the ESC 3 command for details of the line spacing.
If the set line spacing is less than the maximum character height in a line, then the
line spacing is equal to the maximum character height.
You can use ESC 3 to customize the line spacing.
For example
Set print position
Name
Set print position
Format
ASCII :ESC $ nL nH
Decimal :27 36 nL nH
Hex :1B 24 nL nH
Description
Adjust the printing position to the point (nL + nH ×256) from the starting position
of printing.
Range
0 ≤ nL ≤ 255,0 ≤ nH ≤ 255
Default
Support modal
All the printers
Note
This command is only valid for this line, and the printing position is reset to the
printing start position after line feed.
If it exceeds the printing range, move to the next line for printing.
For example
1b 40 1b 24 08 00
30 31 32 0d 0a
30 31 32 0d 0a
Set the amount of left margin
Name
Set the amount of left margin
Format
ASCII :GS L nL nH
Decimal :29 76 nL nH
Hex :1D 4C nL nH
Description
Set the left margin to (nL + nH × 256) dots
Range
0 ≤ nL ≤ 255,0 ≤ nH ≤ 255
Default
Support modal
All the printers
Note
This command is only effective in a line of the starting position of the treatment.

HS-QR73(24V) user manual
20
As shown in the figure:
If set outside the printable area, use the maximum printing unit.
For example
1b 40 1d 4c 08 00
30 31 32 0d 0a
30 31 32 0d 0a
Set the left margin
Name
Set the left margin
Format
ASCII :ESC B n
Decimal :27 66 n
Hex :1B 42 n
Description
Set the left margin of the character to n points
Range
0 ≤n ≤47
Default
0
Support modal
All the printers
Note
For example
1B 40
1B 42 08
30 31 32 0D 0A
Set the right spacing of characters
Name
Set the right spacing of characters
Format
ASCII :ESC SP n
Decimal :27 32 n
Hex :1B 20 n
Description
Set the spacing on the right side of the character to [n×0.125 mm].
Range
0 ≤n ≤255
Default
0
Support modal
All the printers
Note
For double-width mode, the character spacing on the right is twice that in normal
mode. When the characters are enlarged, the character spacing on the right is n
times that of the normal mode.
This command does not affect the setting of Chinese characters.
For example
1B 40
1B 20 18
30 31 32 0D 0A
This manual suits for next models
5
Table of contents
Other HSPos Printer manuals
Popular Printer manuals by other brands

Logic Controls
Logic Controls LR1100 user manual

Dell
Dell B5460dn Mono Laser Printer manual

Canon
Canon BJC 6000 - Color Inkjet Printer Service manual

Canon
Canon iP5000 - PIXMA Color Inkjet Printer quick start guide

Epson
Epson T-750 user manual

Digital Equipment
Digital Equipment DEClaser 2200 installation guide