Thank you for showing your interest in HP Support Forums. It is a great place to find the help you need, from other users, HP experts, and other support personnel. For you to have the best experience on the HP forum, you could also visit our HP Forums Guide for First Time Here? Learn How to Post and More.
As I understand you are unable to print unless you open/close the printer top on your HP printer. Don't worry we'll work together to find a solution for you,
To help you better, could you provide me with the Model number of the printer and the Operating System installed on the PC? If you're not sure how to find that information, please click here for the instructions.