Thanks !

I have tried your scrip.
There is a error in the Line:
if left(split($printers[$counter],",")[1],3)="LPT"
ERROR : invalid method/function call: missing required parameter 2!

if I read your code correctly, the you serch only ports that begins with LPT. As I can find USB printers and exclude Adobe writer (is a "Printer" to)?

Thanks for your help!


Edited by Burger_Reto (2004-08-06 07:08 PM)