Need help with lpstat command

Hi

lpstat reports me "Failed to contact service for xxxxxx: not-found"

lpstat -p test -l
printer test unknown state. enabled since Oct 27 12:01 2009. available.
Remote Name: XXXXXX
Remote Server: sunsrv
Failed to contact service for xxxxxx: not-found

can someone help me what the above error means and where am i going wrong with my config.

Can you ping the server "sunsrv", is it listed in /etc/inet/hosts, NIS or DNS?
Can you telnet to port 515 on sunsrv (lpd)?
Does the printer queue "xxxxxx" exist on sunsrv.
What does running:

lpstat -h sunsrv -v

give you?