This problem can arise due to various reasons ranging from connectivity issues to faulty configurations or drivers. If you are facing any such problem, the following troubleshooting guide will help you get rid of your printer won’t print problem.
How to troubleshoot hp printer problems.