home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / ultrix / 5873 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  2.5 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!wupost!sdd.hp.com!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
  2. From: taluskie@ccwf.cc.utexas.edu (Vince Taluskie)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: Looking for Accounting Filter for Postscript
  5. Message-ID: <76515@ut-emx.uucp>
  6. Date: 24 Jul 92 16:32:35 GMT
  7. Article-I.D.: ut-emx.76515
  8. Sender: news@ut-emx.uucp
  9. Organization: Institute for Fusion Studies, UT-Austin
  10. Lines: 62
  11. Originator: taluskie@daisy.cc.utexas.edu
  12.  
  13. Hi ,
  14.  
  15. I've been working on getting printer accounting working on some of my
  16. departments machines.  Right now, I'm stuck on an DecStation 5000 running
  17. Ultrix 4.2 (rev 96).
  18.  
  19. The problem that I'm having is finding a accouting filter (if in /etc/printcap)
  20. that is smart enough to deal with postscript that is being printed via a 
  21. serial line to an Apple Laserwriter.
  22.  
  23. I've tried using ln03rof and found that on my machine it will print normal
  24. text files (and record an accurate page count).  But for postscript files
  25. it will print them while silently skipping writing an accounting record.
  26.  
  27. This is the case if I set Da=ascii or postscript.
  28.  
  29. The other filter that I've tried is lpf which seems to just count the
  30. number of lines in a postscript file and change in that way, rather
  31. than find out (in some smart way) how many pages were actually
  32. printed.  On a sample one page text file , the filter recorded two
  33. pages as printed.  For an 11 page printout of a postscript file with
  34. 875 lines, it reported 15 pages printed....
  35.  
  36. Has anyone else out there found a better printer filter or can tell me which
  37. filter I should be using...the state of our documentation is pathetic.
  38.  
  39. Here is a copy of the relavent entry in /etc/printcap:
  40.  
  41. lp|lp0|0:\
  42.         :af=/usr/adm/lpacct:\
  43.         :br#19200:\
  44.         :ct=dev:\
  45.         :fc#0177777:\
  46.         :fs#03:\
  47.         :if=ln03rof:\
  48.         :lf=/usr/adm/lperr:\
  49.         :lp=/dev/tty00:\
  50.         :mc#20:\
  51.         :mx#0:\
  52.         :of=/usr/lib/lpdfilters/ln03rof:\
  53.         :pl#66:\
  54.         :pw#80:\
  55.         :rw:\
  56.         :sd=/usr/spool/lpd:\
  57.         :sh:\
  58.         :uv=4.0:\
  59.         :xc#0177777:\
  60.         :xf=/usr/lib/lpdfilters/xf:\
  61.         :xs#044000:\
  62.         :Da=postscript:
  63.  
  64. -----
  65.  
  66. Many thanks for whatever help you can lend,
  67.  
  68.  
  69. -- 
  70.         ___          "I am a great believer in Luck.  The harder I work, the
  71. | /      |                  more I have of it."    - Thomas Jefferson
  72. |/ ince  | aluskie _________________________________________________________
  73.  
  74. taluskie@ccwf.cc.utexas.edu, Physics Computer Group, UT Austin, 512-471-5821
  75.