Solved

Printing a form

Posted on 2004-09-02
5
195 Views
Last Modified: 2010-05-18
Dear Experts
I wanna print a form which it size is big and need a scroll to show the contents of the form. For ex. "Weight:=1000;" and "Height:=2000;". I cann't  increase the resoulation.When I use "Form1.Print" it's printed but it isn't right because the form isn't printed completely. Do you know how I can print a big form?
0
Comment
Question by:shaasousaa
5 Comments
 
LVL 22

Expert Comment

by:Ferruccio Accalai
ID: 11962242
try setting form1.printscale to poPrintToFit, and then call form1.print
0
 
LVL 5

Accepted Solution

by:
Voodooman earned 50 total points
ID: 11962598
Hi

Printing a form is a very bad idea.

For one thing, screen resolutuon is only 96 d.p.i. whereas the worst printer you can buy is probably 300 d.p.i. and a cheap printer will probably be 1200x600 d.p.i.

You should create a report - there are various reporting tools free with different versions of Delphi (ReportSmith, Quick Report and Rave Reports [a dog if ever I saw one...).

Try Fast Report Free Edition. http://www.fast-report.com/

This will resolve your problems - forget printing forms - you can do it but nobody does....

Voodooman

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question