Joined April 2013
·

Igor Konoplyanko

Munich Area, Germany
·
·

Posted to Making work cordova/phonegap + jsPDF over 1 year ago

doclogo - is a jquery selector for your image. you can use any other selector you want.

Posted to Making work cordova/phonegap + jsPDF over 1 year ago

Yeah. It was done 4 months ago. so most likely the library was updated already. But for me this solution worked fine. Glad to help!

Posted to Making work cordova/phonegap + jsPDF over 1 year ago

Hi Jon! I've updated article, please check it!

Posted to Making work cordova/phonegap + jsPDF over 1 year ago

Be careful - there is problem when inserting images in PDF. it won't work, I have a workaround. Will post it later

Posted to Making work cordova/phonegap + jsPDF over 1 year ago

Hi. I'm using cordova, I'm pretty sure it will be the same with phonegap. PDF file looks valid, and opened with mac os preview and adobe reader. Seems that jspdf generates header by himself. Also the problem can be that you have to be sure that there are no errors in JS which generates PDF.

Achievements
116 Karma
13,117 Total ProTip Views
Interests & Skills