
PD02-058 User Manual ·1·
1 INTRODUCTION ....................................................................................................................................2
1.1 POS-58A Receipt Printer...............................................................................................................2
1.2 Feature............................................................................................................................................2
1.3 Outline............................................................................................................................................2
1.4 Caution...........................................................................................................................................2
2 SETTING UP THE PRINTER..................................................................................................................3
2.1 Unpacking......................................................................................................................................3
2.2. Main frame....................................................................................................................................3
2.3. Connecting the printer...................................................................................................................3
2.3.1 RS232 INTERFACE...........................................................................................................4
2.3.2 PARALLEL INTERFACE..................................................................................................5
2.3.3 USB INTERFACE..............................................................................................................5
2.3.4 ETHERNET INTERFACE .................................................................................................5
2.4 Connect the cash drawer................................................................................................................6
3 USING THE PRINTER............................................................................................................................7
3.1 Control Panel .................................................................................................................................7
3.2 Online and Offtline ........................................................................................................................7
3.3 Feed paper......................................................................................................................................7
3.4 Setting the print density.................................................................................................................7
3.5 Setting the baudrate........................................................................................................................7
3.6 Enter the test mode.........................................................................................................................8
3.7 Enter the debug mode ....................................................................................................................8
3.8 Install the paper roll .......................................................................................................................8
3.9 Tear off paper.................................................................................................................................9
4 ESC/POS PRINTING COMMAND SET...............................................................................................10
4.1 Set of Command...........................................................................................................................10
4.2 Command detail...........................................................................................................................12
4.2.1 Print Commands................................................................................................................12
4.2.2 Line spacing setting command.......................................................................................12
4.2.3 Character command .......................................................................................................13
4.2.4 Bit Image Command.........................................................................................................15
4.2.5 Cash drawer control command..........................................................................................17
4.2.6 Key control command.......................................................................................................17
4.2.7 Init command ....................................................................................................................17
4.2.8 Status Command ...............................................................................................................17
4.2.9 Bar Code Command..........................................................................................................18
4.2.10 Print Posiiton and Page Command..................................................................................20
5. Sample Programming.............................................................................................................................23
APPENDIXA:CODE PAGE...................................................................................................................24
APPENDIXB:International characters....................................................................................................26
APPENDIXC:Arabic characters.............................................................................................................27