[comp.sys.sun] accounting errors in Transcript

miker@central.sun.com (Mike Raffety) (04/04/89)

Basically, an "accounting error 3" (the ONLY "accounting error" in our
source for Transcript; no "1" or "2"; version 2.1 for Sun) means that
start and end page numbers don't make sense (i.e., less than zero, not in
logical order, etc.).  Relevant code fragment:

    if( start > end || start < 0 || end < 0 ) {
        fprintf(stderr,"%s: accounting error 3, %ld %ld\n",start,end);

The "start" and "end" are the pagecounts that PostScript automatically
keeps track of internally (inside the printer itself); Transcript (pscomm)
queries the printer for the cumulative pagecount before and after each
job.  Hope that helps.  All I can read into it is an inconsistency in your
PRINTER, not Transcript.

jaffe@elbereth.rutgers.edu (Saul) (04/04/89)

You may have an old version of transcript as the only accounting error in
the version that I have is "accounting error 3".  In any event, what
transcript does is periodically query the printer for the number of pages
its printed.  If the start value is > end or either is 0 it prints an
error.  I would fix the problems pointed to by the errors from the
Laserwriter before worrying about the accounting errors.

Saul Jaffe
Rutgers University
ARPA: Jaffe@elbereth.rutgers.edu
UUCP: ...!rutgers!elbereth.rutgers.edu!jaffe