[comp.sys.pyramid] Need Help on OSx4.4 Printer Setup

fredrick@acdpyr.ucar.edu (Tim Fredrick) (02/06/89)

One of the many problems that we have encountered trying to get our Pyramid
90x up to OSX4.4 from OSX4.0 (which includes breaking rn, and the quota
system not working - problems I think we can figure out from here) is our
ITP printer lines.  I am at wit's end and am hoping that one of you has
run accross a similar problem or might know who I might contact for help.

Our setup is this.  We use a PACX system through which we communicate with
our printers and terminals.  The system allows 4 signal lines, which can
be pretty much anything.  This is what we have under OSX4.0 that works
between the Pyramid and an Imagen laser printer.

       Pyramid Port                                Imagen Laser Printer
       /dev/ttyi30

    RD 2 ------------------\      /-------------------- 2 RD
                            \    /
                             -------------------------- 3 TD
    TD 3  ______________________/

    GD 7  ---------|
                   |
                   |
   DSR 8  ---------|

   DTR 20 --------------------------------------------- 20 DTR

In OSx4.0 the printer works file.  We only load firmware in /etc/brc
with the following lines of code:

   /etc/nlditp -d 0xffff -t 0x00000258 /dev/itp0 /dev/ttyi00 /etc/mcode/i.out
   /etc/nlditp -h 0xe000 -d 0x00ff -t 0x00000258 /dev/itp1 /dev/ttyi16 \
                  /etc/mcode/i.out

In OSx4.4 the printer doesn't work and I am trying to use this code to
load the firmware:  I notice that /dev/itp0 and /dev/itp1 changed to
/dev/itp40 and /dev/itp41.

   for ITP in /dev/itp??
   do
       if /bin/ucb /bin/test -r $ITP
       then
          sh -cx "/etc/itpload -f /etc/mcode/i.out $ITP"
       fi
   done
   /etc/nlditp -t 0x00000258 -d 0xffff -h 0x0000 /dev/itp40 /dev/ttyi00 \
               /etc/mcode/iout
   /etc/nlditp -t 0x00000258 -d 0x00ff -h 0xfc00 /dev/itp40 /dev/ttyi00 \
               /etc/mcode/iout


When we bring up 4.4 and start the print daemons, and send something, not
a single line coming from the ITP *EVER* goes high. Normally, using a Black Box
breakout box, we can see the appropriate signals go high, and the RD and
SD lights flashing.  Of course there is no response from the printer,
and an "lpq" displays that the device isn't ready and in parenthesis
(online?).

I have tried replacing /etc/mcode/i.out with the old 4.0 version.  And I
have tried using the 4.0 version of nlditp.  That didn't have any effect.
I don't know whether I have a hardware or a software problem, and it isn't
clear from the release notes what changed with the ITP's.  Under both
4.0 and 4.4, I'm using a C35 COS Microcode Floppy.

So, please send email if you've run accross this problem, if you can
suggest anything that I might try, or if you know who I can contact for
help.  Thanks.  --Tim Fredrick (fredrick@acdpyr.ucar.edu).