
ACR890 – Reference Manual info@acs.com.hk
Version 1.03 www.acs.com.hk
Page 3 of 90
12.3. Reset the printer ..................................................................................................................43
12.4. Feed paper to printer ...........................................................................................................44
12.5. Set line space in Standard Mode.........................................................................................45
12.6. Print string in Standard Mode..............................................................................................46
12.7. Print string in Page Mode ....................................................................................................47
12.8. Print data array in Standard Mode.......................................................................................49
12.9. Print data array in Page Mode.............................................................................................50
12.10. Print an image......................................................................................................................51
12.11. Get status of the printer .......................................................................................................52
12.12. Initialize freetype library.......................................................................................................54
12.13. Set the character size..........................................................................................................55
12.14. Get glyph image and printing...............................................................................................56
12.15. Release freetype library.......................................................................................................57
13.0. Wireless LAN Module Control APIs......................................................................58
13.1. Power on wireless LAN module...........................................................................................58
13.2. Power off wireless LAN module...........................................................................................59
14.0. Contact Smart Card Reader APIs.........................................................................60
14.1. Open the contact card reader module.................................................................................60
14.2. Close the contact card reader module.................................................................................61
14.3. Check if a contact card is present .......................................................................................62
14.4. Power on a contact smart card............................................................................................63
14.5. Power off a contact smart card............................................................................................64
14.6. Send PPS to contact smart card .........................................................................................65
14.7. Contact smart card APDU transfer......................................................................................66
15.0. Contactless Reader APIs......................................................................................68
15.1. Open the contactless reader module...................................................................................68
15.2. Close the contactless reader module ..................................................................................69
15.3. Read a contactless card......................................................................................................70
15.4. Activate the contactless card...............................................................................................71
15.5. Deactivate the contactless card...........................................................................................72
15.6. Contactless card data transfer.............................................................................................73
15.7. FeliCa card data transfer.....................................................................................................74
15.8. Contactless card reader antenna control.............................................................................75
16.0. Magnetic Stripes Card APIs..................................................................................79
16.1. Get track data from a magnetic stripe card .........................................................................79
17.0. Error code description APIs .................................................................................81
17.1. Get the error description by a given error code...................................................................81
18.0. INI file parser APIs.................................................................................................82
18.1.Get an ini keyword value .....................................................................................................82
18.2. Set a ini keyword value........................................................................................................83
18.3. Add a ini keyword ................................................................................................................84
18.4. Set hardware value according to all keywords in /etc/config.ini ..........................................85
18.5. Set hardware value according to the specified keyword.....................................................86
19.0. Power Management APIs......................................................................................87
19.1. Set system sleep timeout.....................................................................................................87
19.2. Get system sleep time.........................................................................................................87
19.3. Enable or disable system auto sleep...................................................................................88