Code:
Function Name_of_UDF($parameter 1, $parameter2, optional $parameter3)
EndFunction



This will never work, This isn't a function at all!

Please read the whole thread again.

First: Search the board for addprinter() and don't modify this UDF..
Second: Tell us how your other printers are connected, Do you use a printserver??
Read the URL I have posted before...

Etc.

_________________________
Co