angular-qrcode icon indicating copy to clipboard operation
angular-qrcode copied to clipboard

Printing issues

Open kimsean opened this issue 8 years ago • 2 comments

Hi. how to print the rendered barcodes ? i use the module ngPrint. but it doesn't render on the preview.

kimsean avatar Jan 16 '18 02:01 kimsean

@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 avatar Nov 01 '18 04:11 excitepv

@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.

VenkatMoorthy avatar Nov 01 '18 05:11 VenkatMoorthy