#142931 - 2005-07-05 11:51 AM
Re: delete all printers before connecting new ones
|
Kat
Fresh Scripter
Registered: 2005-06-22
Posts: 15
Loc: Melbourne - Australia
|
Thx, this all gets worse as I am not very good in scripting anyway. When I started I thought map some printers no problem and then I had to work out all kinds of stuff like how to determine in which subnet the user is ... Got that all running fine just cannot find I way to delete all printers first At least I am getting now 'cannot find printer' which is better than the one error before.
|
Top
|
|
|
|
#142940 - 2005-07-06 01:37 AM
Re: delete all printers before connecting new ones
|
Kat
Fresh Scripter
Registered: 2005-06-22
Posts: 15
Loc: Melbourne - Australia
|
Hi Lonkero,
got it going! All I needed to change on your function was the counter. It seems like the key numbering are going in .5 steps and not in 1. Therfore every second printer was skiped. I changed your counter $c=$c+0.5 and it works perfectly!
Thanks heaps for that! now I can start writing the rest.
Kat
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 369 anonymous users online.
|
|
|