For many old laser printers specially HPs, there is no dedicated driver for Windows 7. From HP website, I only could find the universal driver which I don’t like. Actually there are alternate print drivers we can use from Windows update, here is how:

Generally when you click the “Back” or “Forward” button on the browser, the page won’t refresh unless you tell the browser not saving the cache for it. To implement “Disable Browser Cache” for specific page in ASP.NET MVC 3, just simply use the “OutputCacheAttribute” from MVC 3 framework:

After I upgraded Ubuntu to 14.04 LTS, the HP LaserJet 1020 printer stopped working mysteriously, whatever print job sent to the print, it returns “job completed”, but has nothing to print out. I noticed the HPLIP driver has been used for the printer by default, but it didn’t work either even I changed the driver to foo2zjs via CUPS web interface.
After googled quite a while, I finally figured out that the foo2zjs package included in Ubuntu has some issues, as well as the HPLIP package. I decided to remove both of them out, and use the correct foo2zjs driver. See below for how:

Remove HPLIP package (if you had installed it manually, refer here for uninstall)

Shell

1

sudo apt-getremove hplip

Get and install foo2zjs package from official site

Shell

1

2

3

4

5

6

7

8

sudo apt-getinstall build-essential tix foomatic-filters groff dc

wget-Ofoo2zjs.tar.gzhttp://foo2zjs.rkkda.com/foo2zjs.tar.gz

tar zxf foo2zjs.tar.gz

cdfoo2zjs

make

sudo makeinstall

sudo makeinstall-hotplug

sudo makecups

Get HP LaserJet 1020 firmware files, and copy the files to system firmware folder. (use “1018” instead of “1020” for LaserJet 1018 printer)

Shell

1

2

./getweb1020

sudo cpsihp1020.*/lib/firmware/hp/

Installing “foomatic-filters” may remove some CUPS packages, you can reinstall the CUPS or do it when you have problem in step 6

If you noticed one or more shortcut icons are not displaying correctly on your Desktop for Windows 7 like below, the reason probably is your icon cache corrupted.
To rebuild the icon cache without reboot your computer, you can follow the steps below: