home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25391 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  2.0 KB

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