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