User Manual

Back-Clip Print-Scan All in One Device
Table class
1. Table construct.
Table(String column, String regular, int[] columnWidth)
Parameter column is table title column, separate by the regular.
Such as:”index, unit price, number, price”.
Parameter regular: the separator of the column data. Such
as”,”.
Parameter Column width: width of all columns. One Chinese
character width is 2, one English character is 1.
2. Add a row data.
addRow(String row)
Add a row data to the table. Data form should equals with table
title. If the table cell width exceeds the limit, printer can word
wrap, if want manual line, can add “\n” in where you want.
3. Set Table column align left. Default is aligning right.
setColumnAlignLeft(boolean left)
16