Help - Search - Members - Calendar
Full Version: how to can directly printing whitout dialog box?
Fast Reports forum > Fast Reports Products > FastReport 3.0
bandita
whitout dialog box.
how can select the printer for the d5 program?
gordk
typically
frxreport1.Printoptions.printer := integer;
which is the indexvalue of printer in printerslist
msalinas
Hi,

I use this code:

if frxReport1.PrepareReport then begin
frxReport1.PrintOptions.ShowDialog := False;
frxReport1.Print;
end;


Regards.
bandita
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
up
bandita
???
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.