HP LJ4m pap lossage


Subject: HP LJ4m pap lossage
From: Chris Metcalf (metcalf@catfish.LCS.MIT.EDU)
Date: Mon Dec 13 1993 - 16:04:25 EST


We've been having some problems with an HP LaserJet 4m on LocalTalk which
we recently hooked up. We're spooling from a SPARC IPC running SunOS
4.1.3 and netatalk-1.2.1, and using a GatorBox to gateway from our Phase
I EtherTalk to LocalTalk, which is what the printer is on. The printer
works fine with Macs (on ethernet), and our pap works fine with an Apple
LaserWriter II and various TI printers. It also works fine with short
files to the HPLJ. I grabbed the latest bin/pap sources from 1.3b2 and
built with -DEBUG -DPRAGMATIC (although I didn't build the 3b2 libatalk).
A short file (enscript /etc/motd) generates the following output:

        Trying 11110.194:128 ...
        OPEN >
        < OPENREPLY
        status: busy; source: AppleTalk
        Connected to Anne's MicroLaser (624):LaserWriter@*.
        READ 1 >
        < TICKLE
        SENDSTATUS >
        < STATUS
        < READ
        DATA >
        SENDSTATUS >
        < STATUS
        < READ
        DATA (eof) >
        < READ
        SENDSTATUS >
        < STATUS
        < READ
        SENDSTATUS >
        < STATUS
        < READ
        SENDSTATUS >
        < STATUS
        < DATA (eof)
        CLOSE >
        < CLOSEREPLY
        Connection closed.

A longer file (still one page, dvips output), never closes the connection,
although it does print the whole file:

        Trying 11110.194:128 ...
        OPEN >
        < OPENREPLY
        status: busy; source: AppleTalk
        Connected to Anne's MicroLaser (624):LaserWriter@*.
        READ 1 >
        < TICKLE
        SENDSTATUS >
        < STATUS
        < READ
        DATA >
        SENDSTATUS >
        < STATUS
        < READ
                [above four lines repeat 24 times]
        DATA (eof) >
        < READ
        SENDSTATUS >
        < STATUS
                [above three lines repeat 4 times]
        < TICKLE
        SENDSTATUS >
        < STATUS
                [activity stop for a while here]
        < READ
        SENDSTATUS >
        < STATUS
        < READ
        SENDSTATUS >
        < STATUS
                [pause]
        < READ
        SENDSTATUS >
        < STATUS
                [15-sec pause]
        < READ
        SENDSTATUS >
        < STATUS
        < TICKLE
        SENDSTATUS >
        < STATUS
                [15-sec pause]
        < READ
        SENDSTATUS >
        < STATUS
                [15-sec pause]
        TICKLE >
        SENDSTATUS >
        < STATUS
                [1-min pause]
        TICKLE >
        SENDSTATUS >
        < STATUS

Curiously, the new pap doesn't notice when I do a pushbutton-reset on
the printer; the old pap disconnected at that point (saying "connection
unexpectedly closed; send file failed"). For the moment we're using
the old pap, and doing a by-hand printer reset after every job spooled
from Unix.

Any insights, or pointers to new pap sources, would be much appreciated!

                        Chris Metcalf, MIT Laboratory for Computer Science
                        metcalf@cag.lcs.mit.edu // +1 (617) 253-7766



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:19:58 EST