After reading your solution, I tried it on my HP LaserJet 3050 Printer. Using the default HP LaserJet 3050 driver, I could print Textedit, MS Word, and Emails but PDFs and Web Pages would not print. I did what you suggested and now everything prints:
1. Under the apple menu (upper left corner of the screen), go to System Preferences
2. Click on Printers and Scanners
3. If you have the HP LaserJet 3050 driver loaded, choose it, then click on the minus sign at the bottom to remove the driver
4. Click on the plus sign to add a different printer driver
5. The HP LaserJet 3050 should be shown in the Add Pop Up window
6. Click on HP LaserJet 3050
7. You will see "Use: HP LaserJet 3050" at the bottom with "up" and "down" symbols to the right. Click on it and choose "Generic PCL Printer" as the driver to use
8. Click the "Add" button to install the driver.
9. The driver should now be on the Printer and Scanner window
10. Choose the new driver and the 3050 should now be able to print PDFs and Web pages
If you have a nonfunctional HP printer and it is PCL capable, the solution should work. It may work on other brands as well so give it a try with the generic printer drivers instead of the specific printer driver.