Text on a Curve>Mesh
Just unwrap the black cable and add the text as an image texture.


Add seams to the cable - two around (to cut it from the rest), and one straight (to make it flat).
Connect and position the image texture (either by moving the UV or using the Mapping node)
Done.


You'll need at least three seams here, to unwrap it flat.