Hi

How do I resolve my problem if there are more printers
to be assigned to the same location as the access point (BSSID) when you write that each [SECTION] in a. ini must be unique?

Can I, as described above in the article use a Printer.txt file
instead containing the variables to be used for mapping my printers.

And here use Printer.txt to search from start to finish and find out what
printers to assign clients if the BSSID in the Printer.txt file is
identical to the access point (BSSID).

I have tried to start a script, first in the article, but it do not works
it stops if the $bssid is not equal to $mac, and then hangs
in the same line without continuing to the end of the file?

Surely it is possible to isolate these variables for use in KIX script
or what?

Printer.txt
BSSID;location;printer share;group membership;printer model info
00:1B:3F:8E:CD:21;Location1;Laserjet1;Teacher;HP LaserJet 5550
00:1B:3F:8E:CD:21;Location1;Laserjet2;Students;HP LaserJet 4500
00:17:08:22:0B:C3;Location2;Laserjet3;All;HP LaserJet 1320

etc....

What should I do to get it to work, when I can not use a a true INI format.

NB:
If only one printer is mapped, should this be set to default, if there is more than on printer, the last should be set as default.



Sincerely,
roundup