 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Rene Michael Guest
|
Posted: Wed Sep 24, 2003 6:15 pm Post subject: QR papersize problem. |
|
|
Hi,
I'm using QR in my program, and when designing reports, the standard setting
for paper.papersize is "A4".
Now this works fine in Europe, but my US users are complaining... They want
a setting of "Letter" instead.
In a beforeprint event I can switch it - but how do I get the papersize
setting from the default windows printer?
I have tried the following code:
with TQRPrinterSettings.Create do
begin
Printerindex:=-1;
frm_rpt_port.Page.PaperSize:=PaperSize;
frm_rpt_port.Page.Orientation:=Orientation;
frm_rpt_port.PrinterSettings.Copies:=Copies;
Free;
end;
or
frm_rpt_port.Page.PaperSize:=frm_rpt_port.PrinterSettings.PaperSize;
But they always seem to return "Letter" even though I change the printer
setting in windows.
So how do I get the correct printer setting from window, so that I can set
QR to use the setting from the windows standard choosen printer?
Regards, Michael.
--
- - - -
Do they know your economy - and what more?
- Keep your investments private with Amateur Invest:
www.amateur-invest.com
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|