Edit your report, put a TsctImageLabelcontrol to your report in order to present the barcode symbol.
Put a barcode component, such as the TBarcode2D_QRCode, TBarcode2D_PDF417, and TBarcode2D_RSS14 to your form that the TsctReport component is in it.
Also, put a TDBBarcode2D component to the form and link the TBarcode2Dcomponent to the TDBBarcode2Dcomponent if the database support is required.
Create the OnBeforePrint event function for the TsctImageLabel control.
In the event function, change the properties of the TBarcode2D component such as Barcode, Module, and Orientation, and adjust the bitmap size of the TsctImageLabel control in order to accommodate entire barcode symbol, then use the DrawTo method of the TBarcode2D component to draw the barcode symbol to the TsctImageLabelcontrol.
AWidth, AHeight, ASymbolWidth, ASymbolHeight: Integer;
Barcode2D_QRCode1.Barcode := '1235678';
Barcode2D_QRCode1.Module := 1;
Barcode2D_QRCode1.DrawToSize(AWidth, AHeight, ASymbolWidth, ASymbolHeight);
with SctImageLabel1.Picture.Bitmap do
Width := AWidth;
Height := AHeight;
Barcode2D_QRCode1.DrawTo(Canvas, 0, 0);