Php – how to fit wide table on an a4 size paper


I want to print a table of report on an a4 size paper , but only a part of the table is getting printed , few columns are being left out.

Can anybody please tell me what might be the problem?

I tried to shrink to fit but , it becomes too small to read.

Best Solution

try using the landscape paper mode rather than portrait mode. Next shrink your contents to fit the page. If they don't you can't get entire thing on a single sheet unless you want unreadable font size (read smaller than your eye can read).