04
May

Open  sites/all/modules/print/print.css and add following lines in it:

@media screen {
.page-break    { height:5px;  border-top:1px dotted #cccccc;  }
}
@media print {
.page-break { height:0; page-break-before:always; margin:0; border-top:none; }
}

after that,  put the following code in your Drupal’s page, wherever you need page break :

<div class=”page-break”></div>

Test it and enjoy!

Rajeev Pillai
Posted by on 04 May 2010 by Rajeev Pillai in Drupal

Add reply

*