DEV Community

Discussion on: [Suggestion Needed] : Generate complex PDF using puppeteer

Collapse
 
mtrantalainen profile image
Mikko Rantalainen

Have you already tried pagedmedia.org/paged-js/ ?

Collapse
 
irfaan008 profile image
Irfan Raza

This looks promising solution. By the way, I was able to accomplish it with puppeteer itself.

Collapse
 
bvdeepak profile image
Deepak Dhaka

Hi Irfan,

I am also facing the same issue, can you please tell me how did you solve the issue?

Thanks.

Thread Thread
 
irfaan008 profile image
Irfan Raza

@deepak nothing helpful from puppeteer side. All I had to do using css only. I engaged with designer and got the single page designed as 3 pages.

  1. header
  2. body
  3. footer

I then use online tool to convert header & footer html with external css to html with embedded css.