To Nico Cizik
Hi,
Sorry for my insistence, you can read my last message, when I print my
report (PaperWidth=8.5" and PaperHeight=7") the Report Builder extracts the
size that this stored in the custom paper of the printer.
The paper size Stored is (PaperWidth=5.10" and PaperHeight=11")
My Solution is:
Event OnBeforePrint from my report:
procedure TForm1.ppReportBeforePrint(Sender: TObject);
begin
(Sender As TppReport).PrinterSetup.PaperWidth:=8.5;
(Sender As TppReport).PrinterSetup.PaperHeight:=7;
end;
My Question is why RB don't change this size...
Thanxs.
please answer me
Sorry for my insistence, you can read my last message, when I print my
report (PaperWidth=8.5" and PaperHeight=7") the Report Builder extracts the
size that this stored in the custom paper of the printer.
The paper size Stored is (PaperWidth=5.10" and PaperHeight=11")
My Solution is:
Event OnBeforePrint from my report:
procedure TForm1.ppReportBeforePrint(Sender: TObject);
begin
(Sender As TppReport).PrinterSetup.PaperWidth:=8.5;
(Sender As TppReport).PrinterSetup.PaperHeight:=7;
end;
My Question is why RB don't change this size...
Thanxs.
please answer me
This discussion has been closed.
Comments
Where are you setting the initial paper size? If you print to a different
printer does it still try to print the wrong size? This may be a special
case for this printer. If you look at the printer settings from the report
print dialog are the settings changed in there?
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
With Report Builder Designer
print the wrong size?
8.5" x 7"
If you look at the printer settings from the report print dialog are the
settings changed in there?
the printer don't have size in "Custom Paper"
I am still unclear where the printer is getting the values 5.1 x 11 for the
Custom Papersize. Is this paper size defined by the printer as the default
custom paper size? If this is the case and ReportBuilder is not overriding
these default settings, it may be a printer issue. Try printing to a
different printer and see if you get the same results.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
size?
No
I have other report with this values (5.1 x 11)
Now I'm very confused.... Please explain to me in detail exactly how your
application is supposed to work from start to finish, including the problem
area. Thanks.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com