A label with text and a Code 128 barcode
^FO positions a field, ^A0N sets the font height, ^BY sets the bar width and ^BCN draws a Code 128 barcode with its value printed underneath.
^XA ^FO50,50 ^A0N,40,40 ^FDHello World^FS ^FO50,120 ^BY2 ^BCN,100,Y,N,N ^FD123456789^FS ^XZ