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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -