Changes
no edit summary
A full installation of Slackware already comes with Ghostscript, Ghostscript Fonts, CUPS, and foomatic-rip, so you'll only need to install pnm2ppa and the corresponding CUPS PPM driver for your printer. You can download the latest version of pnm2ppa from [http://sourceforge.net/projects/pnm2ppa/ their SourceForge page].
You'll need to change the Makefile so that the binaries are installed to the right place.
Old version of Makefile:
Makefile after necessary changes:
After this, compilation and installation should be pretty easy:
Now, you need the corresponding PPD file for your printer, which you can get from the [http://www.linuxprinting.org/show_driver.cgi?driver=pnm2ppa PPD-O-Matic page]. The CUPS configuration for your printer will require this file.