[Last Call] Learn how to a build a cloud-first strategyRegister Now


modified Page Setup and Print Dialogs

Posted on 2004-11-07
Medium Priority
Last Modified: 2010-04-05

I want to create an Delphi 6 Ent. application which have to print some data as on a Matrix as on a Laser printer.

So I want to create a modified Print Dialog with a Page_Setup Button and a Printer_type Checkbox. If Checkbox is checked then my Matrix's page setup dialog appears when user click on a Page_Setup Button.
If checkbox is not checked then standard Page Setup dialog appears  when user click on a Page_Setup Button.

I use Free Dialog WorkShop ver 1.4 to create a custom Print Dialog with a Page_Setup Button and a Printer_type Checkbox.

But there is NOT Page Setup Dialog in a free edition of  Dialog WorkShop ver 1.4.

So I have decided to use G.M. Wolsink's RichPrint Component with PageSetup dialog.

Can anybody help to modify this PageSetup Dialog?

I want to remove the Printer Button from it and move Ok and Cancel Buttons at the right .

1. User click Print
2. Modified Print Dialog appears (with a Page_Setup Button and a Printer_type Checkbox)
3. User can select printer to use.
4. User can choose the type of selected printer
5. User can click on Page_Setup Button.
6. If Printer_type Checkbox is not checked a modified Page Setup Dialog Appears (without Printer Button, because the user selected the printer in step 3)

Any suggestion?

Question by:pmarkov
LVL 12

Accepted Solution

Ivanov_G earned 1500 total points
ID: 12519374
some of the things can be done using TPrinter class.

uses ..., Printers;

  Printer  : TPrinter;
  Printer := TPrinter.Create;

Author Comment

ID: 13348526
Thanks. But this is very superficially.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month17 days, 14 hours left to enroll

829 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