Added support for setting row height, fitting a content on given number of printed pages.