puppeeter pdf desktop

Solutions on MaxInterview for puppeeter pdf desktop by the best coders in the world

showing results for - "puppeeter pdf desktop"
Sara
28 Sep 2017
1// add this in your style tag / css file and add styles u wanna change
2@page {
3  size: A4;
4  margin: 0;
5}
6@media print {
7  .col {
8      width: 25% !important;
9  }
10}
11
12// puppeteer config
13await page.pdf({
14    ...options,
15    printBackground: true,
16});