home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!noiro.acs.uci.edu!news.service.uci.edu!hardy
- From: hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy))
- Subject: Re: Attach LZRJet to a Parallel Port
- Nntp-Posting-Host: golem.ps.uci.edu
- Message-ID: <HARDY.92Jul26175815@golem.ps.uci.edu>
- In-reply-to: philipp@ulysse.enst.fr's message of 26 Jul 92 20:28:41 GMT
- Newsgroups: comp.sys.hp
- Organization: Department of Physics, UC Irvine, CA 92717-4575, USA
- Lines: 70
- Date: 27 Jul 92 00:58:35 GMT
- References: <1992Jul21.145706.13368@eng.ufl.edu> <2389@ulysse.enst.fr>
-
- When I updated to 8.0 I also had similar troubles with configuring the
- parallel printer device. I let SAM do everything (including the wrong
- major/minor numbers on the device drivers), then used mknod to create
- drivers with the right number:
-
- crw-r--r-- 1 lp lp 21 0x170000 Jul 14 23:02 lp_dj
-
- (I am using a deskjet+, hence the dj). I would have suspected that by
- now (7 months later) SAM would have been patched to do it right!
- I got a lot of help from HP-people over the net at that time. I am
- sure you will too.
- Oh, yes, you may need to change the interface description too:
- here are the diffs between the modified interface (dj) and the serial
- interface PCL3:
- 203,208c203,208
- < #if [ -t 1 ]
- < #then
- < # stty raw 9600 -parenb cs8 ixon -istrip clocal <&1 2>/dev/null
- < #else
- < # slp -r 2>/dev/null
- < #fi
- ---
- > if [ -t 1 ]
- > then
- > stty raw 9600 -parenb cs8 ixon -istrip clocal <&1 2>/dev/null
- > else
- > slp -r 2>/dev/null
- > fi
- 439c439
- < # do_banner
- ---
- > do_banner
- 454,458c454,458
- < # if [ "$outputmode" = "raw" -a -t 1 ]
- < # then
- < # stty raw 9600 -opost -parenb cs8 ixon -istrip clocal tab0 <&1 2>/dev/null
- < # echo "\033&k0G\c" # Reset line termination mode
- < # fi
- ---
- > if [ "$outputmode" = "raw" -a -t 1 ]
- > then
- > stty raw 9600 -opost -parenb cs8 ixon -istrip clocal tab0 <&1 2>/dev/null
- > echo "\033&k0G\c" # Reset line termination mode
- > fi
- 488,494c488,494
- < if [ "$vsi" = "def" -a "$lpi" = "def" -a "$orientation" != "landscape" -a "$nroff" = "" ]
- < then
- < echo "\033&l66p2e7.6c66F\c"
- < echo "\033&a4L\c"
- < echo "\033&k11H\c"
- < length="-l66"
- < fi
- ---
- > # if [ "$vsi" = "def" -a "$lpi" = "def" -a "$orientation" != "landscape" -a "$nroff" = "" ]
- > # then
- > # echo "\033&l66p2e7.6c66F\c"
- > # echo "\033&a4L\c"
- > # echo "\033&k11H\c"
- > # length="-l66"
- > # fi
- --------
- Sorry for the length of this post.
- Bonne chance!
-
- --
- Hardy
- -----
- Meinhard E. Mayer, Department of Physics, UC Irvine
- e-mail: hardy@golem.ps.uci.edu (preferred) or MMAYER@UCI.BITNET
-
-