Solved

Printing Databases

Posted on 1998-08-03
10
152 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

813 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

17 Experts available now in Live!

Get 1:1 Help Now