Controlling the grid to a specific number squares by a specific number of squares requires a combination of creating the grid appearance you want and adjusting the page settings.
If the grid you want to create has a relatively small number of rows and columns, the simplest approach is to —
For example, let's create a 5x5 grid with 10 squares to the inch, with the grid centered on the page.
Want to get fancy?
Being able to create just exactly the graph paper you need is what makes GridMaker and QuiltPaper so powerful. Being able to control the print settings makes them unique.
One final thought — Here's a unique way use the Custom paper option to control printing.
Below, the primary grid size was set to 1”. Then, in Page Settings 'Custom' was chosen for page size and set to 38” x 48”. This created a grid with 37 x 47 squares with 1/2” margins. Of course the grid will be scaled when it is printed on regular sized paper, so you may need to play with the paper size and margins to avoid cutting off part of the grid.