home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sun / apps / 2446 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.6 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!network.ucsd.edu!swrinde!elroy.jpl.nasa.gov!news.aero.org!klee
  2. From: klee@aero.org (Kevin D. Lee)
  3. Newsgroups: comp.sys.sun.apps
  4. Subject: Using NeWSprint and a printer connected thru an X-terminal
  5. Date: 11 Nov 1992 17:15:57 GMT
  6. Organization: The Aerospace Corporation, El Segundo, CA
  7. Lines: 26
  8. Distribution: na
  9. Message-ID: <1drf4eINNolm@news.aero.org>
  10. NNTP-Posting-Host: aerospace.aero.org
  11.  
  12.  
  13. I would like to connect an HP Laserjet IIP to an x-terminal that is connected
  14. to our sparc2.  I'm trying to get NeWSprint to do all of the processing and 
  15. then send a file to the x-terminal.  It looks pretty simple to have an HP
  16. connected to the sun, but I need to call a shell script that reads stdin
  17. and sends the file to the x-terminal via tftp.  I know the shellscript alone
  18. works.
  19.  
  20. I've modified the engine_ctl_HP.c to write to a temporary file and I've
  21. modified npcomm.sh to call my x-terminal script, but when I try to lpr
  22. a simple ascii file, my sun hangs.
  23.  
  24. I think the problem may have something to do with NeWSprint trying to 
  25. access the device /dev/bpp0.  I changed the the printcap entry to be
  26. /dev/hdsVS-1.  I don't know where file descriptor 1 is being reassigned
  27. to the device.
  28.  
  29. I'm out of ideas.  Please help!
  30.  
  31. Kevin D. Lee            <klee@aero.org>            (310) 336-7989
  32. The Aerospace Corp.    P.O. Box 92957,   Los Angeles, CA    90009-2957
  33. -- 
  34. Kevin D. Lee            <klee@aerospace.aero.org>    (213) 336-7989
  35. The Aerospace Corp.    P.O. Box 92957,   Los Angeles, CA    90009-2957
  36. "You can make us walk over hot coals, or have ninjas fight us,
  37.     but we will never get, gingivitis!" - Nick on Family Ties
  38.