Proprietary Notice: This document contains proprietary material for the sole use of the intended
recipient(s). Do not read or print this document if you are not the intended recipient. Any review, use,
distribution or disclosure by others is strictly prohibited. If you are not the intended recipient, you are
hereby notified that any disclosure, copying distribution or use of any of the information contained
within this document is strictly prohibited.
All registered trademarks and product names mentioned in this publication are used for identification
purposes only. The registered trademarks are the property of their respective owners.
CASCADEMIC continuously enhances and update the Solutions. Hence it reserves the right to change
details in this publication including but not limited to any specification without notice.
Revision History
VersionDateAuthorChange Description
A406-May-'15Yusup KhanDocument updated
2
COMPACT THERMAL PRINTER
Table of Contents
1. PART NUMBER DESCRIPTION.........................................................................................................4
The thermal printer interface card has the following features:-
1. Interface: UART(TTL level-3.3V)/BT/BLE/Wi-Fi.
2. Baud rate can be configured. (Default is 9600)
3. Bar-code printing.
4. Font support (English – Verdana, Courier)
5. Regional language (Marathi, Hindi).
6. Text print support.
7. Image/Logo print.
8. LED indication for Paper and platen detect options.
9. Li-Ion Battery (7.4V/1600mAh)
10. Supported Printer: LTP01-245(SEIKO)
Kit Deliverables
1. Thermal Printer Setup with Enclosure and Battery.
2. Adapter – 12V/2amp (optional)
3. 2 inch Paper Roll – 1 number
5
COMPACT THERMAL PRINTER
3.COMPACT THERMAL PRINTER
3.1 TOP VIEW:
3.2 POWER SUPPLY:
The Power supply to be used has to be (7.5V-9V / 3A) through an external adapter. Also separate slot is
provided for battery power (7.5V-9V / 3A). Power adapter is of positive polarity.
3.3 LEDS:
Board consists of 2 LED’s as follows:
1. POWER ON LED: This LED will turn RED, when 7.5V / 3A power is applied to the Thermal Printer Card.
2. PLATEN DETECTION LED: This LED will turn GREEN when Platen is not connected to the printer.
6
COMPACT THERMAL PRINTER
3.4 INTERFACE SPECIFICATION:
3.4.1. CS-STPR-AA1 (Serial Interface):
COM Port Settings:
1. Bits per Second: 9600
2. Data Bits: 8
3. Parity: None
4. Stop Bits:1
5. Flow Control: None
3.4.2. CS-STPR-AA4 (Bluetooth Interface):
1. Name of the Blue-tooth device is “CAS BT PRINTER” and Password is “1234”.
2. Searching won’t stop until the device is found. Configure the connection between the
master and slave(CAS BT PRINTER). Master can send data to slave and request from slave as
well.
3. You are allowed to transmit and receive data through Blue Term+
4. Power supply : Built-in Chip antenna power supply + 3.3VDC 50mA
5. Dimension : 26.9mm x 13mm x 2.2 mm
3.4.3. CS-STPR-AA5 (Wi-Fi Interface):
1. Name of the Wi-Fi device is “CAS Wi-Fi PRINTER” and Password is “12345678”.
2. Searching won’t stop until the device is found. Configure the connection between the
master and slave device (CAS Wi-Fi PRINTER). Master can send data to slave and request
from slave as well.
3. You are allowed to transmit and receive data through TCP Client.
4. IP Settings:192.168.16.254
5. Port Settings:8080
3.5 PROCESS OF LOADING THE THERMAL PAPER
1. Remove the platen slowly.
2. Replace the paper and Load the platen back to its position.
3. Make sure that the platen is placed properly. If not placed properly it is indicated by LED .
7
COMPACT THERMAL PRINTER
4. COMMAND SPECIFICATIONS
4.1. SELECT FONT TYPE:
[Command]:$1Bwxyz<Space>
[Range]:0 ≤ w ≤ 1
x = 'N' or 'B'
0 ≤ y ≤ 2
0 ≤ z ≤ 7
Font (w)0Courier font
1Calibri font
Style (x)NNormal
BBold
Characters per line (y)024
132
248
Size (z)0Width=1,Height=1
1Width=1,Height=2
2Width=1,Height=3
3Width=1,Height=4
4Width=2,Height=1
5Width=2,Height=2
6Width=2,Height=3
7Width=2,Height=4
Example:
If we want bold courier font at 32 chars per line and the height at 3 and width at 1, the command is $1B0B12
8
COMPACT THERMAL PRINTER
4.2. SELECT LINE ALIGNMENT:
[Command]:$1B61mn
[Range]:m=30 for Left alignment
m=31 for Center alignment
m=32 for Right alignment
[Range]:n < Characters per line. (Range between from 0 to Characters per line)
[Description]:Selects the type of alignment using m.
Characters to align = n. n should be less than characters per line.
$1B6130n-Left alignment
$1B6131n-Center alignment
$1B6132n-Right alignment
[Notes]:In alignment, if you want to change font, you can send font command followed
by alignment command.
Sample Text
$1B613012<Space>ABCDEFGHIJKLMNOPQRSTUVWXYZ
Here m = 30 and n = 12
Sample Text
$1B613108<Space>ABCDEFGHIJKLMNOPQRSTUVWXYZ
Here m = 31 and n = 08
Sample Text
$1B613205<Space>ABCDEFGHIJKLMNOPQRSTUVWXYZ
Here m = 32 and n = 05
9
COMPACT THERMAL PRINTER
4.3. LINE SPACING:
Line Space On:
[Command]:$1B32
Line Space Off:
[Command]:$1B30
[Range]:None
[Description]:$1B32 Prints the data with line space. This command setting is effective until