Hello All,
I have an ultragridprintdocument that prints a grid using the UltraPrintPreviewDialog. I have noticed that when printing from different computers will produce different size text (from some computers, the text of the rows is bigger, while from others it is smaller and hard to read). Comparing samples both print jobs have the same margin, its just the row size and text size differ. Has anyone seen this behavior before?
Mike, that is correct, i am setting the FitWidthToPages to 1. I also thought maybe the margins was the issue, but if you look closely at the printouts, the margins are exactly the same.
It looks to me like the grid is scaling the printout down to fit on one page. You are probably setting FitWidthToPages to 1. So the grid is shrinking the contents to fit on one page. It's the same printer, so the page size should be the same, but one of the machines might have the default printing margins set up larger so there's less available area on the printed page.
Both texts are changing
I am using the standard Microsoft Sans Serif font.
I have attached scans of the print job from the 2 different computers.
Which text is changing? The text in the cells or the headers, or both?
One possibility is that you are using a particular font for the text in the grid and that font does not exist (is not installed) on one of the machines. So the DotNet framework will fall back to some other font, which might appear different. This would, of course, cause the font to display differently on the screen, as well, but it might be subtle and maybe you just don't notice it as much. Do you know what font you are using?
Does the font difference show up in the print preview, too, or only when printing? If it's in the print preview, then can you post a couple of screen shots so we can see what it looks like on each machine?
Dimitar, Thanks for the quick response.
I have verified the drivers are the same and the settings are all the same. I have also attempted to use the code provided, with no affect. I am not able to duplicate the issue, with 2 different computers printing to the same printer with the same settings, but the font and row size are different. Any other ideas?