This is probably a general headless-Chrome question, but - with something like this, how would you go about specifying margins, page breaks, etc?
Page breaks are controlled by the CSS properties page-break-after, page-break-before and page-break-inside.