Harsh Bangari
Harsh Bangari
**I'm seeing an error message. Is there a way to resolve this?**
@iamvivekkaushik any update on this issue?
@Shiv-k-Tripathi Try these changes in your code. private val usbReceiver: BroadcastReceiver = object : BroadcastReceiver() { override fun onReceive(context: Context, intent: Intent) { val action = intent.action Log.d("onReceiveUSB:", "action: $action")...
@surjannegi Try to change your printerWidthMM in EscPosPrinter ` val printer = EscPosPrinter(UsbConnection(usbManager, usbDevice), 203, 80f, 32) ` and I somehow managed to center the dynamic content. Like this: ![Media...
> Thanks @harsh8088 for your response, will this align the complete text center align ? Because I want to center align the specific text , not the complete text. I...
> I clicked on the above link , i can't see any code there .. Check the latest Open Issue(Font Issue): https://github.com/DantSu/ESCPOS-ThermalPrinter-Android/issues/538