Hi,
I've recently installed LPRng 3.6.22, ifhp 3.3.19, and
Samba 2.0.7 on my FreeBSD 4.1 system. Printing works
fine from the FreeBSD machine, and I am able to access
shares via my Win2000 machine. I've configured a
[printers] section in smb.conf, and I am able to see
the LaserJet 2100 when browsing, but on installing it
I am unable to print to it. I get en error connecting
the printer message, nothing else.
Can anyone steer me in the right direction? Copied
below are my smb.conf and printcap settings. I've not
inlcluded ifhp.conf, lpd.conf or lpd.perms as these
are stock and have not been modified.
Please Reply to All, as I've not been receiving e-mail
from Samba or LPRng of late.
Thanks in advance,
John
Files follow:
/usr/local/etc/smb.conf
-----------------------
[global]
workgroup = ALLIED
netbios name = BASIL
server string = Samba %v on (%L)
hosts allow = 192.168.1. localhost
hosts deny = ALL EXCEPT .private.network
log level = 1
log file = /var/log/samba.log.%m
max log size = 50
debug timestamp = Yes
os level = 34
local master = Yes
preferred master = Yes
encrypt passwords = Yes
[homes]
browseable = No
writeable = Yes
[downloads]
path = /home/downloads
browseable = Yes
comment = Downloads Drive
volume = Downloads
writeable = Yes
guest ok = Yes
[printers]
path = /var/spool/samba
guest ok = No
print ok = Yes
printing = lprng
load printers = Yes
printcap name = /etc/printcap
print command = /usr/local/bin/lpr -P%p -U%U@%M -r %s
lpq command = /usr/local/bin/lpq -P%p -U%U@%M
lprm command = /usr/local/bin/lprm -P%p -U%U@%M %j
lppause command = /usr/local/sbin/lpc -U%U@%M hold %p
%j
lpresume command = /usr/local/sbin/lpc -U%U@%M
release %p %j
queuepause command = /usr/local/sbin/lpc -U%U@%M -P%p
stop
queueresume command = /usr/local/sbin/lpc -U%U@%M
-P%p start
/etc/printcap
-------------
# Printcap file
# VERSION=3.6.22
lp|amigita
:lp=/dev/lpt0
:sd=/var/spool/lpd/%P
:ifhp=model=hp2100,status@
:filter=/usr/local/libexec/filters/ifhp
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------