I had seen a post about how to create lines but one of the Answers by Lemon was excellent.. He used the Shader Node Editor to create a Barcode Generator.
Here is the Link: How to make a barcode like stripes texture
I would love to be able to recreate this within the Texture Node editor. I tried to adapt it but it's not the same..