Yes that I got and looked in LookUpError and got message as

"Access denied". It means I am not able to get access to printer which is remote (as I am on LAN). But same time I tried printing a .doc file it prints.

What you about codes. I find it correct. Then ...?????