Professional Documents
Culture Documents
Version: SWD-05
Ticket Printer
Change History
Title Ticket Printer Protocol Communication Specification
Published ICT, Department of Software Development
Item Version Date History Modify Comments
1 01 2010.10.19 First Edition Niki
2 02 2010.11.16 Change Cmd 44, 45 Niki
3 03 2011.03.25 Add Load Logo Cmd Niki
4 04 2011.05.18 2 Bytes of Data Length Niki
5 05 2011.05.31 Add Cmd 47,48 Niki
Page 2 of 11
Ticket Printer
Table of Contents
1. General Information .................................................................................................................... 4
2. Communication Format............................................................................................................... 4
2.1 Transmission Format......................................................................................................... 4
2.2 Command Format (Sending Command: Controller Peripheral).................................. 4
2.3 Response Format (Response Status: Peripheral Controller)........................................ 4
2.4 Timing Diagram ................................................................................................................ 5
3. Command .................................................................................................................................... 6
3.1 Command Table ................................................................................................................ 6
3.2 Command Detail ............................................................................................................... 7
Page 3 of 11
Ticket Printer
1. General Information
This specification describes the operation of Ticket Printer Interface Protocol.
It is regarding to the data for the interface between Controller and ICT product.
2. Communication Format
2.1 Transmission Format
Page 4 of 11
Ticket Printer
Power On
Start Communication
Tc
Tc : Min 1s
Controller
CMD CMD
Response
Peripheral
Tr Ts
Tr : Max 10ms
Ts : Min 30ms
Page 5 of 11
Ticket Printer
3. Command
3.1 Command Table
Command List
Function Baud rate Command Sub-Command
Self Test 40H(64) ------
Setup 41H (65) ------
Save Logo 42H (66) ------
Delete Logo 43H (67) ------
Define Font 44H (68) ------
Print 45H (69) ------
Poll Status 46H (70) ------
9600bps
Request Print Validation Number 47H (71) ------
Clear Print Validation Number 48H (72) ------
Page 6 of 11
Ticket Printer
Data : D1~D23
Ex. [01][52][44][10][00][1F][D1][D…][D23][FCC]
D1-D3 = Manufacturer Code 3 bytes ASCII
D4-D23 = Software Version 20 bytes ASCII
Controller uses this command to get information.
Page 7 of 11
Ticket Printer
Line#
Ex. [52][01][44][45][00][AA]
[0][16][0][0][-][2][8][5][4][-][3][2][1][3][-][7][1][4][2][-][6][0][6][3]
[1][0C][I][G][T][ ][T][r][a][i][n][i][n][g]
[2][25][S][l][o][t][ ][I][d][:][2][0][3][3][8][2][ ][ ][F][l][o][o][r][ ]
[L][o][c][a][t][i][o][n][:][0][5][5][2][0][8]
[3][0E][C][A][S][H][O][U][T][R][E][C][E][I][P][T]
[4][03][$][3][0]
[5][1A][T][H][I][R][T][Y][ ][D][O][L][L][A][R][S][ ][A][N][D][ ][N][O]
[C][E][N][T][S]
[6][20][1][0][:][0][4][ ][2][0][0][1][ ][ ][1][3][:][2][3][:][1][3][ ]
[T][I][C][K][E][T][#][0][2][9][1]
[7][16][0][0][-][2][8][5][4][-][3][2][1][3][-][7][1][4][2][-][6][0][6][3]
[8][16][0][0][-][2][8][5][4][-][3][2][1][3][-][7][1][4][2][-][6][0][6][3]
[9][25][V][o][u][c][h][e][r][ ][V][o][i][d][ ][a][f][t][e][r][ ][3][0][ ][d][a][y][s][ ]
Page 9 of 11
Ticket Printer
[M][A][C][H][I][N][E][#][1][0] [FCC]
Limit of words
Normal 96 96 96 127
High*2 96 96 96 127
Width*2 96 96 96 127
Page 10 of 11
Ticket Printer
Page 11 of 11