bubba50
asked on
printout quality of MSFlexgrid & text box
Inherited a VB5 project, now running on Windows NT4, that used TextBoxes and FlexGrids to generate reports.
The print quality of fields using text box and flexgrid is horrible -- appears like a dot matrix generated field instead of the usual crisp image that a HP LaserJet usually produces.
Originally the project was designed for Win NT3.x that required use of text box for word wraping. When we upgraded to Win NT4, I changed text box to lables and solved this print quality problem.
FlexGrid is used to sort the data by several criteria (greatest strengths, greatest needs, etc); the FlexGrid does a nice job, but the printed reports look "cheap". Is there an alternative to FlexGrid that produces good print quality reports, or am I missing a setting or some other code?
Thanks in Advance, brian
The print quality of fields using text box and flexgrid is horrible -- appears like a dot matrix generated field instead of the usual crisp image that a HP LaserJet usually produces.
Originally the project was designed for Win NT3.x that required use of text box for word wraping. When we upgraded to Win NT4, I changed text box to lables and solved this print quality problem.
FlexGrid is used to sort the data by several criteria (greatest strengths, greatest needs, etc); the FlexGrid does a nice job, but the printed reports look "cheap". Is there an alternative to FlexGrid that produces good print quality reports, or am I missing a setting or some other code?
Thanks in Advance, brian
Make sure that the .Font property is set to a font which is installed on the system, and is a supported size.
ASKER
already have on code page:
grdIndivItemStats.Font = "Arial"
grdIndivItemStats.Font.Siz e = 11
(and Arial is a standard font that is installed on this computer; 11 is supported)
grdIndivItemStats.Font = "Arial"
grdIndivItemStats.Font.Siz
(and Arial is a standard font that is installed on this computer; 11 is supported)
How is the FlexGrid being printed? If you are sending the FlexGrid to the printer as an Image, it WILL be grainy.
To solve this problem you will need to format the print yourself by going to each cell and printing it to the printer...
Cheers!
To solve this problem you will need to format the print yourself by going to each cell and printing it to the printer...
Cheers!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There are 3-party grid products our there that have a Print method that does its job very well. I often use Sheridan DataWidgets.
You can download a trial from www.shersoft.com
You can download a trial from www.shersoft.com