Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!genesis.Berkeley.EDU!luism From: luism@genesis.Berkeley.EDU (Luis Miguel) Newsgroups: comp.sys.hp Subject: Attaching Laserjet III to 9000-350.. Message-ID: <41484@ucbvax.BERKELEY.EDU> Date: 28 Mar 91 21:26:18 GMT Sender: nobody@ucbvax.BERKELEY.EDU Reply-To: luis@postgres.berkeley.edu Organization: UC Berkeley Lines: 108 Now that we got our new laserjet III, we are anxious top get it up and running. I am trying to attach it to the built in serial port. The problem we are having comes in getting the print spooler system started. I essentially get messages telling me that I am having problems with the "status" files. I found 2 such files: qstatus and pstatus in /usr/spool/lp. They were empty, and the system did not like it. I tried making them directories, and creating empty hp2686 and lp2686 files in them, and no good. Any suggestions? I include a transcript of the comands I run, the error messages, and the directory structure. Also, where do I find instructions on attaching the printer from a parallel port? Thanks, /luis -------------------------------------------------------------- This is the file /etc/mklp.local: # ---- Laser Printer --- /etc/mknod /dev/lp2686 c 1 0x090004 # ---- cleaning up rm -rf /usr/spool/lp/{FIFO,SCHEDLOCK} cd /usr/spool/lp #; >pstatus ; >qstatus # ---- Setting correct ownerships and permissions chown lp pstatus; chgrp bin pstatus; chmod 755 pstatus chown lp qstatus; chgrp bin qstatus; chmod 755 qstatus chmod 600 /dev/lp2686 chown lp /dev/lp2686 chgrp bin /dev/lp2686 # ---- creating the printer /usr/lib/lpadmin -plp2686 -mhp2686a -v/dev/lp2686 -h # ---- accepting requests /usr/lib/accept lp2686 # ---- enabling the printer /usr/bin/enable lp2686 # ---- setting the default printer /usr/lib/lpadmin -dlp2686 # ---- activating the printer scheduler /usr/lib/lpsched This is what I get when I run them: % sh mklp.local mknod: File exists mklp.local: pstatus: cannot create mklp.local: qstatus: cannot create /usr/lib/lpadmin: can't open printer status file /usr/lib/accept: can't open acceptance status file /usr/bin/enable: can't open printer status file This is the current directory structure: /usr/spool/: lp/class lp/interface/lp2686 lp/interface lp/member/lp2686 lp/member lp/model/dumb lp/model/hp2225a lp/model/hp2686a lp/model/hp2934a lp/model/hp2686a-bk lp/model/PCL2 lp/model/rmodel lp/model/laserjet lp/model/dumbplot lp/model/HPGL1 lp/model/HPGL2 lp/model/fonts lp/model lp/request/lp2686 lp/request/lp lp/request lp/pstatus/hp2686a lp/pstatus/lp2686 lp/pstatus lp/qstatus/hp2686a lp/qstatus/lp2686 lp/qstatus lp/log lp/default lp/cinterface lp/oldlog lp/seqfile lp/cmodel/rcmodel lp/cmodel lp/sinterface lp/smodel/rsmodel lp/smodel lp/fonts/lp2l lp/fonts/lp4l lp/fonts/lp4p lp/fonts lp/info lp/receive lp/outputq lp -- Luis Miguel. Computer Science Division, UC Berkeley. arpanet: luis@postgres.Berkeley.EDU uucp: {ihnp4,decvax}!ucbvax!postgres!luis at&t: (415) 642-8234