I want to send the content of a TStringGrid to a printer. I've tried this:
Printer.BeginDoc;
sgStructure.PaintTo(Printer.Handle, 10,10);
Printer.EndDoc;
I must say: it works, but the result is about 2 x 2 cm !!! Un-readable. Do I
something wrong or is there a better way to print the content of a
TStringGrid?
Thanks,
Bert Prins
I use QuickReport.
"Bert Prins" <prin...@hotmail.com> schreef in bericht
news:3fba1dd9$0$58707$e4fe...@news.xs4all.nl...
--
With best regards, Mike Shkolnik
E-mail: mshk...@scalabium.com
WEB: http://www.scalabium.com
"Bert Prins" <prin...@hotmail.com> wrote in message
news:3fba1dd9$0$58707$e4fe...@news.xs4all.nl...
> I want to send the content of a TStringGrid to a printer.
Without going into details of how to fix it, what went wrong is
that you didn't correct for the resolution of the canvas.
Groetjes,
Maarten Wiltink
Yes, I also figured that, but could not see any obvious solution
- printing in Delphi is one of my weak points
- could you provide a pointer
"Bert Prins" <prin...@hotmail.com> schreef in bericht
news:3fba1dd9$0$58707$e4fe...@news.xs4all.nl...
Though you're not using QuickReport you might try Rave Reports, it's in the
components pallette. I haven't studied it yet but it looks very
professional.
Kind Regards Sander'
"Bert Prins" <prin...@hotmail.com> schreef in bericht
news:3fba1dd9$0$58707$e4fe...@news.xs4all.nl...