Do you have a question about the PTR89 and is the answer not in the manual?
Questions and answers
Summary of Contents for ACS PTR89
Page 1
PTR89 Portable Thermal Printer Application Programming Interface V1.00 Subject to change without prior notice info@acs.com.hk www.acs.com.hk...
Page 2
Printer_PrinterStrPM ..................... 7 2.2.8. Printer_PrinterDataSM ....................7 2.2.9. Printer_PrinterDataPM ....................7 2.2.10. Printer_PrinterImage ..................... 8 List of Tables Table 1 : Page Mode Data Member Description ..................4 Page 2 of 8 PTR89 – Application Programming Interface info@acs.com.hk www.acs.com.hk Version 1.00...
Page 3
It is equipped with 32-bit CPU running the embedded FreeRT Operating System (FreeRTOS) Kernel. ACS develops the additional feature of having the thermal printer to bring convenience in many types of smart card application. The PTR89 is a portable thermal printer especially designed for ACR89 series.
Page 4
The absolute origin is the upper left of the printable area, and both print width and height cannot be set to 0. • The line spacing includes the height of the font. Page 4 of 8 PTR89 – Application Programming Interface info@acs.com.hk www.acs.com.hk Version 1.00...
Page 5
This function resets the printer and restores all user settings to default value. [Printer.h] void Printer_Reset ( void ); Returns: BOOLEAN This function returns TRUE/FALSE of the state of successfully resetting the printer. Page 5 of 8 PTR89 – Application Programming Interface info@acs.com.hk www.acs.com.hk Version 1.00...
Page 6
[in] Null terminated string of characters to be printed Returns: BOOLEAN This function returns TRUE/FALSE of the state of successfully printing the string in the “Standard Mode.” Page 6 of 8 PTR89 – Application Programming Interface info@acs.com.hk www.acs.com.hk Version 1.00...
Page 7
This function prints the array of data in the “Page Mode.” The printing data size should be less than or equal to 490 bytes. The control character ‘\n’ can be used. [Printer.h] BOOLEAN Printer_PrintDataPM ( const PRT_PAGE_MODE_PARAM *Param, const UINT8 *Data UINT16 Size); Page 7 of 8 PTR89 – Application Programming Interface info@acs.com.hk www.acs.com.hk Version 1.00...
Page 8
Width is between 1 and 192 (inclusive). Input “TRUE” if selecting double mode and the range of Width is between 1 and 384 (inclusive). Returns: BOOLEAN This function returns TRUE/FALSE of the state of successfully printing the image. Page 8 of 8 PTR89 – Application Programming Interface info@acs.com.hk www.acs.com.hk Version 1.00...
Need help?
Do you have a question about the PTR89 and is the answer not in the manual?
Questions and answers