What is it?
Is it a photo from a print from the laser of offset?
Is the grid done in Illustrator, Photoshop or InDesign?
How? What file type is it? How was it brought into InDesign?
If none of those above is the reason for the failure, it might be a simple printer problem.
Also: How was the PDF for print created?
And check to be sure the grid is actually running true horizontal and vertical.
Thank you. I have did not make the grid myself. I do not know how to make the millimeters inside the bigger squares. Therefore, I found an image with the grid. So the grid is an image and the graphic I have behind the grid consist of four small images. So all of them are images. But it looks like the four small images behind the grid image are messing up the grid image. How can I correct that?
You did not ask my questions.
What file type is your image?
How did you import it?
And it is VERY simple to make this grid yourself, best would be to do it in Illustrator, draw vertical and horizontal lines and with transform effect apply the duplicates you need, save as AI and place it in InDesign.
It could be done in InDesign itself, draw the lines with copy and repeat paste step by step.
Never use a raster image for that purpose.
I have tried with both png and tif images. How do you mean with import it?
How do I make a grid like that on the image I have attached here?
Neither PNG (not at all) nor TIFF are good file types for that purpose. Both are raster images and cause problems with thin lines. As you have learned with your problem.
PNG does not support CMYK as thin lines should have no color mix as it could fail precision to print accurate.
Importing is to bring another file into InDesign (or any other program). Import can mean here either File > place as linked file or place as embedded file or place from a library or copy and paste or …
Best would be to draw a single line in Illustrator in the length of the whole area and use the Effect > Transform > … to make live copies as muc as you need for each other line, same for the vertical line again. Save it as AI file. In InDesign import via File > Place…