Epson TM-T70-i ePOS-Print API Users Manual For TM-i firmware 4.1 - Page 91
addBarcode method, addBarcode
View all Epson TM-T70-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 91 highlights
Chapter 4 ePOS-Print API addBarcode method Adds barcode printing to the command buffer. In page mode, a barcode is laid out in the current print position with the reference point being its bottom left dot (except for HRI). Syntax addBarcode(data, type, hri, font, width, height); Parameter data : ( Required parameter, Object type : String) Specifies the barcode data as a string. Barcode type Description When an 11-digit number is specified, a check digit is automatically added. UPC-A When a 12-digit number is specified, the 12th digit is processed as a check digit but the check digit is not validated. Specify 0 as the first digit. Specify the manufacturer code in the digits 2 to 6. UPC-E Specify (right-align) the item code in the digits 7 to 11. The number of item code digits varies depending on the manufacturer code. Specify 0s in empty digits. When an 11-digit number is specified, a check digit is automatically added. 4 When a 12-digit number is specified, the 12th digit is processed as a check digit but the check digit is not validated. EAN13 When an 12-digit number is specified, a check digit is automatically added. JAN13 When a 13-digit number is specified, the 12th digit is processed as a check digit but the check digit is not validated. EAN8 When a 7-digit number is specified, a check digit is automatically added. JAN8 When an 8-digit number is specified, the 8th digit is processed as a check digit but the check digit is not validated. CODE39 When the first character is *, the character is processed as the start character. In other cases, a start character is automatically added. Start and stop codes are automatically added. ITF Check digits are not added or validated. Specify a start character (A to D, a to d). CODABAR Specify a stop character (A to D, a to d). Check digits are not added or validated. 91