You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this plugin to connect zebra printer through Bluetooth but while clicking on the print it showing printing is successful but nothing is printing in thermal printer.
Can you please guide me what is wrong on the app
used this fuction only
printViaBluetooth(){
console.log('enter into 33 line')
ThermalPrinter.listPrinters({type: 'bluetooth'}, function(printers) {
console.log('enter into 35 line')
console.log('enter into 35 line')
let printer = printers[0];
console.log('enter into 39 line' + printer)
console.log('enter into 40 line' + printer.address)
// Permission granted - We can print!
ThermalPrinter.printFormattedText({
type: 'bluetooth',
id: printer.address,
text: '[C]<u><font size="big">Hello World</font></u>' // new lines with "\n"
}, function() {
console.log('Successfully printed!');
}, function(error) {
console.error('Printing error', error);
});
}, function(error) {
console.error('Ups, we cant list the printers!', error);
});
}
The text was updated successfully, but these errors were encountered:
I used this plugin to connect zebra printer through Bluetooth but while clicking on the print it showing printing is successful but nothing is printing in thermal printer.
Can you please guide me what is wrong on the app
used this fuction only
printViaBluetooth(){
console.log('enter into 33 line')
ThermalPrinter.listPrinters({type: 'bluetooth'}, function(printers) {
console.log('enter into 35 line')
console.log('enter into 35 line')
}
The text was updated successfully, but these errors were encountered: