The line:
apt-get install foomatic-filters-ppd
Should be:
apt-get install foomatic-filters-ppds
--jamie