Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdcad!sun!sally!plocher From: plocher%sally@Sun.COM (John Plocher) Newsgroups: comp.unix.microport Subject: Re: How to install HP LaserJet II?? Keywords: print spooler, DOS Merge, lpset problems, graphic output Message-ID: <98099@sun.Eng.Sun.COM> Date: 7 Apr 89 23:58:55 GMT References: <11828@ut-emx.UUCP> Sender: news@sun.Eng.Sun.COM Reply-To: plocher@sun.UUCP (John Plocher) Distribution: na Organization: Sun Microsystems, Mountain View Lines: 34 In article <11828@ut-emx.UUCP> mike@ut-emx.UUCP (Mike O'Donnell) writes: >We have a HP LaserJet II printer connected to a 386 running >Microport SYS V 386 and DOS Merge. I am having difficulties >... cat filename > /dev/lp1 , a 'can't create device' error message... > >Thanks, Mike O'Donnell Try the following, in order to find out which port is used by the printer: (The ^L is formed by holding down the CONTROL key and pressing "L". It will NOT show up on the screen, though, so don't hold down the "L" key! Each ^L tells the printer to print another page ...) echo hello ^L > /dev/rlp0 echo hello ^L > /dev/rlp1 echo hello ^L > /dev/rlp2 and see which one works. Then do ln /dev/rlpX /dev/lp # where X is one of 0 1 2 (above) which worked. ________________ __________________ ___________________ If you don't have the /dev/rlp? device nodes you can create them yourself. Type in the command: ls -l /dev/lp0 which displays something like: crw-rw-rw- 1 root 7, 0 Apr 3 09:16 /dev/lp0 ^^^ where the "7" is the major number of the lp driver. If you get a different number then just substitute it for the "7"s I will use. Type the following commands: mknod /dev/rlp0 c 7 128 mknod /dev/rlp1 c 7 129 mknod /dev/rlp2 c 7 130 Thats all. The rlp device acts like the lp device with transparent mode always OFF. -John Plocher