Setup Your Environment to Read PDF


1. The Adobe Acrobat Reader
The application that is able to display PDF files is called the Adobe Acrobat Reader. It has already been installed at DAIMI in /usr/local/bin/acroread. (Otherwise it is freely available from Adobe.)
2. Configure Your WWW Browser
In case you use Netscape you should do the following:
a) Add the following line to the file called ".mime.types" located in your home directory (you might need to create the file):
   application/pdf pdf

b) Add the following line to the file called ".mailcap" located in your home directory (you might need to create the file ):

  application/pdf; /usr/local/bin/acroread %s

If you do not use Netscape, then you might want to consult Acrobat and Helper Applications from Adobe.

3. Configure X-Windows
In order to be able to print pages in the Acrobat Reader you need to add the following lines to the file called ".Xdefaults" located in your home directory:
  ! Acrobat Reader
  *acroread.lprCommand: /usr/local/bin/lpr
  *acroread.lprStyle: BSD
4. Configure the Acrobat Reader
Add the following lines to the file called ".cshrc" (or equivalent) located in your home directory:
  # For Adobe Acrobat Reader (mime.types, mailcap)
  setenv EXTENSIONMAPS /usr/local/lib
5. Restart X-Windows
To be sure that printing works you need to quit and restart X-Windows. (If you do not want to print pages from the manual yet, it is sufficient to quit an restart your WWW browser - at least if your use Netscape.)

Borrowed from the Design/CPN pages by Kaj Grønbæk