07c5cb8 Print: implement dynamic paginat...

based on: http://github.com/torvalds/subsurface/commit/07c5cb882f55b735db6afa7efbee7240032e6d78

compiled with: mingw 3.4.5

notes:
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>