In response to the comment, it looks like you're encountering some of the ugly formatting problems that are caused by the incompatible mixture of different coordinate systems used by Mathematica. Since Grid is a formatting construct that adjusts itself to its environment, it's really hard to freeze the shape of a grid in place for further manipulation and in particular for Export.

Instead of worrying about the fragility of the lengths scales in Grid, I would suggest that you'll save a lot of time and effort by converting each grid in your problem to a graphics object before doing anything else with it. To do this in a way that prevents any changes in relative dimensions, I would do the following with your test grid:

First I define a helper function toPDF that converts any argument to PDF within the notebook, and apply it to grid1 from above. Then we export the grid of grids, but only after making sure that all the components (which are all grid here, but are now Graphics objects) have the same size in pixels, which I call itemWidth:

Now the result of the export is a PDF file grid.pdf with two pages where all component grids are exactly the same size. I chose itemWidth = 90 by hand so that it ends up small enough to allow four grids side by side on the output page, assuming letter size paper. You have to change that length scale depending on your needs.

The itemWidth is set by a replacement rule in which I look for Graphics objects and Show them with the desired size. Instead of this global replacement rule, you could also fine-tune the width of different component tables directly at the time when you define them, e.g., by setting

grid2 = Show[toPDF[grid2], ImageSize -> 100];

etc. Then you can leave out the replacement /. Graphics[x__] :> Show[Graphics[x],ImageSize -> itemWidth] above.

This is of course a less than optimal solution because I have to convert all component grids to graphics using toPDF. But that's just my standard response to problems with changing relative lengths (or fonts). It's just simpler than trying adjust a myriad of other lengths in the Grids to get the desired result in the final export, because I find it almost impossible to predict how Export changes the appearance of a Grid in general.

your code working fine...for testing,I wrote this code listOfGrids={Grid[{{grid1,grid1,grid1,grid1},{grid1,grid1,grid1,grid1},{grid1,g‌​rid1,grid1,grid1},{grid1,grid1,grid1,grid1}}],grid1} instead of your code like listOfGrids={grid1,grid1}.it's not working,actuvally listOfGrids have 2 elements but 5 pages are created after Exporting.how can I solve this?
–
subbuDec 28 '12 at 9:40

Mathematica is a registered trademark of Wolfram Research, Inc. While the mark is used herein with the limited permission of Wolfram Research, Stack Exchange and this site disclaim all affiliation therewith.