How to install foo2zjs.tar.gz when website doesn't work

Solution 1:

You have to use a deb-package from official repository, install it with:

sudo apt-get install printer-driver-foo2zjs

Solution 2:

foo2zjs.tar.gz contains a source code that can be get from git repository (https://github.com/koenkooi/foo2zjs) as well.

Instructions that use this archive usually state to download this archive, extract it and then make from it, something like this:

wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
tar zxf foo2zjs.tar.gz
cd foo2zjs
make

By using GitHub repository as a source, just run following:

git clone https://github.com/koenkooi/foo2zjs.git
cd foo2zjs
make

Also, since source code from github already contains all firmware images, there is no need to run

./getweb 1018 # or some other printer