Quote:
<Printer BIXOLON>
UUID urn:uuid:6b4abb5d-c3b3-3eee-4923-a6128aefe38a
Info BIXOLON SRP-350II
Location test1
DeviceURI usb://BIXOLON/SRP-350II?serial=00000001
so this is a small portion of it. If you can see Printer is 4 lines below our matched text 350II. In some workostation is 4 below,. some 5, etc.
So maybe idea is to find <printer below it, and then with sed or awk get just BIXOLON. Some pseudocode maybe is: Find printer tag below matched string.