Solved

Printing Databases

Posted on 1998-08-03
10
151 Views
Last Modified: 2010-04-04
This will be a moot point by  August 14th, so if you want to answer, please hurry!
I'm fairly new to Delphi (2.0), and I am looking for a simple straightforward way to print out my databases. I can view them fine on screen, but I haven't yet found a no-fuss method of printing what I see straight to the printer. QuickReport is a bit confusing to me right now, so some hand-holding and guidance would be appreciated!
0
Comment
Question by:kkvd
  • 5
  • 5
10 Comments
 

Author Comment

by:kkvd
ID: 1359624
Edited text of question
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1359625
If you really are in a hurry, then I suggest to look for a DBGrid print component :

Here are some :

 www.torry.ru/vcl/grids/oddataprn.zip (10$)
 www.torry.ru/vcl/print/lptgrd.zip (25$)
 www.torry.ru/vcl/print/printrec.zip (FWS) prints current record of datasource
 www.torry.ru/vcl/print/pageprnt.zip (FWS) GREAT component! But print table = beta release, maybe you can fix it in a short time! Benifit : full preview and great print component for FREE.

Regards, Zif.

We can offcourse guide you with QR, but then you've to give us the layout, ...


 
0
 

Author Comment

by:kkvd
ID: 1359626
ZifNab,

Thanks for the sites, but for several reasons I must do my printing within the bounds of Delphi (no "cheating" - others will take this stuff and add to it without the benefit of my third-party additions). I'm afraid I'll have to do it the hard way.  Tell me what you need and I'll e it to you.  I'll up the points some, too. (Hope I'm not being too stingy with them...)

K
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1359627
kkvd,

with these components it will still be within the bounds of delphi, because this are components! you make your program in delphi with components? not? Well, these are own -made components (just like the TDBGrid component), place them on your form and up you go. It are all Delphi components = made with delphi source- code.

If you still want to do it with more programming, then we best use QR? or do you have a better idea? Next give me a sample of your database, what has to be printed, etc.

Zif.
0
 

Author Comment

by:kkvd
ID: 1359628
Hi Zif!

Got my report figured out in ReportSmith, and now all I need to do is get the thing to print in landscape instead of portrate. Then I'm done!  I'm using the basic print command for tReport...

K
0
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.

 
LVL 8

Expert Comment

by:ZifNab
ID: 1359629
kkvd, you do know that Reportsmith is an add-on... (I thought you didn't want that) QR isn't a add-on.
0
 

Author Comment

by:kkvd
ID: 1359630
Okay, to clarify yes, I understand it isn't pure Delphi code, but my real intent is to keep it within the bounds of what is supplied with the installation cd, that's all.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1359631
Which version are you using of D? Delphi 2.0 ships with QR.
0
 

Author Comment

by:kkvd
ID: 1359632
ReportSmith v.3.0.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 70 total points
ID: 1359633
kkvd,

QuickReport is shipped with the CD from D2 ... it's pure Delphi code.

To answer :

1.Choose File | Page Setup. The Page Setup dialog boxappears.
2.Specify page size, orientation, and margins as desired, then choose OK.

Regards, Zif.
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

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…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

24 Experts available now in Live!

Get 1:1 Help Now