home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!wupost!sdd.hp.com!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
- From: taluskie@ccwf.cc.utexas.edu (Vince Taluskie)
- Newsgroups: comp.unix.ultrix
- Subject: Looking for Accounting Filter for Postscript
- Message-ID: <76515@ut-emx.uucp>
- Date: 24 Jul 92 16:32:35 GMT
- Article-I.D.: ut-emx.76515
- Sender: news@ut-emx.uucp
- Organization: Institute for Fusion Studies, UT-Austin
- Lines: 62
- Originator: taluskie@daisy.cc.utexas.edu
-
- Hi ,
-
- I've been working on getting printer accounting working on some of my
- departments machines. Right now, I'm stuck on an DecStation 5000 running
- Ultrix 4.2 (rev 96).
-
- The problem that I'm having is finding a accouting filter (if in /etc/printcap)
- that is smart enough to deal with postscript that is being printed via a
- serial line to an Apple Laserwriter.
-
- I've tried using ln03rof and found that on my machine it will print normal
- text files (and record an accurate page count). But for postscript files
- it will print them while silently skipping writing an accounting record.
-
- This is the case if I set Da=ascii or postscript.
-
- The other filter that I've tried is lpf which seems to just count the
- number of lines in a postscript file and change in that way, rather
- than find out (in some smart way) how many pages were actually
- printed. On a sample one page text file , the filter recorded two
- pages as printed. For an 11 page printout of a postscript file with
- 875 lines, it reported 15 pages printed....
-
- Has anyone else out there found a better printer filter or can tell me which
- filter I should be using...the state of our documentation is pathetic.
-
- Here is a copy of the relavent entry in /etc/printcap:
-
- lp|lp0|0:\
- :af=/usr/adm/lpacct:\
- :br#19200:\
- :ct=dev:\
- :fc#0177777:\
- :fs#03:\
- :if=ln03rof:\
- :lf=/usr/adm/lperr:\
- :lp=/dev/tty00:\
- :mc#20:\
- :mx#0:\
- :of=/usr/lib/lpdfilters/ln03rof:\
- :pl#66:\
- :pw#80:\
- :rw:\
- :sd=/usr/spool/lpd:\
- :sh:\
- :uv=4.0:\
- :xc#0177777:\
- :xf=/usr/lib/lpdfilters/xf:\
- :xs#044000:\
- :Da=postscript:
-
- -----
-
- Many thanks for whatever help you can lend,
-
-
- --
- ___ "I am a great believer in Luck. The harder I work, the
- | / | more I have of it." - Thomas Jefferson
- |/ ince | aluskie _________________________________________________________
-
- taluskie@ccwf.cc.utexas.edu, Physics Computer Group, UT Austin, 512-471-5821
-