Printing content of DBGrid?

Is there a simple method of printing the content of a DBGrid? I tried to use a simple loop to get all the fields in all the selected rows in the Grid. I also tried to justify the fields in the textfile in order to get justified text on the printed paper. I found out that it wasn't easy to do it this way, is there another better way? I read that for some components  there is a Print-method (for example the rich-text memo)..

I use Delphi developer 2.0....

Erik N
Erik NAsked:
Who is Participating?
ZifNabConnect With a Mentor Commented:
Hi Erik,
Some programmers already made a component which prints a dbgrid:
Here are some examples: (D1)

Have a look.
c.u. ZifNab;

Erik NAuthor Commented:
Thank you for this!!!

Erik N.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.