home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!fg70.rz.uni-karlsruhe.de!ig25
- From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig)
- Newsgroups: comp.os.linux
- Subject: Re: Problem with lpr/lpd solved?
- Date: 25 Jan 93 13:13:59 GMT
- Organization: University of Karlsruhe, Germany
- Lines: 35
- Message-ID: <ig25.727967639@fg70>
- References: <1993Jan23.112103.2473@mpifr-bonn.mpg.de> <GTAYLOR.93Jan24155850@jade.tufts.edu>
- NNTP-Posting-Host: fg70.rz.uni-karlsruhe.de
-
- gtaylor@jade.tufts.edu (Grant Taylor) writes:
-
- >i'm having the same problems... i can't for the life of me get it to
- >work... i set all the perms exactly according to the readme, and it
- >hasn't gotten me anywhere... i string|grepped the lpd binary, and the
- >only lpd in it is /usr/spool/lpd, so i made a link there figuring it
- >couldnt find it and that too didn't work...
-
- Well, I've got lpr working, sort of...
-
- The most important thing is the of=/usr/lib/lpf entry in the printcap file,
- which specifies the output filter to run the normal output through.
-
- If that file does not exist, or is not executable, nothing happens.
- I've put a short program there which maps most of the ISO characters
- >127 to their IBM-ASCII equivalents, so I can print out files with
- umlauts etc.
-
- Another thing which can cause problems for non - privileged users
- printing is the .seq file in the spool directory.
-
- When installing lpr, make sure to create it, chgrp it to daemon and
- make it mode 660, otherwise you're in for trouble.
-
- So far for the sucess, now for the problems:
-
- I couldn't get the df= printcap entry working to filter TeX output with
- lpr -d. I've installed a filter there (df=/usr/lib/lptex), where lptex
- contains a dvips | gs shell script that I use to print dvi output directly
- to /dev/lp1. Yes, it exists, it's executable and readable. However,
- I still see a "lpf -w132 -p66" entry lurking around with ps.
- --
- Thomas Koenig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet
- The joy of engineering is to find a straight line on a double logarithmic
- diagram.
-