title: How to handle PDF pagination in PhantomJS
body: <p>I am using PhantomJS to create PDFs from html.</p>
  
  <p>It works fine, but I can't find out how to work with pagination; I want to create a page for each div in my document, but I can't find anything in the doc. about pagination.</p>
  
  <p>If my document is short, it makes only one page, and if it is bigger, it creates one second empty page and my contents are in the first page which becomes very long.</p>
  
  <p>Any idea ? (I am using phantomJS-node module for nodeJS)</p>