Link to home
Start Free TrialLog in
Avatar of bubba50
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
Avatar of Erick37
Erick37
Flag of United States of America image

Make sure that the .Font property is set to a font which is installed on the system, and is a supported size.
Avatar of bubba50
bubba50

ASKER

already have on code page:
           grdIndivItemStats.Font = "Arial"
           grdIndivItemStats.Font.Size = 11
(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!
ASKER CERTIFIED SOLUTION
Avatar of mark2150
mark2150

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Éric Moreau
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