Hello Nannu,
I can understand it.
You can try @media print{ } to give some CSS for printing.
You can set margin or height in vh for your page, so it will not go beyond your footer area.
Something like :

If this doesn't work, You can try to share separate OML with this specific code.