How to keep the gridlines showing on a printout for a form.
Sorry. Would you mind to tell how you got that “gridlines” in ‘Writer’?
If actually talking of ‘Calc’ sheets:
You find the respective option selectable for the page format in Calc documents under
‘Format’ > ‘Page…’ > tab ‘Sheet’ > section ‘Print’.