This was the function call you previously posted.
code:
mapprinter($PRServer,$PrinterName)

This shows 2 parameters. What is your current code?
_________________________
Home page: http://www.kixhelp.com/hb/