When doing print preview, some lines of the grid do not show. When one zooms in they are drawn. Is there some way I can change this?

That's how print preview is implemented in MFC.

When you zoom in, some lines (if they have only 1 pixel) get lost. There is no way (or at least we don't know any way) to change this behavior.