Open rehancg opened 5 years ago
@rehancg @vikaskbh i use setBlob, it didnt bold the text.. anyone gt the solutions? And is it possible print text with large font size, without bold the the text?
@ReactMethod public void setBlob(int weight,final Promise promise) { if(sendDataByte(PrinterCommand.POS_Set_Bold(weight))){ promise.resolve(null); }else{ promise.reject("COMMAND_NOT_SEND"); } }
That means, use setBlob > 0
did you. find. any slution for increasing font size or bold ?
@rehancg @vikaskbh i use setBlob, it didnt bold the text.. anyone gt the solutions? And is it possible print text with large font size, without bold the the text?
Excusemi , did you found any slution for increasing font size or bold ?
hi, did @rehancg @vikaskbh @valiaghaei you guys find any solution?
found solution: you can use, await BluetoothEscposPrinter.setBlob(1); before the text you want to print. As an ex: await BluetoothEscposPrinter.setBlob(1); await BluetoothEscposPrinter.printText( 'Hello World\n\r', {}, );
How about printColumn()
with left column is bold but right is not bold?
That means, use setBlob > 0