my order is different:
1) finally read the Howto USE udf's thread
2) click on the link posted before to obtain the addprinter() udf
3) place it in your script file
4) use it as any normal kixtart inbuild function

but yours is fine
_________________________
!

download KiXnet