(Developer versions only.)
A call to this function with a valid serial number as the parameter string is required as the first call to the developer’s version of the component. In the absence of a valid serial number the component will behave as a testware version and produce defaced barcode images.
procedure TForm1.FormCreate(Sender:
TObject);
var
serial:
string;
begin
serial:='12345';
Barcode2Dun1.SetSerial(serial);
…….
end;
More: