home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / hp / 13983 next >
Encoding:
Internet Message Format  |  1992-12-11  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!ut-emx!tivoli!TIVOLI.COM!stuart
  2. From: stuart@TIVOLI.COM (Stuart Jarriel)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Problem with hp laser II
  5. Message-ID: <6854@tivoli.UUCP>
  6. Date: 11 Dec 92 17:57:04 GMT
  7. References: <9233810.2944@mulga.cs.mu.OZ.AU>
  8. Sender: news@tivoli.UUCP
  9. Organization: Tivoli Systems, Inc
  10. Lines: 29
  11.  
  12. In article <9233810.2944@mulga.cs.mu.OZ.AU>, minh@lis.rch.unimelb.edu.au (Minh Tran) writes:
  13. |> 
  14. |> 
  15. |>     Hi everyone,
  16. |> 
  17. |>     We are having problem printing to our hp laser II printer, the
  18. |>     printer keep giving error 22 when we spool a large number of files
  19. |>     to it at once, it looks to me that the line somehow dropping the
  20. |>     baud rate to 300 then reset back to 9600 before spooling to the
  21. |>     printer, now series II printer pickup that dropping and interprets
  22. |>     as an error, 
  23.  
  24. Your assessment is correct at this point, but your fix is wrong.
  25.  
  26. Serial ports in HPUX, when not attached to a running process are set
  27. (but the OS) to 300 baud.  And the laserjet will see that.
  28.  
  29. The correct fix is to put a line in /etc/inittab that puts a stty/sleep/nohup
  30. on that serial port at whatever baud rate you choose to use.  And make the
  31. sleep at least as long as you expect the system to run between re-boots.
  32.  
  33. There is almost always an example in the file that is simply set to the off
  34. state.
  35.  
  36. lp  ::off:nohup sleep 999999999 </dev/lp & stty 9600 </dev/lp
  37.  
  38. Is from my /etc/inittab
  39.  
  40. stuart
  41.