how to display and print grid lines

I am learning, but I need to print a sample doc with grid lines

Hello,

assuming you are talking about Calc:

To View
View -> [x] View Grid Lines

To Print
Format -> Page -> Tab: Sheet -> Category: Print -> Option: [x] Grid will show you the grid line on print

Hope that helps.

If the answer is correct or helped you to solve your problem, please click the check mark (:heavy_check_mark:) next to the answer.

Click on print preview – in the opened window above your document select Format Page – select the Sheet tab– in the middle of the new window in the print section, select Grid.