title: Restricting page count when printing
body: <p>Is there any way that I can use CSS to restrict the number of pages that will print?</p>
  
  <p>For example, I have an HTML template which is 2 pages long, dynamically filled with specific fields from my database. If anything causes the content to wrap onto a 3rd page, I still only want it to print on 2 pages, and omit the 3rd.</p>
  
  <p>I was looking at the <code>@page</code> rule, thinking I could do something with pseudo selectors however it only appears to support <code>:first</code>, <code>:last</code>, <code>:left</code> and <code>:right</code>.</p>
  
  <p>Any ideas?</p>