🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #8091

Newsprint software

#8091
From: Bill Unruh
Date: Tue, 04 Jun 1991 18:40
15 lines
1365 bytes
I don't know how to submit to comp.sys.sun, so I hope this is right.

Re Newsprint and accounting- Discussion 14093 in comp.sys.sun
Yes Sun did screw up the accounting. Not only does it not give the number
of pages printed, but if someone does lpr -h, you also get absolutely no 
information about the job in the "accounting" file.
Fortunately, sun gives the source at least for the printer controller
software, and I have patched mine so as to keep track of the total number of
pages printed in the spool directory for the SparcPrinter.
The printing out of accounting is done in the NeWS-directory/lpd/lpd_script
file, so I have altered it to a) print out the accounting information for
all jobs, wheter the banner is printed or not (lpr -h), b) append a 
pagecount for the job in the accounting file.
If you want more information about what I have done, pls message me at
unruh@physics.ubc.ca
Technical Details
Message-ID: <3213@brchh104.bnr.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: unruh@physics.ubc.ca (Bill Unruh)
Newsgroups: comp.sys.sun
Subject: Newsprint software
Keywords: No Digest Subjects in Unmoderated Mode
Message-ID: <3213@brchh104.bnr.ca>
Date: 4 Jun 91 18:40:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sunspots, Psuedo-Unmoderated
Lines: 16
Approved: sun-spots@rice.edu
X-Original-Date:    13 May 91 12:09 -0700