Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 13:38:04 -0700 (PDT)
From:      John Johnson <ioann_j@yahoo.com>
To:        lprng@lprng.com, freebsd-questions@FreeBSD.ORG, samba@samba.org
Subject:   Printing to Samba 2.0.7 from Windows 2000
Message-ID:  <20000811203804.26171.qmail@web4101.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000811203804.26171.qmail>