Samba probleme, Drucker funktioniert nicht

R9pxd

R9pxd

Tripel-As
Hallo zusammen ! Ich habe jetzt endlich Samba zum Laufengebrach. Nun kann ich mit meinem Windoofs Rechner Daten hin und her schieben :-) Leider kann ich aber aus einem mir nicht bekannten Grund drucken ?( ?( Ich habe den Drucker als Standart eingerichtet, aber er druckt einfach nicht ! Was habe ich vergessen ?

Hier mal ein auszug aus meiner samba.conf


# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
# $Id: smb.conf,v 1.2.4.6 2002/03/13 18:56:16 peloy Exp $
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic
# errors.
#

#======================= Global Settings =======================

[global]
log file = /var/log/samba/log.%m
dns proxy = no
server string = Fedora
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
socket options = TCP_NODELAY
obey pam restrictions = yes
password server = **********
workgroup = ********
os level = 20
encrypt passwords = true
syslog = 0
security = user
passwd program = /usr/bin/passwd %u
max log size = 1000


[Eigene_Dateien]
comment = Eigene Dateien
writeable = yes
public = yes
path = /home/********/Eigene_Dateien


[printers]
comment = All Printers
printable = yes
writable = no
create mode = 0700
public = no
path = /var/spool/samba
 
Benutzt du LPR oder Cups?

Falls du mit Cups druckst, muss du unter [global] folgendes
zusätzlich eintragen:

printing = cups
printcap name = cups
cups options = raw
 
Guten Morgenmo_no ?
Wie was ich nutze? Sorry, bin im bereichLinuxn och nicht so frisch :-(
Wo kann ich das denn heruasfinden :-?
 
Welche Distribution hast du denn?
Also eigentlich ist heutzutage Cups gang und gebe.
Es kann nicht schaden, wenn du die 3 Zeilen einfach mal der smb.conf hinzufügst.
Und Samba dann neu startest.
 
SO,ich habe jetzt meine samba.conf abgeändert :

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
# $Id: smb.conf,v 1.2.4.6 2002/03/13 18:56:16 peloy Exp $
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic
# errors.
#

#======================= Global Settings =======================

[global]
log file = /var/log/samba/log.%m
dns proxy = no
server string = Fedora
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
socket options = TCP_NODELAY
obey pam restrictions = yes
password server = ************
workgroup = alpha
os level = 20
encrypt passwords = true
syslog = 0
security = user
passwd program = /usr/bin/passwd %u
max log size = 1000
printing = cups
printcap name = cups
cups options = raw

[Eigene_Dateien]
comment = Eigene Dateien
writeable = yes
public = yes
path = /home/*****/Eigene_Dateien


[printers]
comment = All Printers
printable = yes
writable = no
create mode = 0700
public = no
path = /var/spool/samba

jetzt komme ich da garnichtmehr drauf :help:
 
SO,also aus irgendeinem nir nicht bekannten Grud, komme ich wieder min Windoof auf den Samba Server. Leider kann ich noch immer nicht drucken

Ich sehe im Windoof Druckercenter im oberen Fernster folgende Fehlermeldung :

Zugrief verweigert; keine Veerbindung möglich
 
Folgendes wäre wichtig zu wissen:

- Welches Linux hast du?
- Welches Windows?
- Welchen Drucker?
 
Also ich habe mir jetzt nochmal meine smb.conf angeschaut.
Das konnte ich gerstern nicht, da ich nicht daheim war.

Ich habe unter [global] folgendes:
load printers = yes
printcap cache time = 750
cups options = raw


------------------------------------------------------------
Folgendes steht NICHT drin:
printing = cups
printcap name = cups


Und bei [printers] folgendes:
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
printable = yes


Mit dieser Konfiguration kann bei mir der Windows Rechner drucken.
Probiere es mal so aus.
Eine andere Ursache, warum es nicht gehn könnte ist, dass Windows
den Druckertreiber installiert haben muss.
 
Den Druckertreiber habe ich auf Windoof bereits installiert, kannst du mal deine ganze smb.conf posten ? Habe das was du angegeben hast eingetragen, aber leider druckt der noch immer nicht :-)
 
Aber die Fragen, die ich dir anfangs gestellt habe, sind schon wichtig:
Welche Linux Distribution benutzt du?
(Cups oder LPR?)

Hier ist meine smb.conf

[global]

workgroup = workgroup
server string =
security = share
hosts allow = 192.168.1. 127.
log file = /var/log/samba.%m
max log size = 50

dns proxy = no
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
netbios name = mo

load printers = yes
printcap cache time = 750
cups options = raw

#============================ Share Definitions ==============================
[download]
msdfs proxy = no
path = /home/be/Download/
valid users = be mo

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
printable = yes
 
Cups und LPR sind zwei Arten mit denen Linux drucken kann.
Ähnlich wie beim Sound: Da gibt es auch zwei Treiberarten: Alsa und OSS
Früher gab es nur LPR. Mittlerweile hat Cups LPR mehr oder weniger abgelöst.
Welche Distribution hast du?
Daran kann man vielleicht rausfinden, welcher Druckertreiber standardmäßig installiert wird.
 
Linux Betriebssystem :Fedora Core 2
Windoof Betriebssystem : XP prof.
Druckertyp : HP Deskjet 930c usb
 
Also mit Fedora kenn ich mich nicht aus.
Unter Linux kannst du aber problemlos drucken?

Falls du KDE hast, klicke doch mal im KDE Kontrollzentrum auf
"Angeschlossene Geräte", "Drucker"

Was steht denn bei dir unten rechts bei "Aktuelles Drucksystem" ?
 
JUBEL, er druckt ! ich habe gesehn das der Drucker im Gnome Print Manager nicht freigegeben :bounce: :bounce: :bounce: :bounce: :bounce: :bounce: !

Vielen Dankf für deine Hilfe :tongue:
 
Bitte - dafür ist das Forum ja da, damit man sich gegenseitig hilft! :)
 
Ich werde Irre ! Jetzt kann ich von Windoof drucker, aber der Drucker spuckt nur weisses Papier aus. Der zieht das Papier nur durch ?( ?( ?( ?( ?(

Ich werde Irre
 
Zuletzt bearbeitet:
Wie sieht denn deine smb.conf jetzt aus?

Nimm vielleicht mal "cups options = raw" raus......
Ich musste es bei mir reinschreiben. Standardgemäß steht's nicht drin.
Bei mir hat der Drucker OHNE diese Option nur weiße Blätter ausgespuckt.
Vielleicht brauchst du sie nicht....

Vielleicht kannst im Gnome Print Manager ein paar weitere Einstellungen treffen...
(Ich habe ja KDE - kann dir also in diesem Punkt nicht weiterhelfen....)
 

Ähnliche Themen

Samba 4.9.5-Debian - Kennwort von unix übernehmen

NGINX bietet intern abgerufene Seiten nur zum Download an, extern geht's

Nginx als Reverse Proxy für Nextcloud und Emby

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Samba-Server mit Univention Corporate Server

Zurück
Oben