Professional Documents
Culture Documents
Ver.1.0 1
SM ELECTRONIC TECHONLOGIES Pvt. Ltd.
Table of Contents
1. System Specifications………………………………………………….......3
3. Command Specifications……………………………………………..…..6
4. Test Print………………………………………………………………….10
5. Error Detection……………………………………………………………10
Ver.1.0 2
SM ELECTRONIC TECHONLOGIES Pvt. Ltd.
1. System Specifications
The features of the printer unit using this Control board and printer Mechanism (384 dots/line)
are as follows.
6. Selectable fonts size: 12x8, 12x16, 12x24, 24x16, 24x24, 24x32, 24x40 and 24 x 48 dots.
Characters can be selected by commands.
Ver.1.0 3
SM ELECTRONIC TECHONLOGIES Pvt. Ltd.
• J3 (Power supply)
• J2 (Cutter Connector)
Pin no Signal Description
Note: The direction of I/O is the one having seen from the printer side.
1. General Specification
a. System : Serial Interface
b. Data receiving speed : 9600 bps
c. Synchronous system : Start-stop synchronous system
d. Input/Output level : RS-232 level
Ver.1.0 4
SM ELECTRONIC TECHONLOGIES Pvt. Ltd.
Start Bo B1 B2 B3 B4 B5 B6 B7 stop
Ver.1.0 5
SM ELECTRONIC TECHONLOGIES Pvt. Ltd.
3. Command Specification
Each command is explained using the following conventions.
[Name] Command Name
[Function] Function of Command
[Code] Control code represented in hexadecimal or decimal notation.
(1) HT
[Function] The HT command moves the printing position to the next horizontal tab position.
[Code] [09]16
[09]10
(2) LF
[Function] The LF command prints the data already contained in the print buffer, then sets
the next-data receive at the leftmost column on the next line.
[Code] [0A]16
[10]10
3) FF
[Function] The FF command prints the data already contained in the print buffer, then sets
the next-data receive position at the leftmost column on the next page.
[Code] [0C]16
[12]10
(4) CAN
[Code] [18]16
[24]10
Ver.1.0 6
SM ELECTRONIC TECHONLOGIES Pvt. Ltd.
(5) ESC RS
(6) ESC US
(7) ESC ! + n
n Font
0X11 12X8
0X12 12X16
0X13 12X24
0X01 24X16
0X02 24X24
0X03 24X32
0X04 24X40
0X05 24X48
Ver.1.0 7
SM ELECTRONIC TECHONLOGIES Pvt. Ltd.
(8) ESC A + n
[Function] This Command sets the line spacing to “n” dot lines.
(9) ESC D + n
[Function] This command prints the data and feeds a line, then feeds the paper by “n” lines.
(10) ESC J + n
(11) ESC K + n
(12) FS E + n
Ver.1.0 8
SM ELECTRONIC TECHONLOGIES Pvt. Ltd.
[100]10 = [00]16 [64] 16 So the bytes to be send (48 * 100) = 4800 bytes.
(14) Fs k +m+code
(14) GS+O
[Name] Cutting
Ver.1.0 9
SM ELECTRONIC TECHONLOGIES Pvt. Ltd.
4. TEST PRINT.
Test print can be printed by keeping the switch pressed while powering the board. The default
configuration of interface card and a sample print is printed. It aslo performs an auto paper cut
after the sample print provided the printer mechanism has the cutter.
5. ERROR DETECTION.
In normal operation LED glows continuously.
On paper out detection the LED starts blinking and an error message – Paper out error, is sent
through serial port.
On Over head voltage detection the LED starts blinking and an error message – Over voltage
error is sent through serial port.
Ver.1.0
10