How to print generated QR codes using Cordova Printer Plugin ? Ionic/Angular 2


#1

i can successfully generate QR codes using

but when i print it saves as blank pdf files.

let page = location.href;
console.log(page);
Printer.print(page, ‘Document.html’);
}


#2

Which plugin are you using?

Could you share more context?

Do you want to print it or display it?


#3

You can use cordova-plugin-print-pdf.

If you using new Ionic, here is help to call this plugin