Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
print multiple barcode types in the same report
rbuser
January 2004
edited January 2004
in
General
I need to print multiple label each one with a different barcode type (EAN
13, UPC A, ecc.).
is it possible to set ppDBBarCode1.BarCodeType:=bcEAN_13 for each label ?
Wich event must I use ?
Thanks a lot
Rodolfo
Comments
rbuser
January 2004
edited January 2004
the onprint event of the tppbarcode??
marc
rbuser
January 2004
edited January 2004
I have tried but seem the event is not fired...
my test code is:
procedure TForm1.ppDBBarCode1Print(Sender: TObject);
begin
ppDBBarCode1.BarCodeType:=bcEAN_13;
end;
a breakpoint over this assignment dont stop the execution.
"Marc Antheunis" ha scritto nel
rbuser
January 2004
edited January 2004
OK!!!
I load a template from a file.
It is sufficient to set:
ppReport1.Template.FileName:=nm;
ppReport1.Template.LoadFromFile;
ppDBBarCode1.OnPrint := ppDBBarCode1Print; <<<<<<<<<<<
ppReport1.Print;
And the event is correctly fired
Thanks.
"Rodolfo Rughi" <rork10001@mail.com> ha scritto nel messaggio
This discussion has been closed.
Comments
marc
my test code is:
procedure TForm1.ppDBBarCode1Print(Sender: TObject);
begin
ppDBBarCode1.BarCodeType:=bcEAN_13;
end;
a breakpoint over this assignment dont stop the execution.
"Marc Antheunis" ha scritto nel
I load a template from a file.
It is sufficient to set:
ppReport1.Template.FileName:=nm;
ppReport1.Template.LoadFromFile;
ppDBBarCode1.OnPrint := ppDBBarCode1Print; <<<<<<<<<<<
ppReport1.Print;
And the event is correctly fired
Thanks.
"Rodolfo Rughi" <rork10001@mail.com> ha scritto nel messaggio