AIX 3.1.6 breaks remote-print serving with CAP6.0 - any solutions?

AIX 3.1.6 breaks remote-print serving with CAP6.0 - any solutions?

Post by Timothy Fredri » Wed, 23 Oct 1991 08:24:30



We recently upgraded from AIX 3.1.5 to 3.1.6.  This fixed some bugs, but
caused a strange problem with our CAP software.  That is, a remote system
that used to be able to print using the 3.1.6 system as a server can no
longer do so.  The job gets sent to the server, queues, and even
appears to be printing (we see the "initing" message) but then after a
very short period of time, the "initing" goes away and we never see our
job.

Printing using CAP6.0 works fine locally.  Recompiling CAP6.0 didn't seem
to help.

Is anyone else in our situation?  CAP6.0 is the only way we can reach our
printers, so any suggestions or advice would be appreciated by many people
in our organization including me.  Thanks in advance.  --Tim
.

 
 
 

AIX 3.1.6 breaks remote-print serving with CAP6.0 - any solutions?

Post by Timothy Fredri » Thu, 24 Oct 1991 00:28:11



   We recently upgraded from AIX 3.1.5 to 3.1.6.  This fixed some bugs, but
   caused a strange problem with our CAP software.  That is, a remote system
   that used to be able to print using the 3.1.6 system as a server can no
   longer do so.  The job gets sent to the server, queues, and even
   appears to be printing (we see the "initing" message) but then after a
   very short period of time, the "initing" goes away and we never see our
   job.

   Printing using CAP6.0 works fine locally.  Recompiling CAP6.0 didn't seem
   to help.

More on the Problem:
Our entry in /usr/lpd/qconfig looks like:

        acdps2s:
                up = TRUE
                device = aps2s
        aps2s:
                backend = /usr/local/cap/dcsps2s

and the script dcsps2s looked like this:

        #! /bin/sh
        cat $* | /usr/local/cap/papif -P ps2s
        exit(0)

The output stream never seems to get to papif if it from a remote client
although it always gets to it if the job is printed locally (I discovered
this after a lot of experimentation).  However, putting a pause in the
script works -- isn't this strange?

        #! /bin/sh
        sleep 30
        cat $* | /usr/local/cap/papif -P ps2s
        exit(0)

Some others have reported similar problems under AIX 3.1.6 with remote
printing.  I would sure like to know why the backend program doesn't get
its input immediately.  Any thoughts or suggestions?

--Tim

 
 
 

AIX 3.1.6 breaks remote-print serving with CAP6.0 - any solutions?

Post by Carl Lew » Thu, 24 Oct 1991 07:33:33




>   We recently upgraded from AIX 3.1.5 to 3.1.6.  This fixed some bugs, but
>   caused a strange problem with our CAP software.  That is, a remote system
>   that used to be able to print using the 3.1.6 system as a server can no
>   longer do so.  The job gets sent to the server, queues, and even
>   appears to be printing (we see the "initing" message) but then after a
>   very short period of time, the "initing" goes away and we never see our
>   job.
>   Printing using CAP6.0 works fine locally.  Recompiling CAP6.0 didn't seem
>   to help.
>More on the Problem:
>Our entry in /usr/lpd/qconfig looks like:
>    acdps2s:
>                    up = TRUE
>            device = aps2s
>    aps2s:
>            backend = /usr/local/cap/dcsps2s
>and the script dcsps2s looked like this:
>    #! /bin/sh
>    cat $* | /usr/local/cap/papif -P ps2s
>    exit(0)
>The output stream never seems to get to papif if it from a remote client
>although it always gets to it if the job is printed locally (I discovered
>this after a lot of experimentation).  However, putting a pause in the
>script works -- isn't this strange?
>    #! /bin/sh
>    sleep 30
>    cat $* | /usr/local/cap/papif -P ps2s
>    exit(0)
>Some others have reported similar problems under AIX 3.1.6 with remote
>printing.  I would sure like to know why the backend program doesn't get
>its input immediately.  Any thoughts or suggestions?
>--Tim

I don't know about the pause, but I discovered that IBM started passing
flags to the backends about 3.1.6 (may have been earlier and we didn't notice)

#!/bin/sh
for i in $*
do
        case $i in
                -*) flags="$flags $i "
                        ;;
                *)  files="$files $i "
                        ;;
        esac
done
cat $files | /usr/new/cap/papif -P cslw4

Carl
--
------------------------------------------------------------
Carl     | Programmer, Sys admin, Operater (etc)           |
Lewis    |       University of Tasmania CS Dep.            |
---------|------------------------------------------------<

 
 
 

1. problems with remote printing under AIX 3.2 (and other remote access problems)

I just installed AIX 3.32 on my R6000/320 and though the install went
smoothly, the R6000 no longer allows remote (tcp/ip) access to the printer.  I
did a "complete overwrite install" and then went through and
configured the network and the remote printer access, and have
rebooted several times, stopped started lpd, etc., but I always get
the message: "your host does not have line printer access" back from
the R6000.  Printing works OK from the R6000, and interestingly, the
"on" command" works from the remote host and I can type "on ___ lpr "
and the R6000 does print then.  I tried both fully qualified and just
the hostname in the /etc/hosts.lpd file.  I am trying to print from a
Sun running 4.1.1 as well as other hosts that use BSD style printer
addressing.  Before the upgrade, remote printing worked fine.  

Another strange (related?) feature is that when I type "rsh" from the
remote host I get "Login incorrect." whereas rsh used to work.  It
sounds to me like the network authentication has been messed with.
One last (related?)  problem is that I can't get the R6000 to act as a
pcnfs server (after taking the comment out of /etc/inetd.conf) whereas
it used to work as a pcnfs server before.

  Any ideas?

  Ron Cohen
  Geophysical Laboratory
  Carnegie Institution of Washington

2. display problem4

3. AIX 3.2.5 PRINTING - How to insert ESC into remote print queue.

4. standard file structure...?

5. Behavior of AIX print when printing to remote systems.

6. AIX 4.x to 5.x compaitibility

7. CAP6.0 backend program for AIX3.2 print spooler ??

8. Linux, Redhat 6.0, Mediaone, Cable Modem and Internet Access

9. Re. AIX support for remote tape units Re: AIX support for remote tape units

10. Printing accounting on Solaris (and CAP6.0)

11. Solution (Re: lpd challenge: remote printing with local filtering)

12. Solution: was LPD print jobs from AIX -> LINUX failing

13. remote printing broke after upgrade.