Hwasung HPP-240 User manual

User Manual
HPP-240

Title
Rev.
Page
HPP-240
Ver1.0
P.1
List of Contents
1. Printer features & External dimension ...........................................................................3
1-1) Name of each parts.................................................................................................3
1-2) External Dimension.................................................................................................4
1-3) Product Composition...............................................................................................5
1-4) Model Specification.................................................................................................6
2. Operation...........................................................................................................................7
2-1) Paper Change ..........................................................................................................7
2-2) Self-Test .................................................................................................................8
2-3) HEX Dump Print ......................................................................................................9
2-4) On-Board Update..................................................................................................10
2-5) Dip SW ...................................................................................................................11
2-5-1) Manual Configuration..............................................................................11
2-6) Memory SW ...........................................................................................................14
2-7) Internal Connector ................................................................................................16
3. General Specification .....................................................................................................18
3-1) Printer Specification .............................................................................................18
3-2) Font........................................................................................................................18
3-3) Internal Buffer .......................................................................................................18
3-4) Power.....................................................................................................................18
3-5) Operating Temperature / Humidity......................................................................18
3-6) MCBF .....................................................................................................................18
4. Interface Specification ...................................................................................................19
4-1) RS232C/TTL .........................................................................................................19
4-2) USB ........................................................................................................................19
5. Commands.......................................................................................................................20
6. Windows Driver ..............................................................................................................50
6-1) Printer Function Configuration.............................................................................50
6-2) Paper Supply Configuration..................................................................................51
6-3) Making New Paper Format...................................................................................52
7. USB Communication User Interface..............................................................................54
7-1) Function .................................................................................................................54
7-2) Caution when using USB interface ......................................................................55
*Manual Update Records....................................................................................................71

Title
Rev.
Page
HPP-240
Ver1.0
P.2
※Safety Caution!
Caution : Please follow the direction in using the product as it may become the reason of
malfunction, serious injury, or even death.
Do not disassemble or modify the product.
Do not remove jammed paper while power is turned on.
Do not go over the specified voltage.
Do not wash the product.
Do not hit or cause an impact to the product.
Do not store the product in the wet / humid place.
Caution : Please follow the direction in using the product as it may become the reason of
malfunction, serious injury, or even death.
Please contact us to take an action when product fails.
Please power off during the removal of any matter.
Please ventilate the air circulation in closed area.
Please install the product away from the near interferences.
Please install the wiring in a safe place.
Please follow the directed terms of compliance in using the electrical product.

Title
Rev.
Page
HPP-240
Ver1.0
P.3
1. Printer features & External dimension
1-1) Printer Features
1. Open Lever
2. Front Indicator Panel (LED, FEED)
3. Fixture Hook
4. Dip switch(Option)
5. I/F USB Connector
6. I/F Serial Connector
7. Power Connector
8. Fixture Hole
9. Manual Cutter
10. Thermal Head
11. Paper Sensor
1
2
3
4
5
6
7
8
9
10
11

Title
Rev.
Page
HPP-240
Ver1.0
P.4
1-2) External Dimension

Title
Rev.
Page
HPP-240
Ver1.0
P.5
1-3) Product Composition
1. Printer
2. Power Cable (20Cm)
3. Communication Cable (20Cm USB Optional)
2
3
1

Title
Rev.
Page
HPP-240
Ver1.0
P.6
1-4) Model Number
HPP-240 □□
Ex)Ordered Model Name
HPP-240HS --- 9 ~ 24V, Serial(RS-232C)
HPP-240LS --- 5 ~ 8.5V, Serial(RS-232C)
HPP-240LT --- 5 ~ 8.5V, Serial(TTL)
※Interface Type
S : RS-232C or USB or Combo
T: Serial(TTL)
※Power Input
H : 9 ~ 24V
L : 5 ~ 8.5V

Title
Rev.
Page
HPP-240
Ver1.0
P.7
2. Operation
2-1) Paper Change
Follow the direction below for the paper change.
Pull out
②Set the paper orientation so that the end of the
paper is clear as shown in the picture.
①Open the cover by pressing down
on the lever.
③ Paper direction should not be flipped as
shown on the picture
④ Close the cover, press feedswitch, feed
a certain amount, then cut it manually.
Feed Switch

Title
Rev.
Page
HPP-240
Ver1.0
P.8
2-2) Self Test Print
You can start the self test by turning on the printer while pressing down on the feed
button, and the suggested material on the self test print is shown below.
●Model Name
●Firmware Version and Created
Date
●Interface Configuration
●Dip SW Configuration
●Sample Print
※When shipped out, the Dip Switch is not included in the factory default and it will be
set on 19200 baudrate, 8 bit, non-parity mode as a default.
******************************
HPP-240 Control Board
Firmware :: VerX .XX
Create : 20XX/XX/XX
******************************
Interface and Setting information
Interface : USB & RS-232C
Baud Rate : 19200
Data Bit : 8 Bit
Parity : None
Stop Bit : 1 or 2
Peripheral & Setting Information
USB Status : B
Auto Cutter :: BuiIt-in

Title
Rev.
Page
HPP-240
Ver1.0
P.9
2-3) HEX Dump Print
Turn on the power after placing the Dip SW1 number 8 to ON position. After printing as
[HEX DUMP MODE], it will print all receiving datas to 16 hexadecimal data for all
receiving datas. This would be useful when developing an application because this
notifies the transmission status.
Prints if 12 digits is received.
Data under 12 digits will print when you press the feed button.
Control Code (Below 1F16) prints as “.”
Prints as “^” when 8016 or above.
[Print Sample]
16 hexadecimal indicator ASCII indicator
[HEX DUMP MODE]
41 42 43 44 45 46 47 47 49 A B C D E F G H I
30 31 32 33 34 35 36 37 38 0 1 2 3 4 5 6 7 8
FF 1B 69 ^ . i

Title
Rev.
Page
HPP-240
Ver1.0
P.10
2-4) On-board Update
Printer program is easily updateable from PC with the Flash Memory equipped.
When updating, you should be well informed of the following order before executing.
1)Turn the power off and back on. (Dip SW manipulation is unnecessary)
2)Check the connectivity of Printer and the communication cable.
(You can save time updating by using USB cable)
3) Run the update after configuring the model name and communication port through the
provided update program.
The ERROR LED will turn off and it will turn back on few seconds later, and the update
will start when the LED starts flashing rapidly.
Do not turn off the printer until the update is complete
4) Update Complete notification will display when the process is complete.
※If the ERROR LED flashes slowly during the update, then the process is in error, so
you need to terminate the update program, and repeat the process from the direction
number 1) after checking the abnormalities on the device.
5) The printer will reset automatically after the update and will return to the ready to use
status.

Title
Rev.
Page
HPP-240
Ver1.0
P.11
2-5) Dip Switch
Adjust the DIP switch according to the environments you are using, such as host, and port.
1)Dip Switch
a) no. 1 : DLE Command
SW1
DLE Command
ON
DLE Command ON
OFF
DLE Command OFF
b) no. 2,3 : Baudrate
SW2
SW3
Baud Rate(BPS)
OFF
OFF
9600
ON
OFF
19200
ON
ON
38400
OFF
ON
57600
c) no. 4 :
SW4
Reserve
ON
--
OFF
--
d) no. 5,6: Parity
SW5
SW6
Parity
OFF
OFF
None
ON
OFF
Even
ON
ON
Odd
e) no. 7 : Print Mode
SW7
Print Mode
ON
HEX DUMP Mode
OFF
NORMAL Mode
f) no. 8 : Operation Mode
SW8
Operation Mode
ON
Factory Mode
OFF
NORMAL Mode
※When shipped out, the Dip Switch is not included in the factory default and it will be set on
19200 baudrate, 8 bit, non-parity mode as a default.

Title
Rev.
Page
HPP-240
Ver1.0
P.12
2-5-1) Manual Configuration
1) Run the printer in initial configuration mode.
※How to run in Initial Configuration Mode
When you turn the printer’s power on while pressing down on the FEED button for
more than 2 seconds, the PE LED and ERROR LED will simultaneously turn on / flash
and run the initial configuration mode. (9600 BPS, PARITY NONE, HARDWARE
HANDSHAKE)
2)After running the initial configuration mode, it will print as the following.
[Menu]
1.Baud rate
2.Parity
3.Flow control
4.Hex Dump Mode
5.Print Density
6.Auto Melody
7.Cut Mode
8.Auto Buzzer
9.Print Speed
Select and then Enter...
Enter : Press the feed button once for
more than 1second.
Select: Press the feed button many times
less than 1second as menu number.
Exit : Turn power off then on.
Press the FEED button more than 1 seconds to confirm (Enter) less than 1 seconds to
select menu. For example, if you’d like to change the Auto Melody option in the list
number 6, press the FEED button less than 1 seconds 6 times, and more than 1 seconds
1 time. When terminating the configuration, just turn off and back on.
3)Continuing from the previous, you can confirm after selecting the category on the
printed list.
Ex) [Baud rate]
-> 1.9600
2.19200
3.38400
4.115200
-> : Indicate current set status
Select and then Enter...
Meaning, (->) indicates the current setting. When changing the settings, select from the
list and if you want to move to the next menu without making any changes, then just
confirm without selecting from the list.

Title
Rev.
Page
HPP-240
Ver1.0
P.13
4)Subsquently, you can then learn the results of the change in the printed paper.
It was changed successfully!
Indicates that the changes were made without a problem.
The value is invalid, try again!
Displayed when the selected item is invalid or moved to another menu without changing
the item.
5) You may find the configuration results by checking the position of the arrow character (->),
after printing the test page or entering preferences mode, by selecting one of the list

Title
Rev.
Page
HPP-240
Ver1.0
P.14
2-6) Memory Switch
Use non-volatile memory to set the function.
※Please use the provided ‘Memory Switch Utility’for the setting.
※Once you’ve set the value, it will not reset even if you turn off the power so the value
will maintain until you make the change.
Memory SW
Set Value
Description
SW1
Reserve
SW2
Reserve
SW3
Reserve
SW4
Basic Code Page
Setting one of the Code Page out of the option
to be a default
SW5
Basic Font
2byte code will set the default from Korean
(24x24), Korean (16x16), Japanese(24x24),
Chinese(24x24). 1byte code will set the default
from ASCII(12x24), ASCII(8x16,9x16).
SW6
Reserve
SW7
Reserve
SW8
Reserve
Code Page Mesnu
Font Menu
Click on the transmit button
after setting all variables
Reserve

Title
Rev.
Page
HPP-240
Ver1.0
P.15
2)Memory Switch Modification Check
※After adjusting the memory switch, check the modified details by running a self test.
When you turn on the power while holding down the FEED button, start self-test and
stop printing.
Press the FEED button one more time to display the contents of the memory switch.
[Memory Switch information]
================================
Code Page = PC437(U.S)
2Byte Font = Korean(24x24)
1Byte Font = ASCII(12x24)
Mem1:FFh
Mem2:FFh,FFh
Mem3:FFh,FFh
Mem4:00h
Mem5:00h
Mem6:FFh
Mem7:FFh
Mem8:FFh
Mem9:FFh
Mem10:FFh
(Example of memory switch content checking
self test printing)

Title
Rev.
Page
HPP-240
Ver1.0
P.16
2-7 )Internal Connector
1)CN1 : Power Connector
YMAW025-02R(Yunho) or 5268-02A(Molex)
--Housing : YMH025-02R(Yunho) or 5264-02A(Molex)
Pin
Circuit
Note
1
V-
GND
2
V+
5 ~ 8.5V or 9 ~ 24V
※Opposite connection causes product to break. Make sure to identify the polarity (+/-)
before connecting the power cable.
2)CN2 : Machanism Connector
05005HS-30F(Yunho) --FFC Cable
Pin No.
Circuit
Type
Note
1
A
Motor
2
/A
3
B
4
/B
5
FG
6
PS_OUT
Collector
Paper Existance
Sensor
7
PS_GND
Emitter
8
PS_GND
Cathode
9
PS_IN
Anode
10
COM
5 ~ 8.5V
Thermal Head
11
COM
12
SO
13
/LATCH
Low Active
14
GND
15
GND
16
STB1
17
STB2
18
STB3
19
TM
Thermistor
20
TM
Thermistor GND
21
VDD
22
STB4
23
STB5
24
STB6
25
GND
26
GND
27
CLOCK
28
SI
29
COM
30
COM

Title
Rev.
Page
HPP-240
Ver1.0
P.17
3)CN3 : Serial Communication Connector
YMAW025-04R(Yunho) or 5268-04A(Molex)
--Housing : YMH025-04R(Yunho) or 5264-04A(Molex)
Pin
Circuit
Note
1
TxD
2
RxD
3
RTS or DTR
4
GND
※Refer to Interface Specification in page 16 for the connecting method.
4)CN4 : USB Communication Connector(Option)
USB MINI-B type
Pin
Circuit
Note
1
Vcc
5V
2
D-
Data-
3
D+
Data+
4
NC
Not Connected
5
GND

Title
Rev.
Page
HPP-240
Ver1.0
P.18
3.Specification
3-1) Printer Specification
1) Print Mode : Direct Thermal
2) Resolution : 203dpi, 1dot=0.125mm, 8dot/mm
3)Total Dot Number : 384dot/line
4)Print Speed(Max) : 90mm/sec(Max,8.5V,Approximately 1 head starndard)
5)Print Width : 48mm
6)Paper Width : 58mm
7)Paper Diameter (pi): 40 pi (Max)
8)1 row print maximum character allocation: 32 characters(12 x 24), 16characters(24 x 24)
3-2)FONT
1)Alphanumeric : FONT A(8 x 22) 95 characters, FONT B(8 x 20)95
characters
2)Graphic Expansion Character : FONT A(8 x 22) 128 characters, FONT B(8 x 20)95
characters
3)International Character : 14types 37 characters(Korea, USA, France,
Germany, England, Denmark 1, Sweden, Italy, Spain
1, Japan, Norway, Denmark 2, Spain 2, Latin
America)
4)Korean : FONT A Gothic type(24 x 24), FONT B Gothic
type(16 x 16,Option)
3-3) Internal Buffer
Transmit Buffer : 4K Byte
3-4) Power Specification
1)Operating Voltage
Input Voltage
9V ~ 24V
Internal
Operating
Voltage
8.5V
Head motor internal
operating voltage
Logic Voltage
5V±5%
Logic Circuit
2)Current Consumption
Average : 1.5A(On Print rate 12.5%)
Peak : 3.7A(When operating approximately 5 heads), 18.6A(When operating
approximately 1 head)
3-5)Operating Temperature / Humidity
1)Temperature : 0∼40℃
2)Humidity : 40∼50%RH
※Print Quality may subject to change with the condition above.
3-6)MCBF
1)Mechanism : 15,000,000 Lines.
2)Thermal Head : 50Km, 100 million pulse.

Title
Rev.
Page
HPP-240
Ver1.0
P.19
4.Interface Specification
4-1) RS-232C / TTL
1)Data Transfer Methods : Serial
2)Hand Shake : Hardware (RTS/CTS or DTR/DSR)
3)Baud Rate : 9600, 19200, 38400, 57600 BPS
4)Data Bit : 8비트
5)Parity : None, Odd, Even
6)Stop Bit : 1 or 1.5 or 2비트
7)Connector : YMAW025-04R(Yunho) or 5268-04A(Molex)
Printer
Pin
Signal
I/O
1
TxD
Output
2
RxD
Input
3
DTR/RTS
Output
4
GND
-
(Dotted Line): Connect depending on Host.
4-2) USB
1)Standard : USB 2.0 Compatible, Full Speed(12Mb) Response
2)Connector : Type MINI-B
3)Cable : USB2.0 standard cable
4)Data Method : Bulk IN, Bulk OUT
Bulk IN : End point 6,
Bulk OUT : End point 2
Full Speed : Max Packet Size 64 Byte(Bulk OUT),64 Byte(Bulk IN)
Host
Pin
Signal
I/O
2
RxD
Input
3
TxD
Output
8
CTS
Input
5
GND
-
6
DSR
Input
This manual suits for next models
1
Table of contents
Other Hwasung Printer manuals