SUMMARY: /rangecheck error with NeWSprint+SPARCprinter

From: Roberto Dominijanni (roberto@banach.nl.nuwc.navy.mil)
Date: Wed Jun 21 1995 - 13:18:54 CDT


PROBLEM: On a SPARC 2 and SPARCprinter running SunOS 4.1.3 and
           NeWSprint 2.1 each successful print job is followed by a
           page complaining of a /rangecheck error.
           (Original post is reproduced below.)

SOLUTION: (Quoted from Scott Kamin's reply.)
           This error is seen when printer accounting is enabled and
           the page count for a printer reaches 10000.
           Simply copy /dev/null to the .pgcnt file in /var/spool/<printername>
           to reset the page counters.

This solution (or a slight variant) was given by:

    Jon Diekema diekema@linus.si.com
    Dave Haut dave%endeavour.exar.com@exar.com
    Scott Kamin Scott.Kamin@Central.Sun.COM

Other helpful advice or comments were received from:

    Christopher L. Barnard cbarnard@CS.UChicago.EDU
    Don Lenamond don@denali.opensys.com
    T.J. Neputi neputi@inlatlas.den.mmc.com
    ? sunlist@mendel.ucsc.edu

Many thanks to all who replied.

Roberto Dominijanni

-------------------------------------------------------------------------------

Question posted June 13, 1995:

I am having a small problem printing to a SPARCprinter. After nearly every
print job (printing from within the calendar tool `cm' is the only exception
I know of) I get the following error (or a slight variant):

    %%[ Error: Message: process(0x2d7abc, 'Unnamed process', runnable)
    Error: /rangecheck
    Command: 'get'
    Ostack: 10000 [( ) ( ) ( ) ()] 4
    Estack:
      at: '.array_exec_cont' {/rangecheck *'standarderroraction'}
      at: 'get'
      at: '.packedarray_exec_cont' {... ( ) ( ) () ']' 'exch' *'get' \
          'exch' 4 'string' 'cvs' 'append' (.00) ...}
      at: '.end_exec'
    Dstack:
      dictionary[10/200]
      package(NeWSprint)
      dictionary[367/2000]
    10000 [( ) ( ) ( ) ()] 4
    ]%%

All these jobs print successfully and the beginning of the problem was not
preceded by any change in the system.

The system configuration is:

    SPARC2 running SunOS 4.1.3
    NeWSprint 2.1 Rev B with Jumbo Patch 100925-06
    Openwin library 3
    NeWSprint interpreter 3.010

I have tried killing and restarting the relevant processes and have gone
so far as to reboot the system and turn the printer on and off without success.

Has anyone seen this before or know why it's occuring or have an antidote?
I will summarize, one way or the other, at the end of the week.

Sincerely,

Roberto Dominijanni



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:27 CDT