Solved

Printing a form

Posted on 2004-09-02
5
193 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't connect to Outlook via TOutlookApplication component 15 123
proper way to parse url in delphi 2 168
Simple Delphi Question 9 83
Adoquery sql  left join does not work 25 81
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now