Last active
October 21, 2019 15:43
-
-
Save destpat/1b601dcdd6841e9f8ded8adbf646c524 to your computer and use it in GitHub Desktop.
Generate pdf label
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Use this website for generate pdf label http://raw.githack.com/MrRio/jsPDF/master/ | |
* copy / past the code | |
**/ | |
var doc = new jsPDF('l', 'mm', [70,24]); | |
doc.setFontSize(15); | |
var i; | |
for (i = 0; i < 101; i++) { | |
doc.text('SIST' + i, 3, 7); | |
doc.addPage('100', 'l00'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment