Re: why is the printed form so SMALL?

Posted by webmaster Guido on January 09, 2004 at 20:46:23:

In Reply to: why is the printed form so SMALL? posted by oatmealface on January 04, 2004 at 04:07:18:

: printing in Delphi is easy! everyone says so.

: so why is it that when i command it to print a form, the resulting form is about 5x8 cm in size? everything is microscopic! ecch!

: printing code i've looked at is massively complex. i don't really want to try to digest someone else's huge code that i don't need 99% of. what do i have to do to complete this EASY task?

Well, printing in Delphi is NOT so easy if you print anything else then plain text...

When you print graphics, you have to take into account the resolution of the printer (in dots-per-inch, DPI). A 600 DPI printer will print a 600x600 pixels image as only 1 inch x 1 inch!

So, you have to scale the image.

There are interesting messages and solutions for printing with Delphi on the DelphiLand Forum. You can do a search with the keyword "print" on our search page at

[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]