[prev in list] [next in list] [prev in thread] [next in thread]
List: samba
Subject: Multiple TCP/IP printers and smb
From: David Sonenberg <dave () webfacts ! com>
Date: 1999-08-31 16:42:40
[Download RAW message or body]
I am having trouble setting up our two HP TCP/IP printers under samba.
Both of these printers are listed in the /etc/printcap and printing
works fine from linux. Bellow is a copy of the /etc/smb.conf file:
; /etc/smb.conf
;
; Make sure and restart the server after making changes to this
file, ex:
; /etc/rc.d/init.d/smb stop
; /etc/rc.d/init.d/smb start
[global]
printing = bsd
printcap name = /etc/printcap
load printers = yes
guest account = nobody
smb passwd file = /usr/private/smbpasswd
log file = /var/log/samba-log.%m
lock directory = /var/lock/samba
share modes = yes
workgroup = WebFacts Inc.
[homes]
comment = Home Directories
browseable = no
public = yes
read only = no
; create mode = 0777
writable = yes
preserve case = yes
short preserve case = yes
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
[Metis]
comment = Developer's shared space
path = /export/dev/shared
read only = no
public = yes
preserve case = yes
short preserve case = yes
[printers]
comment = All Printers
browseable = no
printable = yes
public = yes
writable = no
create mode = 0700
[lp]
path = /var/spool/lpd/lp
printer name = lp
read only = No
writable = yes
public = yes
printable = yes
print command = lpr -r -h -P %p %s
[lp0]
path = /var/spool/lpd/lp0
printer name = lp0
read only = No
writable = yes
public = yes
printable = yes
print command = lpr -r -h -P %p %s
Any help would be appreciated.
--
David Sonenberg
System Administrator
Webfacts, Inc.
[Attachment #3 (text/html)]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I am having trouble setting up our two HP TCP/IP printers under samba.
<br>Both of these printers are listed in the /etc/printcap and printing
<br>works fine from linux. Bellow is a copy of the /etc/smb.conf
file:
<br>
<p> ; /etc/smb.conf
<br> ;
<br> ; Make sure and restart the server after making
changes to this file, ex:
<br> ; /etc/rc.d/init.d/smb stop
<br> ; /etc/rc.d/init.d/smb start
<p> [global]
<br> printing = bsd
<br> printcap name = /etc/printcap
<br> load printers = yes
<br> guest account = nobody
<br> smb passwd file = /usr/private/smbpasswd
<br> log file = /var/log/samba-log.%m
<br> lock directory = /var/lock/samba
<br> share modes = yes
<br> workgroup = WebFacts Inc.
<p> [homes]
<br> comment = Home Directories
<br> browseable = no
<br> public = yes
<br> read only = no
<br>; create mode = 0777
<br> writable = yes
<br> preserve case = yes
<br> short preserve case = yes
<p> [tmp]
<br> comment = Temporary file
space
<br> path = /tmp
<br> read only = no
<br> public = yes
<p> [Metis]
<br> comment = Developer's shared
space
<br> path = /export/dev/shared
<br> read only = no
<br> public = yes
<br> preserve case = yes
<br> short preserve case = yes
<p> [printers]
<br> comment = All Printers
<br> browseable = no
<br> printable = yes
<br> public = yes
<br> writable = no
<br> create mode = 0700
<p> [lp]
<br> path = /var/spool/lpd/lp
<br> printer name = lp
<br> read only = No
<br> writable = yes
<br> public = yes
<br> printable = yes
<br> print command = lpr -r -h
-P %p %s
<p> [lp0]
<br> path = /var/spool/lpd/lp0
<br> printer name = lp0
<br> read only = No
<br> writable = yes
<br> public = yes
<br> printable = yes
<br> print command = lpr -r -h
-P %p %s
<p>Any help would be appreciated.
<pre>--
David Sonenberg
System Administrator
Webfacts, Inc.</pre>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic