In Excel 2010, cannot get gridlines to print. The lines are visible in "print preview", but do not appear on the printed copy.

Anonymous
2010-07-14T15:06:59+00:00

gridlines will not print, even tho they appear in "print review."

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2012-01-26T16:12:14+00:00

My experience in Excel 2010 is that the problem only occurs in documents that originated in xls format, whether currently in xlsx or xlsm, and the problem goes away if you delete Print_Titles.

PROBLEM:

Workbooks originally created in xls format, containing Print_Titles, do not print gridlines.

SOLUTION:

Open the problem workbook.

Page Layout, Page Setup, Sheet, check Print Gridlines, OK

File, Options, Advanced , Display Options For This Workup, Show Sheet Tabs

R-click the sheet tab, Move or Copy...., To book (new book), check Create copy, OK

Close the old book.

Save the new book, replace old.

Gridlines print in the new book. Simply copying and pasting a sheet to a new another sheet in the same book or a new book doesn't work.

In the 7 months since I wrote this there does not appear to have been any progress on this problem. While the above workaround works for me, it is tedious and it doesn't last. The new book soon exhibits the same problem. So I don't save the new book and I redo the above each time I want to print gridlines in an offending file. Bill, if you are reading this, is Microsoft doing anything about this?

Meanwhile, I have found a workaround that is simpler and does last. It involves changing one setting in printer properties:

In the Excel 2010 document, Print Preview and Print>Printer Properties>Advanced>Document Options>Print Optimizations: change setting to Disable. Save the file.

This works for my HP 1320 Laserjet printer. If it doesn't work for your printer, you might try changing your printer properties settings one at a time.

The only down side with this solution is that it must be done (only once) for each offending document. It is possible to make the same setting change globally (In Windows 7, Control Panel>Devices and Printers>Right-click the default printer driver>Printing Preferences). This does not change settings of existing documents, only newly created ones. Since new documents don't exhibit the gridline problem, for me this is a non-solution.

According to HP's knowledge base, "The Print Optimization feature is a Unidrv feature located on the Advanced tab of PCL6 drivers. By default, it is set to enabled, and a PCL6 driver handles text, vector, and raster data. When the feature is set to disabled, the PCL6 driver will switch into raster mode, and force all text and vector calls to be rasterized by GDI (Windows). This feature is useful in situations where text or vector calls are rendered incorrectly by the print driver, but the GDI rasterization process creates proper output.

Changing this setting to disabled will typically result in a performance hit causing print jobs to print slower than when the feature is enabled."

Not sure what this means. I have not noticed a performance hit, but it sounds like a good reason not to make the setting change global. I actually use the PCL5 driver. The system used by Windows and HP to automatically find and install a driver is so good I could not find a way to download and  test the PCL6 driver  for my 1320 printer.

I am becoming convinced that the gridline printing problem is fundamentally an Excel problem that manifests itself as a printer driver problem.

Was this answer helpful?

40+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2012-01-25T15:01:04+00:00

update on my own problem - gave up finding a solution; when printing to a different (and 5 years newer) printer, problem didn't occur.  updated printer drivers to fix not available for the very old printer I was using.  Successfully advocated for new printer; problem solved.  It's a shame because the printer worked fine....just didn't have the drivers to make it play nice with Excel 2010.

Was this answer helpful?

10+ people found this answer helpful.
0 comments No comments

75 additional answers

Sort by: Newest
  1. Anonymous
    2011-02-25T18:58:59+00:00

    For me, this only happens when I try printing with the "rows to repeat at top" enabled in the Page Setup dialogue.

    A simple fix, for shorter documents, is to manually insert the rows I want repeated, or to switch to an older version of Excel, which works perfectly fine.

    I'm pretty sure it's an issue with the Rows to repeat selection, as I don't have any problems printing the lines on older versions of Excel on the same printer, and the lines print perfectly when I don't select that option.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-01-09T01:49:08+00:00

    I spent the last hour trying to figure out why no grid lines print. I am using EXCEL 2010.  On the page layout tab, gridlines, I have checked "view" and "print" gridlines.  It does not print gridlines.

    I wanted "gridlines" to print, so I tried another way, adding borders.  I selected my entire table, and clicked on home tab, font, all borders.  The borders showed up on screen, and it did print borders, but for ONE PAGE, the FIRST PAGE only?!

    Why? Why am I unable to print gridlines, AND unable to print borders for page 2 and up?  But able to print borders for page 1?

    crazy.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2010-11-30T00:53:56+00:00

    I've had the very same problem, and I think I proved that the printer driver is not at fault. I had an Excel 2010 spreadsheet with two worksheets. At first, both worksheets showed the gridlines on the print preview, and my printer also printed the gridlines, just as I wanted. Later in the day after changing the contents of a few cells, one worksheet showed the girdlines in the print preview, but they did not show up on the hard copy. The second worksheet still previewed and printed correctly as before. I was baffled that one worksheet printed ok and the other did not.

    In desparation I created a second copy of the worksheet that wasn't printing properly, made absolutely no changes, hit the "print" button, and it previewed and printed the gridlines properly! So I deleted the original one and moved on.

    I can't explain why this happened, but, hey, whatever works! Clearly the bug is in Excel, not in the printer or the spreadsheet. Maybe this will give the debuggers a clue as to where to look.

    Was this answer helpful?

    0 comments No comments