From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,79626afebc36f315,start X-Google-Attributes: gid1164f8,public From: nigel coates Subject: lpr / lpd / printer problems Date: 1997/07/25 Message-ID: <33D8BA1A.5BB3@danieleurope.co.uk>#1/1 X-Deja-AN: 258744966 X-NNTP-Posting-Host: pc24.spectratek.co.uk [193.195.230.24] Newsgroups: comp.sys.dec I have a printing problem that is driving me crazy ! My DEC ( running OSF3.2C ) has the following printcap entry my Epson FX-870 line printer ( on TCP/IP ) : lpd1|lp1|line:\ :af=/usr/adm/lp1acct:\ :if=/usr/lbin/lpf:\ :lf=/usr/adm/lp1err:\ :lo=lock_lp1:\ :lp=/dev/null:\ :mx#0:\ :of=/usr/lbin/lpf:\ :pl#66:\ :pw#80:\ :rm=valevtprint:\ :rp=lpa:\ :rw:\ :sd=/usr/spool/lpd1:\ :sf:\ :sh:\ :xf=/usr/lbin/xf: Note I have tryed this with / withput xf/if/af/lf When the DEC is rebooted, the printer works fine ( using lpr ). A 'ps ax | grep lpd' shows one 'lpd'. If the printer is turned off, the printer does not recover ( even with lpc restart ... ). It appears that each subsequent 'lpr -P ...' : a) adds the file to the spooler ( this is confirmed by 'lpc status' / 'lpq lpd1' ) b) forks a new 'lpd'... I have seen upto 32 'lpd' running - but still no printing ! The only way to reset the printer is to reboot. Has anybody got any ideas ? Nigel