Solved

Printing Databases

Posted on 1998-08-03
10
149 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

707 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

14 Experts available now in Live!

Get 1:1 Help Now