What does VarTypeName($Printer) return? You may a problem somewhere else in your program that is not populating the variable.
_________________________
Home page: http://www.kixhelp.com/hb/