TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:8272] JetDirect revisited



Bob, when you say PC->print server, what is the PC? Linux or NT or 95?

I set up a Linux print server and could print to it from another Linux
box and also from a NT box via SAMBA and also from NT via a local lpr
port. All I needed to do is add the hosts to /etc/hosts.lpd on the print
server.

Here is my /etc/printcap
<snip>
ps17-jd:\
        :lp=/dev/null:sh:\
        :sd=/var/spool/lpd/ps17-jd:\
        :rm=ps17.cfsmo.honeywell.com:rp=raw:
</snip>

ps17 is the jetdirect printer.

Clay

Bob Tanner wrote:
> 
> This is what I get when I do a PC->print server->printer.
> 
> Sep 13 21:32:59 PC1 lpd[27111]: PC1 requests printjob lp
> Sep 13 21:32:59 printserver lpd[26227]: PC1 requests recvjob laserjet
> Sep 13 21:32:59 printserver lpd[26227]: Can't create temp cfp file
> Sep 13 21:33:00 printserver last message repeated 1011 times
> Sep 13 21:33:00 printserver lpd[26227]: laserjet: can't scan /var/spool/lpd/lp
> 
> # ls -l /var/spool/lpd/
> total 12
> drwxr-xr-x   2 root     lp           4096 Sep 13 21:32 laserjet
> drwxr-xr-x   2 root     lp           4096 Sep 13 21:33 lp
> -rw-r--r--   1 root     lp              6 Sep 13 21:30 lpd.lock
> 
> # ls -l /var/spool/lpd/lp
> total 32
> -rwxr-xr-x   1 root     root         9443 Sep 13 19:18 filter
> -rwxr-xr-x   1 root     root          192 Sep 13 19:18 general.cfg
> -rw-r--r--   1 root     root           41 Sep 13 21:33 lock
> -rwxr-xr-x   1 root     root          347 Sep 13 19:18 postscript.cfg
> -rw-rw-r--   1 root     root           41 Sep 13 21:32 status
> -rwxr-xr-x   1 root     root          146 Sep 13 19:18 textonly.cfg
> 

-- 
Clay Fandre
cfandre@maddog.mn-linux.org
Twin Cities Linux Users Group
http://www.mn-linux.org