angular-qrcode
angular-qrcode copied to clipboard
Printing issues
Hi. how to print the rendered barcodes ? i use the module ngPrint. but it doesn't render on the preview.
@kimsean This is due to rendering canvas in print window.
As a workaround, I have disabled canvas and used image by adding the below code in angular-qrcode.js after line number 39
canvas2D = (print in attrs)? false :true;
Then in the directive add this
<qrcode data="string" print></qrcode>
@excitepv
I'm also facing the same problem.QR code gets disappear when I print the page. After adding this canvas2D = (print in attrs)? false :true; in angular-qrcode.js its working fine. Thanks.