CASCADEMIC CS-STPR Series, CS-STPR-AA1, CS-STPR-AA5, CS-STPR-AA4 User Manual

COMPACT THERMAL PRINTER
COMPACT THERMAL PRINTER
User Manual – Rev.A4
CASCADEMIC Solutions Pvt.Ltd. Y. Yusup Khan
yusupkhan@cascademic.com
Phone No: +91 80 26583333
1
COMPACT THERMAL PRINTER
Project Name : Compact Thermal Printer
Document Number : CS-P076-UM-1K-Rev.A4
Doc. Description : User Manual
Part Number : CS-STPR-Cxy
Department : Solution - Printer
Contact Details : CASCADEMIC Solutions Pvt. Ltd.
1525/58, 2nd Floor, 28th Main, South End ‘B’ Cross,
9th Block, Jayanagar, Bangalore, India. Pin: 560069
Email: yusupkhan@ cascademic.com, Phone: +91 80 26583333
Document Owner(s) Project Role Signature
Prepared By: Yusup Khan
Approved By: Prabhu . C
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
Version Date Author Change Description
A4 06-May-'15 Yusup Khan Document updated
2
COMPACT THERMAL PRINTER
Table of Contents
1. PART NUMBER DESCRIPTION.........................................................................................................4
1.1 THERMAL PRINTER SOLUTION – CS-STPR-Cxy...................................................................4
2. PRINTER FEATURES..........................................................................................................................5
3.COMPACT THERMAL PRINTER........................................................................................................6
3.1 TOP VIEW:.....................................................................................................................................6
3.2 POWER SUPPLY:...........................................................................................................................6
3.3 LEDS:..............................................................................................................................................6
3.4 INTERFACE SPECIFICATION:....................................................................................................7
3.4.1. CS-STPR-AA1 (Serial Interface):..........................................................................................7
3.4.2. CS-STPR-AA4 (Bluetooth Interface):....................................................................................7
3.4.3. CS-STPR-AA5 (Wi-Fi Interface):..........................................................................................7
3.5 PROCESS OF LOADING THE THERMAL PAPER....................................................................7
4. COMMAND SPECIFICATIONS..........................................................................................................8
4.1. SELECT FONT TYPE:..................................................................................................................8
4.2. SELECT LINE ALIGNMENT:......................................................................................................9
4.3. LINE SPACING:..........................................................................................................................10
4.4. PRINT AND LINE FEED:...........................................................................................................10
4.5. TEST PRINT:...............................................................................................................................10
4.6. TO CHANGE BAUD RATE:.......................................................................................................11
4.7. PRINT FEED N LINES:..............................................................................................................11
4.8. PRINT REVERSE FEED N LINES:............................................................................................11
4.9. PRINT BAR CODE:....................................................................................................................12
4.10. HINDI PRINT:...........................................................................................................................14
4.11. TO PRINT LOGO:.....................................................................................................................16
4.12. TO PRINT TEST PAGE:............................................................................................................31
4.13. TO PAPER FEED:......................................................................................................................31
5. HANDLING PRECAUTIONS............................................................................................................32
6. HANDLING METHOD......................................................................................................................34
6.1 INSTALLING/UNINSTALLING THE THERMAL PAPER.......................................................34
6.1.1. PROCEDURES FOR INSTALLING/UNINSTALLING THERMAL PAPER...................34
6.1.2. PRECAUTIONS FOR INSTALLING/UNINSTALLING THERMAL PAPER..................34
3
COMPACT THERMAL PRINTER

1. PART NUMBER DESCRIPTION

1.1 THERMAL PRINTER SOLUTION – CS-STPR-Cxy

Cxy– Configuration number
C: (Solution Packaging Configuration)
A – Mobile Compact Printer A – 2 Inch
x: (Major Feature Configuration) y: (Minor Feature Configuration)
1 – Serial
4 – BT
5 – Wi-Fi (802.11b/g/n)
4
COMPACT THERMAL PRINTER

2. PRINTER FEATURES

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+
Bluetooth Specification:
1. Blue-tooth protocol : Blue-tooth Specification v2.0 + EDR
2. Frequency : 2.4GHz ISM band
3. Profiles : Blue-tooth serial port
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) 0 Courier font
1 Calibri font
Style (x) N Normal
B Bold
Characters per line (y) 0 24
1 32
2 48
Size (z) 0 Width=1,Height=1
1 Width=1,Height=2
2 Width=1,Height=3
3 Width=1,Height=4
4 Width=2,Height=1
5 Width=2,Height=2
6 Width=2,Height=3
7 Width=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
feeding $1B30, reset or Power-off.
Sample Text
$1B32<Space>ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQR
STUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
Sample Text
$1B30<Space>ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQR
STUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ

4.4. PRINT AND LINE FEED:

[Command : $0A
[Range] : None
[Description] : Prints the data and feed one line (‘\n’), based on current line spacing.
Sample Text
ABCDEFGH$0A<Space>IJKLMNOPQRS$0A<Space>TUVWXYZ

4.5. TEST PRINT:

[Command] : $1D41
[Description] : Executes the test print.
10
COMPACT THERMAL PRINTER

4.6. TO CHANGE BAUD RATE:

[Command] : $1D44
[Range] : 2400 to 230400. Default baud rate is 9600
[Description] : Sets the baud rate for data communication.
[Notes] : Once new baud rate is set, similar configuration has to be made in
Hyper Terminal.
E.g. To configure baud rate 57600 (use command $1D44 57600)

4.7. PRINT FEED N LINES:

[Command] : $14$0$n
[Range] : 00 ≤ n ≤ 99 (n in millimeter)
[Description] : Prints data and feed “n” millimeter line spacing.
[Notes] : This command is used to feed a specific line without changing the line spacing
set by other commands.

4.8. PRINT REVERSE FEED N LINES:

[Command] : $14$1$n
[Range] : 00 ≤ n ≤ 99 (n in millimeter)
[Description] : Prints data and feed “n” millimeter line spacing in reverse direction.
[Notes] : This command is used to feed a specific line without changing the line spacing
set by other commands.
Sample Text
ABCDEFGHIJKLMNOPQRSTUVWX$14$0$08<Space>YZABCDEFGHIJKLMNOPQRSTUV$14$1$50<Space>WXYZAB CDEFGHIJKLMNOPQRST Here 08 = 8mm and 50 = 50mm line spacing
11
Loading...
+ 23 hidden pages