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


i can successfully generate QR codes using

but when i print it saves as blank pdf files.

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


Which plugin are you using?

Could you share more context?

Do you want to print it or display it?


You can use cordova-plugin-print-pdf.

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