If you have this problem with your CUPS and HP printer:
try to resume your printer.
1. Open your favorite browser,
2. open url: http://localhost:631/printers/,
3. select your printer by clicking on it,
4. from Maintenance dropdown box select Resume Printer,
5. type your username and password,
6. and you are ready to print.