What's going on here?
# netstat -ptunl | grep lpd
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN
30209/lpd Waiting
# lpq
Printer: lp@trot
Queue: no printable jobs in queue
Server: no server active
Status: job 'root@trot+331' saved at 14:03:48.390
Rank Owner/ID Class Job Files Size Time
done root@trot+214 A 214 /usr/share/lprngtool 20080 13:56:05
done root@trot+331 A 331 /usr/share/lprngtool/t 627 14:03:48
My printer is on the parallel port, detected and configured with
lprngtool. It prints the ascii directly to port test, but the regular
ascii and postscript tests immediately show up in the queue with a Rank =
done but they they didn't print, see above.
The only think I can imagine is it's not looking at the search (domain)
directive in /etc/resolv.conf, otherwise trot.local resolves corectly in
dns.
Here's the output of checkpc, and some other info...
# checkpc -f -V
LPRng-3.8.10, Copyright 1988-2002 Patrick Powell, <[EMAIL PROTECTED]>
Checking for configuration files '/etc/lprng/lpd.conf'
found '/etc/lprng/lpd.conf', mod 0100644
Checking for printcap files '/etc/lprng/printcap'
Checking for lpd only printcap files '/etc/lprng/lpd_printcap'
DaemonUID 1, DaemonGID 7
Using Config file '/etc/lprng/lpd.conf'
LPD lockfile '/var/run/lprng/lpd.515'
.names
:lp=lp
.all
:lp
#Printcap Information
lp
:af=/var/spool/lpd/lp/acct
:cd=/var/spool/lpd/lp
:if=/usr/share/lprngtool/master-filter
:lf=/var/spool/lpd/lp/log
:lp=/dev/lp0
:ml=0
:mx=0
:sd=/var/spool/lpd/lp
:sh
Checking printcap info
Checking printer 'lp'
Checking directory: '/var/spool/lpd/lp'
directory '/var'
directory '/var/spool'
directory '/var/spool/lpd'
directory '/var/spool/lpd/lp'
checking 'control.pr' file
checking 'status.pr' file
checking 'status' file
checking '/var/spool/lpd/lp/log' file
checking '/var/spool/lpd/lp/acct' file
'if' filter '/usr/share/lprngtool/master-filter'
executable '/usr/share/lprngtool/master-filter'
# egrep '(^daemon|^lp)' /etc/passwd
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
# find /var/spool/lpd | xargs ls -ld
drwxr-xr-x 3 root root 72 Feb 12 13:55 /var/spool/lpd
drwx------ 2 daemon lp 568 Feb 12 20:23 /var/spool/lpd/lp
-rw------- 1 daemon lp 566 Feb 12 14:03 /var/spool/lpd/lp/acct
-rw------- 1 daemon lp 175 Feb 12 13:56
/var/spool/lpd/lp/cfA214trot.local
-rw------- 1 daemon lp 177 Feb 12 14:03
/var/spool/lpd/lp/cfA331trot.local
-rw------- 1 daemon lp 0 Feb 12 13:55 /var/spool/lpd/lp/control.pr
-rw------- 1 daemon lp 20080 Feb 12 13:56
/var/spool/lpd/lp/dfA214trot.local
-rw------- 1 daemon lp 627 Feb 12 14:03
/var/spool/lpd/lp/dfA331trot.local
-rw------- 1 daemon lp 190 Feb 12 13:55 /var/spool/lpd/lp/general.cfg
-rw------- 1 daemon lp 599 Feb 12 13:56 /var/spool/lpd/lp/hfA214
-rw------- 1 daemon lp 600 Feb 12 14:03 /var/spool/lpd/lp/hfA331
-rw------- 1 daemon lp 0 Feb 12 14:03 /var/spool/lpd/lp/lock.pr
-rw------- 1 daemon lp 0 Feb 12 13:55 /var/spool/lpd/lp/log
-rw------- 1 daemon lp 2332 Feb 12 14:03 /var/spool/lpd/lp/lpq.0
-rw------- 1 daemon lp 342 Feb 12 13:55
/var/spool/lpd/lp/postscript.cfg
-rw------- 1 daemon lp 0 Feb 12 13:55 /var/spool/lpd/lp/status
-rw------- 1 daemon lp 0 Feb 12 13:55 /var/spool/lpd/lp/status.lp
-rw------- 1 daemon lp 3362 Feb 12 14:03 /var/spool/lpd/lp/status.pr
-rw------- 1 daemon lp 148 Feb 12 13:55 /var/spool/lpd/lp/textonly.cfg
-rw------- 1 daemon lp 6 Feb 12 14:03 /var/spool/lpd/lp/unspooler.pr
# ls -ld /dev/lp0
crw-rw---- 1 geo lp 6, 0 Mar 14 2002 /dev/lp0
(yes I changed the uid from root in an attempt to use it directly)
# lpd -V
LPRng-3.8.10, Copyright 1988-2002 Patrick Powell, <[EMAIL PROTECTED]>
Any ideas?
// George
--
GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229
Security Services, Web, Mail, mailto:[EMAIL PROTECTED]
Multimedia, DB, DNS and Metrics. http://www.galis.org/george
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------