How to solve “The active directory domain service is currently unavailable” error?

I bought a new HP printer recently. I successfully connected the printer to my computer and installed the driver software. When I attempted to print a page of text from MS Office, the printer shows an error saying “The active directory domain service is currently unavailable”. Kindly help me in solving it.
