How do i enable the lines on a spreadsheet?

In a spreadsheet, it will not print the lines marking rows and cells. How do I remedy this?

Add borders to the cells. Menu Format > Cells > Borders tab

Or edit page style to print the grid.