Hi..Iam retreving data from an api using $http.get..now on clicking a 
button i want to send this json data to printer in pdf format..i tried this 
code

var file = new Blob([data], { type: 'application/pdf' });
var fileURL =window.URL.createObjectURL(file);
var w=window.open(fileURL);
 w.print();
but this is not working for ie..can anyone suggest  the method that works 
for all browsers....

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to