Print background css
Closed this issue · 2 comments
swamidass commented
Is there a way to pass through options to the browser's PDF render? In particular, it seems that printBackground needs to be set to true in order to correctly render some parts of my layout. How can I ensure that is done?
PejmanNik commented
Please check the readme. the pdfPage
and pdf
accept the original puppeteer PDF options. you can pass the printBackground in both functions.
swamidass commented
Thanks.