Solved

Printing Databases

Posted on 1998-08-03
10
153 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

 
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
 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

820 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