Libreoffice

Calc

Print grid:

Format/Page/Sheet

Format

Page