SUMMARY Moving NeWSprinter software

From: Operator (root@zeus.drss.state.sc.us)
Date: Fri Apr 05 1996 - 12:07:34 CST


 Managers,
 
   I sent a summary in the middle of the week but I did not see it listed so this
   is a resubmission.
> ----------------------------------------------------------------------------------
> Original Message
> ----------------------------------------------------------------------------------
> > I need immediate help. I had a Newsprinter20 attached to a Sparc10/41 using
> > an sbus card for the past three years. Initial setup and configuration was
> > easy with no problems.
> >
> > I was forced to move the printer to a Sparc2 this morning and have had alot
> > of problems since then.
> >
> > Configuration of system: Sparc 2 SunOS4.1.4 64mb memory and 25mb of
> > disk space in var partation.
> > NeWsprinter v2.1 software on cdrom
> >
> > Installation went fast configured the sbus card as spd0 kernel was rebuilt.
> > Reboot identified the card no problem. I did a lpr filename to Newsprinter20
> > file showed up in the queue for about 25 seconds then went away NO OUTPUT.
> >
> > I used the SBUS diagnostics program (spddiag) to check the card first using
> > the Register Test, Register Test passed 4 times no problem.
> >
> > I then ran the Printing test parameters were:
> > device spd0
> > times 3
> > resolution 300dpi
> > tray Main tray
> > mode fast
> > file spdtest
> >
> > The results were:
> > ******************* Test Information *****************
> > spdtest: cant't create raster file. Check the directory permissions,
> > user status, etc...
> > ******************************************************
> >
> >Permissions on the /var/spool/printerqueue was:
> >
> > drwxr-sr-x 3 daemon daemon 512 Mar 21 16:12 news20
> >
> >Permissions on the /usr/NeWSprinter software was:
> >
> > drwxr-xr-x 15 root daemon 512 Mar 22 12:09 news/
> > drwxr-xr-x 7 root staff 512 Oct 19 1992 drivers/
> > drwxr-xr-x 5 root staff 512 Oct 19 1992 spd/
> > drwxrwxrwx 2 root staff 512 Mar 22 13:04 diag/
> > -rwxr-xr-x 1 root staff 6762 Oct 19 1992 spddiag*
> > -r-xr-xr-x 1 root staff 16384 Oct 19 1992 spdtest*
> > I have two problems.
> > 1. Why can't I get the software to work and,
> > 2. On the Sparc10 I had two font licenses I deleted them but cannot
> > put them on the Sparc2 The software on the Sparc10 still sees
> > two licenses unused.
> >
>
> ----------------------------------------------------------------------------
> Answers
> ----------------------------------------------------------------------------
> Did you contact Sun for a new password for the NeWSprint install. The
> software can not be moved from one system to the other without a new password.
>
> denniss@dcsi.com
> ----------------------------------------------------------------------------
> Yes I did !
> ----------------------------------------------------------------------------
>
> Dear Friend:
>
> On Solaris2.x, in the directory /etc/lp/printers/<printer_name>, there
> should be files name 0 & 1. I think thse are the "raster" files
> it is trying to create.
>
> lbert@esther.rad.tju.edu
> ----------------------------------------------------------------------------
> ----------------------------------------------------------------------------
>
> Are you printing ASCII, PostScript, or both when failing?
>
> jcr@ipl.bwh.harvard.edu
> ----------------------------------------------------------------------------
> Yes.
> ----------------------------------------------------------------------------
> > I have two problems.
> > 1. Why can't I get the software to work and,
>
> You'll have to call Sun Service and get two NEW licenses.
> Since you have moved the software to a different machine
> the Host ID # is different and therefore the licenses
> will not work.
>
>
> > 2. On the Sparc10 I had two font licenses I deleted them but cannot
> > put them on the Sparc2 The software on the Sparc10 still sees
> > two licenses unused.
>
> It is attempting to, no doubt, use the licenses you entered.
> If you fix your first question then the second will fall
> into place.
> poole@ncifcrf.gov
> ----------------------------------------------------------------------------
> 1. Yes got a new license.
> 2. It did.
> ----------------------------------------------------------------------------
> I sent out a plea for help last week when I tried to move NeWSprinter sbus`
> card and software to a new machine. I got 4 responses which were helpful, but
> did not solve the problem.
> I am checking into getting new font licenses. But I should be able to install
> the software without the license and print courier only. This did not happen.
> The message last week indicated the error I got when I tried the spddiag
> routine that checked the sbus card to see if it was installed properly (it was)
> and the printer output ( it was NOT).
> Yesterday I installed SunOS 4.1.4 on the sparc 1+ and reinstalled the NeWSprinter
> software from the CDROM. No luck I was told that NeWSprinter20 installation
> does not exist on the CD? I downloaded the files from a dump tape I made
> yesterday and tried to install under add_np_printer I appeared to work well,
> with one exception. I noticed that when I installed the software before it
> created a /var/spool/newsprinter20 queue that had three files named
> -rw-r--r-- 1 daemon daemon 987136 Mar 28 11:28 0
> -rw-r--r-- 1 daemon daemon 987136 Mar 28 11:28 1
> -rw-r--r-- 1 daemon daemon 987136 Mar 28 11:28 2
> they were not included with this installation. I tried the to send a small
> printfile 29 bytes to the printer. The file sat in queue for about 30 seconds
> then went away. I checked the log file and found the following error message.
> Can someone interpert the message, It may give me a lead. Also I plan to
> buy another copy of newsprinter if I cannot fix this one. ERROR MESSAGE:
>
> %%[ Error: Message: process(0x2e3044, 'Unnamed process', runnable)
> Error: /undefined
> Command: -definefont-
> Ostack: /font-newencoding dictionary[15/16]
> Estack:
> at: '.array_exec_cont' {/undefined *'standarderroraction'}
> at: '.name_exec' -definefont-
> at: '.packedarray_exec_unbind_cont' {... 2 'eq' 'and' packedarray{35} 'if' *-definefont-}
> at: '.packedarray_exec_unbind_cont' {'dup' /FontType 'get' 1 'eq' packedarray{14} packedarray{18} *'ifelse'}
> at: '.array_exec_cont' {... def currentdict end /font-newencoding exch *definefont pop /font-newencoding findfont pointsize scalefont setfont}
> at: '.array_exec_cont' {... systemdict /encodefont known array{7} array{22} *ifelse /charwidth (M) stringwidth pop def /linespace ...}
> at: '.psparse_token' file(?,W,R) ptr0x00021438
> at: '.packedarray_exec_cont' {... 'save' 'put' 'clear' currexecfile 'cvx' *'exec'}
> at: '.stopped_cont'
> at: '.packedarray_exec_cont' {serverdict /save-state 'save' 'put' 'clear' packedarray{17} *'stopped' packedarray{5} 'if' packedarray{3} 'stopped' packedarray{3} ...}
> at: '.end_exec'
> Dstack:
> dictionary[45/200]
> package(NeWSprint)
> dictionary[386/2000]
> /font-newencoding dictionary[15/16]
> ]%%
> %%[ Error: Message: process(0x2e3044, 'Unnamed process', runnable)
> Error: /undefinedfilename Permission denied
> Command: 'file'
> Ostack: /font-newencoding dictionary[15/16] ( 14.00) (.pgcnt) (w)
> Estack:
> at: '.array_exec_cont' {/undefinedfilename *'standarderroraction'}
> at: 'file' 'file'
> at: '.packedarray_exec_cont' {... 'append' (.00) 'append' (.pgcnt) (w) *'file' 'dup' 3 -1 'roll' 'writestring' 'dup' ...}
> at: '.end_exec'
> Dstack:
> dictionary[45/200]
> package(NeWSprint)
> dictionary[386/2000]
> /font-newencoding dictionary[15/16] ( 14.00) (.pgcnt) (w)
> ]%%
>
> XNeWS: internal error detected (SIGSEGV).
> Report this problem to a knowledgeable person.
> User: root@thor
> Date of previous error: Thu Mar 28 11:28:58 EST 1996
> -----------------------------------------------------------------------------
>
> The first few lines of the errolog seem to indicate that the file
> asked for a font and the request was denied. The remainder may well be
> nothing more than the rest of the PostScript backtrace. It would appear
> that you have the printer installed correctly IF you had the font license.
>
> THe files 0,1 and 2 are the temporary files used to hold the bit-image
> while NeWSprinter is rasterizing the file. It uses double buffering so the two
> files 0 and 1 exist. Since the 20 is a duplex page printer it needs the 2 file
> for the second side of the output.
>
> pasken@thunder.slu.edu
> -----------------------------------------------------------------------------
> Thanks your advice helped.
> -----------------------------------------------------------------------------
> Hi,
>
> When you installed the NewSPrint software, did you install it with the
> "small openwin" option ??
>
> This is not really an option. The xnews server that comes with the small
> openwin is different than the one that comes with openwindows ...
>
> If you didn't install it, go back and do so and that will probably solve this
> problem.
>
> The 0,1, and 2 files you are seeing are your "canvas" files which are the
> actual bitmapped images that get sent to the SPARCprinter. It's a good
> idea to have two. One is being created while the other one is being sent to the
> printer. It looks like you have 3 which is not really necessary, unless you
> have a duplex printer.
>
> Edit the .param file in your spool directory and change the CANCNT value to
> 2 and delete that "2" file.
>
> Hope This Helps ...
>
> dhaut@level1.com
> -----------------------------------------------------------------------------
> Yes I did the second time around Thanks.
> -----------------------------------------------------------------------------
                                 EPILOG
 
 I reinstalled the software from the CD, called sun for a new cpu license,
 rebooted the machine and all is well.................
 
 Thanks to all who responded.

==============================================================================
Michael Holland Office of Research & Statistical Services
mike@zeus.drss.state.sc.us S.C Budget and Control Board
(803)-734-3813 1000 Assembly St. Suite 425, Columbia, S.C. 29201
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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