#159884 - 2006-03-28 09:33 AM
different options per iprange
|
Blubba
Fresh Scripter
Registered: 2006-03-27
Posts: 7
|
Hi there,
i've got a question about how i'll be able to give specific printers per iprange.
i've already tried something like:
function isiniprange($ipaddress,$iprangearray)
$ipaddress=@ipaddress0 $iparray[0]=10.18.132.0/254 if ISINIPRANGE($ipaddress,$iparray) ADDPRINTERCONNECTION ("\\nl-lee-gs01\prn0301") endif endfunction
ipexamples are 10.10.34.0 to 220 (first iprange) 10.10.35.0 to 220 (second) and so on...
i already looked to a number of posts but they only contain scripts of how to give 1 thing to 1 specific iprange.
what i'm trying to get is to have 4 specific ipranges and to have specific printers being added per iprange.
could someone help me?
(btw sorry for the english.. )
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 492 anonymous users online.
|
|
|