SUMMARY: printer hang on serial port

From: ken lewis (krl@asti.com)
Date: Tue Jun 23 1992 - 12:35:52 CDT


Better late than never...

Its been about a month since I asked...

                
        Are there any work arounds/patches for the following problem
        besides power cycling the system.
        
        Problem:
          
        A Sparc 2 w/ 4.1.2 with a printer using xon/xoff on ttyb gets
        into a state where lpc says it ready and printing but a visual
        check says no way.
        
        All possibilities of aborting, cleaning, resetting the queue in
        conjunction with power cycling the printer appear to have been
        exhausted with no effect.
        
        Killing and restarting lpd has no effect either.
        
        printcap=
            39 hplaser:\
            38 :rm=asti_1:rp=hplaser:\
            39 :lp=/dev/ttyb:sd=/usr/spool/hplaser:lf=/usr/adm/lpd-errs:\
            40 :ms=ixon,raw:br#9600:sh:sf:mx#0:
        
        guesses, hints, answers to
        
Thanks to:
Norm Lunde <norm@ctr.columbia.edu>
Bill Stapleton <wls@csd4.csd.uwm.edu>
Charles Grady <cgrady@eng.auburn.edu>
pbh@cfsmo.honeywell.com (Paul B. Henninger)
ivan@fac.anu.edu.au (Ivan Dean)
earle@poseur.JPL.NASA.GOV (Greg Earle - Sun JPL on-site Software Support)
Daniel@europarc.xerox.com
hydres!paul
checkedg@elec-eng.birmingham.ac.uk (Dr. Dave Checketts)
ray@isor.vuw.ac.nz
ldavis!woden!gunn@snowbird.Central.Sun.COM (David Gunn)

Solutions included...

1) Don't do xon/xoff with HP products if you have a choice. - Greg Earle

2) i have some printers that are connected to a Sun through a
wiring closet (same as our UTP connections), and when these
printers hang up, i have to: "lpc stop", "lpc abort", dis-
connect the cabling _at_the_computer_end_, & "lpc start".
i haven't had a chance to figure out why this is necessary,
but it might help... - paul henninger

3) Patch 100225 was suggested but it was also described as not working
in 2 situations.

4) I chose patch 100397 which was said to be obsoleted by 4.1.2 but appears
to have worked for us. Recommended by Ivan Dean

Thanks to all.

Ken

         _
      _ |_| Kenneth R. Lewis,
   _ |_| Applied Software
  |_| 1908 Cliff Valley Way
   _ _ _ Atlanta, Georgia 30329
  |_||_||_| Voice: (404) 633-8660
   _ _ _ Fax: (404) 633-0154
  |_||_||_| Internet: krl@asti.com

Be excellent to everyone.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:44 CDT