PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : SuSE 8.0 Printserver



rolux
22.08.02, 20:08
Hallo zusammen,

folgende Drucker hat SuSE 8.0 eigerichtet:

color Paralleler Drucker auf /dev/lp0 (Farbdruck 360 dpi, Treiber "uniprint")
high Paralleler Drucker auf /dev/lp0 (Farbdruck 720 dpi, Treiber "uniprint")
lp Paralleler Drucker auf /dev/lp0 (Schwarzweiß-Druck 360 dpi, Treiber "bjc600")

Was muß ich in der smb.conf eintragen, um diese Drucker von NT aus nutzen zu können? So sieht sie jetzt aus; ein Verzeichnis "Drucker" wird zwar auf den Nt-Maschinen angezeigt, ist aber leer.
--------schnipp----------------
;
; /etc/smb.conf
;
; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.
;
[global]
workgroup = home.lan
server string = SAMBA %v
netbios name = eddi
keep alive = 30
os level = 2
kernel oplocks = false
security = share

[DATEN]
comment = Dateiablage
path = /daten
read only = no
create mask = 40777
directory mask = 40777
guest ok = yes
hosts allow = 172.16.200.11 172.16.200.12

[ARCHIV]
comment = Software u. Daten
path = /archiv
read only = no
create mask = 40777
directory mask = 40777
guest ok = yes
hosts allow = 172.16.200.11 172.16.200.12

; Uncomment the following, if you want to use an existing
; NT-Server to authenticate users, but don't forget that
; you also have to create them locally!!!
; security = server
; password server = 192.168.1.10

encrypt passwords = yes

printing = bsd
printcap name = /etc/printcap
load printers = yes

socket options = TCP_NODELAY

map to guest = Bad User

; Uncomment this, if you want to integrate your server
; into an existing net e.g. with NT-WS to prevent nettraffic
; local master = no

; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.
; interfaces = 192.168.1.1/255.255.255.0

; If you want Samba to act as a wins server, please set
; 'wins support = yes'
wins support = no

; If you want Samba to use an existing wins server,
; please uncomment the following line and replace
; the dummy with the wins server's ip number.
; wins server = 192.168.1.1

; Do you wan't samba to act as a logon-server for
; your windows 95/98 clients, so uncomment the
; following:
; logon script =%U.bat
; domain logons = yes
; domain master = yes
; [netlogon]
; path = /netlogon


[homes]
comment = home-directory
browseable = no
read only = no
create mode = 0750

; The following share gives all users access to the Server's CD drive,
; assuming it is mounted under /cd. To enable this share, please remove
; the semicolons before the lines
;
; [cdrom]
; comment = Linux CD-ROM
; path = /cdrom
; read only = yes
; locking = no

[printers]
comment = All Printers
browseable = no
printable = yes
public = no
read only = yes
create mode = 0700
directory = /tmp

-----------schnapp-----------
Welche Dateien muß ich außerdem noch editieren?
Gruß,
rolux
-----------------
P.S.
Ich bin kein Linuxprofi

TuxFan
23.08.02, 05:07
Kenn ich mich auch nicht so aus, aber da ich nicht schalfen kann guck ich mal im Buch.

Da steht das du folgendes eintragen musst

[printer1]
printable = yes
print command = /usr/bin/lpr -r %s # Hier musst du sicher gucken ob die bei dir da ist
printer = lp # Da soll der Name deines Druckers stehen /etc/printcap
printing = BSD
read only = yes
guest ok = yes

Soll nur eine Hilfestellung sein,.... steht so im O'Reilly Buch

rolux
23.08.02, 11:43
Danke für deinen Tipp :)

Gruss vom Niederrhein,
rolux

rolux
24.08.02, 16:19
:)
Funktioniert prima - ich hatte auch vergessen die printer auf "browseable = yes" zu setzen.

Nochmals herzlichen Dank und ein schönes Wochenende,
rolux