Quote:

I can write an other vbs script to analyse a get all i need




I must be missing something here. If you can do this with VB, why can't you do the registry read/export as well?

I take it you want the printer name, not ALL the data contained in those strings.

There are UDFs that will do this for you or allow you to easily get what you want.

Take a look here for sorted lists of UDF functions.

http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=126821&page=0&view=collapsed&sb=5&o=&fpart=1