Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var doc = new jsPDF();
- doc.text(20, 20, 'Hello world!');
- doc.text(20, 30, 'This is client-side Javascript, pumping out a PDF.');
- doc.addPage();
- doc.text(20, 20, 'Do you like that?');
- doc.save('Test.pdf');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement