Here's a handy SAPScript code snippet to print barcodes using a print control.
/
/ : PROTECT
/ Print Barcodes Here (This text line is needed before the barcode print-control prefix)
/ : PRINT-CONTROL SBP29
= 1234ABCDEF
/ : PRINT-CONTROL SBS01
/ : ENDPROTECT
/