PdfDoc.font(fontBold).text("This is awesome toolkit", 5, 140) PdfDoc.text("Node.js PDF document creation with PDFKit library", 5, 5) Let stream = fs.createWriteStream(fileName) It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum." It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. Let sampleText = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Index.js: const pdfKit = require('pdfkit')
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |