Printing

Hi Clifton,
I want to allow users to print lists of students results, up to 40 lines on an A4 sheet of paper. Here is what I've done so far.
The results are presented like this:

I open a sub-modal window and transfer the text to a field in this window. When the window opens I call window.print(). This works as planned but the result only occupies about less than half of the page.

So I have tried increasing the font-size which looks rather strange in the sub-modal but that wouldn't matter if it worked as I intend to close the sub modal window again as soon as I can.

The font-size seems more suitable but the text still doesn't fill the page. I don't know why.

I'd be grateful for your help.
John
UPDATE
Just had a thought. It's probably too small because the field on the Toolbook page is tool small. However I can't make it bigger because the sub-modal cannot be bigger than the mainWindow. So maybe I should not use a sub-modal but open a new browser tab for a non-Toolbook HTML page?
UPDATE 2
So far, so good ...

I want to allow users to print lists of students results, up to 40 lines on an A4 sheet of paper. Here is what I've done so far.
The results are presented like this:

I open a sub-modal window and transfer the text to a field in this window. When the window opens I call window.print(). This works as planned but the result only occupies about less than half of the page.

So I have tried increasing the font-size which looks rather strange in the sub-modal but that wouldn't matter if it worked as I intend to close the sub modal window again as soon as I can.

The font-size seems more suitable but the text still doesn't fill the page. I don't know why.

I'd be grateful for your help.
John
UPDATE
Just had a thought. It's probably too small because the field on the Toolbook page is tool small. However I can't make it bigger because the sub-modal cannot be bigger than the mainWindow. So maybe I should not use a sub-modal but open a new browser tab for a non-Toolbook HTML page?

UPDATE 2
So far, so good ...
