 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ignacio Vazquez Guest
|
Posted: Fri Jul 25, 2003 10:21 pm Post subject: Re: Form Printing, Text jaggies (D6) |
|
|
"Jon Jacobs" <jqjacobs (AT) gte (DOT) net> wrote in message
3f21ac0b$1 (AT) newsgroups (DOT) borland.com...
| Quote: | When I use the Print method on my form, the Text has the jaggies. How can
I smooth it out? Note: I am only using True Type fonts.
|
I've never done it, but you can try using .PaintTo with
TPrinter.Canvas.Handle.
Cheers,
Ignacio
|
|
| Back to top |
|
 |
Jon Jacobs Guest
|
Posted: Fri Jul 25, 2003 10:43 pm Post subject: Re: Form Printing, Text jaggies (D6) |
|
|
Thank you. Actually, avoiding direct manipulation of a canvas was the reason
I was using form printing.
If I have to do it anyway, then I will just have to skip the form
altogether.
"Ignacio Vazquez" <ivazquezATorioncommunications.com> wrote
| Quote: | "Jon Jacobs" <jqjacobs (AT) gte (DOT) net> wrote in message
3f21ac0b$1 (AT) newsgroups (DOT) borland.com...
When I use the Print method on my form, the Text has the jaggies. How
can
I smooth it out? Note: I am only using True Type fonts.
I've never done it, but you can try using .PaintTo with
TPrinter.Canvas.Handle.
Cheers,
Ignacio
|
|
|
| Back to top |
|
 |
Peter Below (TeamB) Guest
|
Posted: Sat Jul 26, 2003 9:46 am Post subject: Re: Form Printing, Text jaggies (D6) |
|
|
In article <3f21ac0b$1 (AT) newsgroups (DOT) borland.com>, Jon Jacobs wrote:
| Quote: | When I use the Print method on my form, the Text has the jaggies. How can I
smooth it out? Note: I am only using True Type fonts.
|
The problem is that Print creates a bitmap image of the form, which is then
printed stretched to accomodate the difference in screen and printer
resolution. This stretching is what causes the result to have this blocky
appearance.
The best way to get around that is not to print the form, but the forms
*data*, using the printer canvas and its method, for example. Of course it is
more work, but every user that has tried to scroll the image of a memo on the
printout to see the missing lines will praise you for it <g>.
It is fairly easy to generate simple HTML in code, based on a template (using
TPageproducer). This has become my favourity way of creating reports, since
you can open the files in Word, Excel, IE, and leave the printing to them.
This way the user can even modify the reports before printing them.
--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be
|
|
| Back to top |
|
 |
Jon Jacobs Guest
|
Posted: Sat Jul 26, 2003 4:21 pm Post subject: Re: Form Printing, Text jaggies (D6) |
|
|
Thank you.
Hmm. TPageProducer. I'll keep that in mind.
Jon
"Peter Below (TeamB)" <100113.1101 (AT) compuXXserve (DOT) com> wrote
| Quote: | In article <3f21ac0b$1 (AT) newsgroups (DOT) borland.com>, Jon Jacobs wrote:
When I use the Print method on my form, the Text has the jaggies. How
can I
smooth it out? Note: I am only using True Type fonts.
The problem is that Print creates a bitmap image of the form, which is
then
printed stretched to accomodate the difference in screen and printer
resolution. This stretching is what causes the result to have this blocky
appearance.
The best way to get around that is not to print the form, but the forms
*data*, using the printer canvas and its method, for example. Of course it
is
more work, but every user that has tried to scroll the image of a memo on
the
printout to see the missing lines will praise you for it <g>.
It is fairly easy to generate simple HTML in code, based on a template
(using
TPageproducer). This has become my favourity way of creating reports,
since
you can open the files in Word, Excel, IE, and leave the printing to them.
This way the user can even modify the reports before printing them.
--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|