How do I print barcodes using Epson TM-U220B printer using Arduino?

I use the library "GitHub - signalwerk/thermalprinter: A Library to control an Epson TM-T88II thermal printer (microprinter) by an arduino via serial connection" for normal writing already can, but if printing barcodes can't, is it ever using Epson tm-u220b printer to print barcodes?

Is that print made with exactly the example sketch from the library?

In that case your printer doesn't support barcode printing.

The datasheet for the printer (https://www.allbarcodesystems.com/wp-content/uploads/2016/08/Epson-TM-U220-Series.pdf) doesn't say anything about barcodes but DOES indicate that it has a graphics character set which may be able to render barcodes.

That library is for the Epson TM-T88II Pos Thermal Receipt Printer which has a barcode mode. On the TM-U220 you will have to use the graphics characters to draw barcodes.