Okay not sure if this maybe what you are exactly looking for but it is certainly most worth considering. You could alternatively look at using wickedpdf and then wrapping a div
around your content and the following in your CSS.
div.page {
width: 180mm;
height: 277mm;
overflow: hidden;
page-break-before: always;
}
EDIT: page-break-after: always;
added a blank page at times, so we should use page-break-before: always;