Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PrinterSetupDialog (not functioning)

Status
Not open for further replies.

guava65

Programmer
Jul 20, 2001
238
US
Using Delphi 5I created reports using QReport. The reports work fine. I discovered that while I can change the destination printer and can print to any printer on the network, I cannot change any of the settings for that printer.

I've tried changing the paper source, paper destination, and nothing happens.

Is there something I've missed?

i tried executing a PrinterSetupDialog to make the
changes first, then print the report but this had no
effect.

Mahalo,
cg
 
hi,

most of the settings are also properties of Qreport. So if you want to change something you also have to change the properties of qreport. For example The papersize if defined in Qreport. This setting will overrule the papersize of the printersetup.

Steph
 
I've tried this. The actual paper size I'm printing to is 8-1/2W x 5-1/5 long. I've used custom and statement sizes in the QReport.

The problem I'm having is that no matter what the destination printer, I cannot change any of the default settings even if they appear in the dialog box.

[profile] For instance: I want to print a page and send it for secure printing. From other programs I;

1) click secure print in the printer dialog;
2) click OK;
3) Enter a password for the print job;
4) click OK to print.

If I go through the same exercise in Qreport, no changes register. This happens no matter what changes I make.

Am I suposed to put in some code to accept the changes from the dialog box?

I've never had to use a dialog box in the past so I am unfamiliar with the requirements to accept changes (if any).

THANK YOU FOR YOUR HELP Mahalo,
cg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top