Hi Maciep
Thanks for the quick reply!

To be honest, I haven't understood your code (yet) but I keep trying...
...Tomorrow in the office (almost 10pm now)

Basic target is the following loop for addding printers (and thus using the variables $NPrinters defined above).
My ancestor did this with an IF clause for each net which I find - at least - improvable.

best regards from cool Switzerland,
Hanspeter