From the jpeg2ps site,
jpeg2ps
is a utility for converting JPEG images to compressed PostScript Level
2 or 3 files (without uncompressing the images). The JPEG data is
simply »wrapped« with PostScript which yields
considerably
smaller PS files. jpeg2ps is a simple command line utility and
can be used on DOS, Windows, and Unix machines.
To install the program, go to the jpeg2ps homepage:
Click on the jpeg2ps-1.9.tar.gz link, which will download the jpeg2ps-1.9.tar.gz file. Next, create an appropriate directory to install jpeg2ps under /usr/local/src/jpeg2ps:
~>
sudo mkdir -p /usr/local/src/jpeg2ps
Move the source tarball to the
directory: ~>
sudo mv ~/Desktop/jpeg2ps-1.9.tar.gz /usr/local/src/jpeg2ps/.
Change into the jpeg2ps
directory: ~>
cd /usr/local/src/jpeg2ps
and decompress the source: ~>
sudo tar vfzx jpeg2ps-1.9.tar.gz
Once the package has been
decompressed, delete the source file, and change into the jpeg2ps
directory: ~>
sudo rm jpeg2ps-1.9.tar.gz
~> cd jpeg2ps-1.9
There is no configure file, so
the next step is to compile it:~> cd jpeg2ps-1.9
~>
sudo make
Once compiled, you can then
install it: ~>
sudo make install
Finally, source your ~/.tcshrc
file ~>
source ~/.tcshrc
and you are now ready to use jpeg2ps. If
you need help with the syntax, read the man page.


