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?
Hi Chris,
Thank you for contacting Infragistics Developer Support.
One thing that might be causing the issue is the printer drivers. Please update the drivers for all computers with the issue to the latest one for your printer. You should also check if all of the printer settings are identical on all of your computers. If that’s the case, please try setting the ClippingOverride property to ClippingOverride.Yes. You can do that in the InitializePrintPreview event using code like:
e.DefaultLogicalPageLayoutInfo.ClippingOverride = ClippingOverride.Yes
Let me know if these suggestion help you solve your issue.
I am looking forward to your reply.
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?
That is a good idea. I went ahead and did what you requested, and got the same result. However, my associate mentioned something and I believe he may have stumbled onto the issue.
It seems that the higher your resolution is, the smaller the text its going to print on the paper. I changed my resolution to a lower resolution, and this caused the size of the text to print bigger. Very strange. Thoughts?
I tried to reproduce this behavior with version 14.1 (14.1.20141.2035) on a Windows7 machine. I printed the grid once with 1280x1024 resolution and then with 800x600, and set the FitWidthToPages to 1 and both grids looked completely identical. What resolutions did you use to reproduce the issue? Can you please provide me with a small sample, which reproduces the issue?
Hi, i used 1920 X 1080 and 1680 X 1050. At this time, I do not have the time to create a small sample. I will try to provide on in the coming week or so.
-Chris
Hello Chris,
I am still following this thread. Have you been able to reproduce the issue in a separate sample? Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
Hello,
Thanks for following up, but at this time, i do not have the time to create a sample. Since changing the resolution worked, we have moved on until i can find some time to create a sample for you.
Thank you very much for the provided sample.
I have logged this issue in our internal tracking system with ID 177001 and also created a case for this - CAS-139346-N8P2S3. You can view your active support cases from the following link:
https://es.infragistics.com/my-account/support-activity
I was able to create a sample. I noticed that once i changed the window state of the main form, that is when i started having the issue.