Thank you for your reply
this is a good solution too. thank you. i will, however, stay with the api solution from Sergey. if've tried throughout my app to use api alone.
thank you again!
>You already got your answer, but an alternative would be to use WMI:
>
>
>* loWMI = Getobject('WinMgmts:')
>loLocator = createObject("wbemScripting.swbemLocator")
>loWMI = loLocator.ConnectServer()
>loPrinter = loWMI.Get('Win32_Printer.DeviceID="\\\\print01\\Plan1"')
>? loPrinter.DriverName
>