node-html-pdf icon indicating copy to clipboard operation
node-html-pdf copied to clipboard

This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.

Results 132 node-html-pdf issues
Sort by recently updated
recently updated
newest added

I'm trying to make a textarea have the attribute text-align:justify; Everything looks fine until I turn it into a pdf. See images below ![screen shot 2017-02-16 at 12 09 53...

i am using the ubuntu 16.04.1 server, which is running on nginx. So whenever i try to generate the pdf. it throws following error : "Fontconfig warning: ignoring UTF-8: not...

I've been using this package for ages and worked like a charm on AWS Lambda with Nodejs 8.10 and older. But AWS now forces you to use 10.x and later......

I am working on a project in Svelte Kit where i have to convert an invoice in the form of an html string in pdf byte array. I am using...

**...........................server.js..........................................** var accessPath = path.join('file://', __dirname, '/public') var options={ quality:"75", formaat:"A4", base:accessPath }; pdf.create(pdfTemplate(data),options).toBuffer((err,buffer)=>{ if(err){ res.status(400).send(Promise.reject()) }else{ res.status(200).send(buffer); } **.................................pdf Template.js.....................................................** module.exports=(data)=>{ const startdate=data.Starts.split(" ")[0]; const enddate=data.Ends.split(" ")[0]; const description=(data.Description.length...

I am using Docker base image mhart/alpine-node. PDF creation fails with below exception ``` Error: spawn ./node_modules/phantomjs-prebuilt/bin/phantomjs ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19) at onErrorNT (node:internal/child_process:477:16) at processTicksAndRejections (node:internal/process/task_queues:83:21) ```

I am using the anchor tag to have clickable text which should navigate to respective section within pdf but it does not work. Find the below html. Take me there...

after generate pdf, letter spacing is incorrect. http://prntscr.com/llofjg

AssertionError [ERR_ASSERTION]: html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using 'options.phantomPath' at new PDF (path of my folder/node_modules/html-pdf/lib/pdf.js:40:3) at Object.createPdf [as...