lx-pdf
lx-pdf copied to clipboard
pdf library for creating pdf files in node.js
Hi, I tried to generate a pdf and got and empty white document. What's is wrong ? ` const pdf = require('lx-pdf')(path.resolve(__dirname, '../../server/pdfTemplates/template.json')); let json = require(path.resolve(__dirname, '../../server/pdfTemplates/template.json')); pdf.loadTemplate(json); pdf.print(function(data,...
Hi folks, is it possible to add a content section without border? Thanks in advance
Apparently I can not change the width of a cell/column in a table because I get the following error: [TypeError: Cannot assign to read only property 'width' of NaN] Trying...
Hello , i have a problem with header table, i can`t change the color of de row, i try with a lot properties and no works, here is my example,...
We need an option to control gaps between row cells. I am suggesting to add "line-height" CSS style. Here is Example: Line 113: ``` function getFontObject(data, defaultfont) { var result...
I need to generate PDF with logo on top. Looks like bug in your code I can only add after some content text. Also I can only set width and...
Hi, for the images in template.json, i cannot change the path. so i changed the source pdfkit/js/image.js[for testing] , it worked. how to work it out without changing that source,...
Hi, how can I add an image in a table cell ? I tried with ar tableData = [ [ { image: { filename: 'logo.jpg', options: { height: 120, width:...
Adding one or more images using document.image()