From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6aa1753ae8193028 X-Google-Attributes: gidfee84,public From: Joe Spanicek Subject: Re: LPD/LPR problem Date: 1997/02/06 Message-ID: <32F933C2.41C6@resptk.bhp.com.au>#1/1 X-Deja-AN: 214740307 references: <5co81g$2ai$1@aphex.direct.ca> to: shfung@direct.ca content-type: text/plain; charset=us-ascii organization: BHP Research - PKL mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.01Gold (X11; I; OSF1 V4.0 alpha) Simon H. P. Fung wrote: > > Hello: > > Could someone show me how to setup my Digital UNIX 4.0 box to print to a HP > printer which is connected to the LAN via a HP JetDirect print server? > > We are able to assigned an IP address to the HP JetDirect print server by > BOOTP. We can ping the print server. > > Our /etc/printcap file contains the following lines: > HPJetDirect:\ > :ct=remote:\ > :mx#0:\ > :lp=:\ > :rm=192.9.201.8:\ > :rp=text:\ > :sd=/usr/var/spool/HPJetDirect:\ > :lf=/usr/var/spool/HPJetDirect/HPJetDirect.log: > > The spooling directory has the following characteristics: > drwxrwxr-x 2 daemon daemon 8192 Jan 28 16:53 HPJetDirect > > We tried to use the commands "lpr -PHPJetDirect test.pag" and "lp > -dHPJetDirect test.pag" to print to the printer. Nothing was printed. > > In lpc (status) we get the following display: > HPJetDirect: > printer is on remote host 192.9.201.8 with name text > queuing is enabled > printing is enabled > 2 entries in spool area > Tues Jan 28 16:33:20 1997: waiting for 192.9.201.8 to come up > > Please advise and any pointers are appreciated. > Thanks. This is my printcap entry: I set it up using the GUI Printer Setup in DU4.0 # HP1600CM Color Postscript DeskJet printer lp1|1|color:\ :lf=/usr/adm/lp1err:\ :lp=:\ :mx#0:\ :rm=qmpcolor:\ :rp=RAW:\ :sd=/usr/spool/lpd1:\ :sh: You may want to try 'rp=RAW' - the printer should be able to distinguish whether it is plain text or postscript. rm: is the name of the printer in Host file, try putting this instead of the IP address. Also go into 'lpc' and do a 'restart all'. See if this brings the printer spool to life. Joe