Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 14:35:53 -0700 (PDT)
From:      John H Terpstra <jht@turbolinux.com>
To:        lprng@lprng.com
Cc:        freebsd-questions@FreeBSD.ORG, samba@samba.org
Subject:   Re: LPRng: Printing to Samba 2.0.7 from Windows 2000
Message-ID:  <Pine.LNX.4.20.0008111433130.19778-100000@mail.turbolinux.com>
In-Reply-To: <20000811203804.26171.qmail@web4101.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John,

You need to install the printer as if you are going to print to a local
parallel port attached printer. This allows you to install the printer
drivers your Win2K system needs. Then, BEFORE trying to print you need to
change the printer connection in Device/Details to print to
\\Server\printer.

Samba 2.0.7 does not yet support NTspoolss protocols (coming in
samba-2.2.0) so you need to use the above work-around for now.

---
John H Terpstra
Samba-Team
_and_
VP Community Relations
Linux Evangelist
TurboLinux, Inc.
Phone: +1 650 315 7003

On Fri, 11 Aug 2000, John Johnson wrote:

> 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 majordomo@lprng.com (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 majordomo@lprng.com
> with:                           | example:
> subscribe LIST <mailaddr>       |  subscribe lprng-digest list@server.com
> unsubscribe LIST <mailaddr>     |  unsubscribe lprng myname@host.org
> 
> If you have major problems,  send email to papowell@astart.com with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
> 



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?Pine.LNX.4.20.0008111433130.19778-100000>