bandita
Mar 9 2006, 12:45 PM
whitout dialog box.
how can select the printer for the d5 program?
gordk
Mar 10 2006, 04:23 AM
typically
frxreport1.Printoptions.printer := integer;
which is the indexvalue of printer in printerslist
msalinas
Mar 10 2006, 02:15 PM
Hi,
I use this code:
if frxReport1.PrepareReport then begin
frxReport1.PrintOptions.ShowDialog := False;
frxReport1.Print;
end;
Regards.
bandita
Mar 16 2006, 04:05 AM
ok. i set this parameters, but i see the dialog box.
DataModule1.Query1.Active:=true; <this is the data
form1.frxReport3.LoadFromFile('dmeai.fr3'); <<this is the report file
if Form1.frxReport3.PrepareReport then
begin
Form1.frxreport3.Printoptions.printer := Edit4.text; <first try strtoint(edit4.text) but not good
form1.frxReport3.PrintOptions.ShowDialog := False;
form1.frxReport3.Print;
end;
i not use any frx****.pas file from source directory? this is the problem?
xiaomaoxia
Mar 16 2006, 07:13 PM
up
bandita
Mar 17 2006, 11:43 AM
???
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.