css page break when printing code example
Example: how to use css print page break with float
$('.break-after').after('<div class="page-break-clear"></div><div class="page-break"> </div>');
$('.break-after').after('<div class="page-break-clear"></div><div class="page-break"> </div>');