hi again
I have this printing action in my .js file
var printContent = document.getElementById("m1-Score-image1").src;
cordova.plugins.printer.print(printContent, "Document.html", function () {phoneui.alert("printing finished or canceled")});
and in _custom.js I changed the img src according to some score
if (score<=4){
imageSrc = "images/PE1-4.png";}
else {//score>4
imageSrc = "images/PE5.png";}
$('#m1-Score-image1').attr('src',imageSrc);
I would like to print the image inScore page but i get this instead:
file:///var/mobile/Containers/Bundle/Application/B9……/myapp.app/www/images/PE5.png
How can I print this image?!