Question about Paper Size
Hi,
I'm Report Builder's new user.
What can I do to know what kind of paper was
selected by the user before the print.
I have been looking the "Tech Tip: Controlling the Printer",
but using "myprinter.showsetupdialog" doesn't show the
page range to print.
Can you help me ?
RB Std 6.03
Delphi 5 pack 1
Windows ME
Epson Stylus color 777
Thank you.
Romano X. Pittas
rxp@pobox.com
I'm Report Builder's new user.
What can I do to know what kind of paper was
selected by the user before the print.
I have been looking the "Tech Tip: Controlling the Printer",
but using "myprinter.showsetupdialog" doesn't show the
page range to print.
Can you help me ?
RB Std 6.03
Delphi 5 pack 1
Windows ME
Epson Stylus color 777
Thank you.
Romano X. Pittas
rxp@pobox.com
This discussion has been closed.
Comments
of the PrintDialog. When then user changes the PrinterSetup, it is not
reflected in the Report's PrinterSetup, unless Report.SavePrinterSetup is
true. When SavePrinterSetup is true, then the changes the user makes to the
PrinterSetup will be reflected the next time the user prints from the
current instance of the Report. To access the PrinterSetup the user has
entered, perform the following in the Report.OnPrintDialogClose event.
uses
ppPrintr;
procedure TForm1.ppReport1PrintDialogClose(Sender: TObject);
begin
TppPrinter(ppReport1.PrintDialog.Printer).PrinterSetup;
end;
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Thank you, your reply was very helpfull.
Regards,
Romano.