How to make the printing footer on the bottom without margin?

hello erpnext world,
i created a custom printing template, i added a fixed footer (managed from printing headers settings).
the problem is the footer have a big margin from the bottom, so i need to delete that margin and control it with the custom CSS

This article has some helpful tips

thank you.

Thank you this is the best solution for my case

Thank you