

The HSPOS HS-K24 is a compact and efficient thermal printer designed for applications requiring fast and reliable printing. This device uses thermal printing technology, which eliminates the need for ink or toner by transferring heat onto specially coated thermal paper. Its small size and low power consumption make it ideal for integration into point-of-sale (POS) systems, portable devices, kiosks, and other embedded systems.








| Parameter | Specification |
|---|---|
| Manufacturer | HSPOS |
| Model Number | HS-K24 |
| Printing Method | Direct Thermal |
| Paper Width | 58 mm |
| Printing Speed | Up to 90 mm/s |
| Resolution | 8 dots/mm (203 dpi) |
| Input Voltage | 5V DC ± 5% |
| Current Consumption | 1.5A (maximum during printing) |
| Communication Interface | UART (TTL) |
| Operating Temperature | 0°C to 50°C |
| Storage Temperature | -20°C to 60°C |
| Dimensions | 79 mm x 42 mm x 42 mm |
| Weight | Approximately 120 g |
The HS-K24 thermal printer has a 6-pin interface for power and communication. The pinout is as follows:
| Pin Number | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (5V DC) |
| 2 | GND | Ground |
| 3 | TXD | UART Transmit (data output from printer) |
| 4 | RXD | UART Receive (data input to printer) |
| 5 | NC | Not connected |
| 6 | Paper Out | Paper status signal (low = paper out) |
The HS-K24 can be easily interfaced with an Arduino UNO using the UART interface. Below is an example code snippet to send text to the printer:
#include <SoftwareSerial.h>
// Define RX and TX pins for SoftwareSerial
SoftwareSerial thermalPrinter(10, 11); // RX = Pin 10, TX = Pin 11
void setup() {
// Initialize the serial communication with the printer
thermalPrinter.begin(9600); // Default baud rate for HS-K24
Serial.begin(9600); // For debugging via Serial Monitor
// Print a test message
thermalPrinter.println("Hello, World!");
thermalPrinter.println("HSPOS HS-K24 Thermal Printer");
thermalPrinter.println("----------------------------");
thermalPrinter.println("Thank you for using our service!");
}
void loop() {
// No actions in the loop for this example
}
Note: Ensure the RX and TX pins of the printer are connected to the TX and RX pins of the Arduino, respectively. Use a level shifter if the Arduino operates at 5V logic levels to avoid damaging the printer.
Printer Not Responding
Paper Jam
Faint or No Printing
Paper Out Signal Always Low
Garbage Characters Printed
Q: Can the HS-K24 print images or barcodes?
A: Yes, the printer supports basic image and barcode printing. Refer to the command set in the datasheet for details.
Q: What is the maximum paper roll diameter supported?
A: The HS-K24 supports paper rolls with a maximum diameter of 50 mm.
Q: Can I use the printer with a Raspberry Pi?
A: Yes, the printer can be connected to a Raspberry Pi using the UART interface. Ensure proper voltage level shifting if required.
Q: How do I change the baud rate?
A: Refer to the manufacturer's datasheet for instructions on configuring the baud rate using specific commands.
By following this documentation, you can effectively integrate and operate the HSPOS HS-K24 thermal printer in your projects.