javascript - how to image print in phonegap -


i take pictures in first code. in other code want print it. image not appear on print screen. why ?

            navigator.camera.getpicture(onsuccess, onerror, {             quality: 100,             destinationtype: camera.destinationtype.file_url,             sourcetype: camera.picturesourcetype.camera,             mediatype: camera.mediatype.picture,             savetophotoalbum:true,   //targetwidth:200 ,             //targetheight: 200,              correctorientation: true,             allowedit:true         });           function onsuccess(imagedata) {             image=document.getelementbyid("myimage");             image.src = imagedata;             path = image.src;           }   printt: function () {                         window.plugin.printer.print(image);          }, 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -