thiendangit / react-native-thermal-receipt-printer-image-qr

React native thermal receipt printer
https://www.npmjs.com/package/react-native-thermal-receipt-printer-image-qr
112 stars 73 forks source link

printColumnsText text height issue #41

Open ahyong87 opened 2 years ago

ahyong87 commented 2 years ago
const printOrderList = []
for (let i = 0; i < this.props.orderList.length; i++) {
  let temp_finalPrice = Number(this.props.orderList[i].finalPrice.toString())
  temp_finalPrice = temp_finalPrice.toFixed(2)
  const finalString = `${this.props.orderList[i].title.toString()} -(${this.props.orderList[i].uploadData.variant.toString()})`
  printOrderList.push([finalString, this.props.orderList[i].qty.toString(), this.props.orderList[i].price.toString(), temp_finalPrice])
}

output will become like this WhatsApp Image 2022-03-18 at 11 01 38 AM

any solution i can edit the text height ?

WS-Ong commented 2 years ago

any solution for this?

thiendangit commented 2 years ago

any solution for this?

@WS-Ong i will process this in next version