A call to this function with a valid serial number as the parameter string is required as the first call to the component. In the absence of a valid serial number the component will behave as a testware version and produce scrambled barcodes. The scrambling results in RSS and Maxicode images that may not be scannable.
procedure TForm1.FormCreate(Sender:
TObject);
var
serial:
string;
begin
serial:='12345';
Barcode2Dun1.SetSerial(serial);
…….
end;
More: