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

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