Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
Devices
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Silent printing
rbuser
September 2002
edited September 2002
in
Devices
We're using RBPro7. Is it possible to perform some sort of silent printing?
We want to specifiy all printer settings at runtime and do not need any
preview or print dialogs.
Thanks,
Oliver Kr?cken
Comments
rbuser
September 2002
edited September 2002
How about set showPrintDialog to be false
rbuser
September 2002
edited September 2002
To the previous answer add
Set ShowCancelDialog to false;
--
Daniel Lemire
Programmeur,
Conception Design Ware Inc.
Tél.: 819-868-8853
Fax : 819-868-8855
rbuser
September 2002
edited September 2002
That was the first thing i have tried.....
...but the preview dialog always appears.
Any further suggestions?
Thanks,
Oliver Kr?cken
rbuser
September 2002
edited September 2002
Hi Oliver,
when working with templates you have to set these properties after the
template is loaded.
regards,
Chris Ueberall;
rbuser
September 2002
edited September 2002
this is done easily
to do this you should do the following :
with ppReport1 do
begin
// Template loading
// Printer assignments
with PrinterSetup do
begin
PrinterName := iniPrinterName;
BinName := iniBinName;
end;
DeviceType := dtPrinter;
ShowPrinterDialog := False;
Print;
end;
rbuser
October 2002
edited October 2002
I think that the better way is use ppReport.PrintToDevices and PrinterSetup
parameters you can set while disigning template.
"Marko" ???????/???????? ? ???????? ?????????:
This discussion has been closed.
Comments
Set ShowCancelDialog to false;
--
Daniel Lemire
Programmeur,
Conception Design Ware Inc.
Tél.: 819-868-8853
Fax : 819-868-8855
...but the preview dialog always appears.
Any further suggestions?
Thanks,
Oliver Kr?cken
when working with templates you have to set these properties after the
template is loaded.
regards,
Chris Ueberall;
to do this you should do the following :
with ppReport1 do
begin
// Template loading
// Printer assignments
with PrinterSetup do
begin
PrinterName := iniPrinterName;
BinName := iniBinName;
end;
DeviceType := dtPrinter;
ShowPrinterDialog := False;
Print;
end;
parameters you can set while disigning template.
"Marko" ???????/???????? ? ???????? ?????????: