Printer problem

Peer Ueberholz peer at ueberholz.de
Fri Nov 17 08:09:51 GMT 2000


Hi,

I'm a completely new Samba user. I just installed with the SUSE 7.0
distribution the Samba package on my PC as Samba server and have one
Windows 98 client. I created the smb.conf-file with SWAT.

The access to the directories on the window client works fine, but I
don't get the access of to the printer attached to the Linux PC to work
from
the Windows client. Unfortunately everything is in German, but I did
my best to translate to English.

I see the printers in the Network Neighborhood on the Client.
When I want to install the Samba-printer on the client, I come to the
point when I am asked to give a name to the printer. After pressing the
Next button,
I get the following message (translated form German):

The printer could not be initialized. Stop all programs, restart
windows and repeat everything again. Contact your system administrator
if the error occurred again.

Thats all. Restarting doesn't held at all. There is no message in the
log-files on the Samba-Server.

I tried lots of changes in the smb.conf file without getting any
difference.  Is there an error in my Samba, Linux or Windows
configuration?
I have no idea anymore what the problem is.

I appended the smb.conf and printcap file.

I would be nice if someone could help me

Thank you very much,

Peer

------------smb.conf-----------------

# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2000/11/17 08:13:50

# Global parameters
[global]
        workgroup = ZU-HAUSE
        netbios name = MEIN-SERVER
        server string = Samba %v
        security = SHARE
        encrypt passwords = Yes
        null passwords = Yes
        password level = 2
        printing = BSD
        print command = /usr/bin/lpr -r %s
        log file = /var/log/samba-log.%m
        keepalive = 30
        read prediction = Yes
        config file = /etc/smb.conf
        message command = csh -c '/usr/bin/X11/xedit -display :0 %s;rm
%s' &
        valid chars = ö:Ö å:Å ä:Ä
        hosts allow = 192.168. localhost
        strict locking = Yes

[tmp]
        comment = tmp files
        path = /tmp
        writeable = Yes
        create mask = 0775
        guest ok = Yes
        browseable = No
        strict locking = No

[cdrom]
        comment = Servers cdrom
        path = /misc/cdrom
        guest ok = Yes
        locking = No

[peer]
        comment = Meine Dateien
        path = /home/peer
        writeable = Yes
        guest ok = Yes

[guest]
        comment = Für alle
        path = /home/guest
        writeable = Yes
        guest ok = Yes

[printers]
        comment = All Printers
        path = /tmp
        guest account = peer
        create mask = 0700
        printable = Yes
        browseable = No

[ascii]
        comment = stcolor-a4-ascii-mono-360
        path = /tmp
        guest account = peer
        writeable = Yes
        create mask = 0700
        guest ok = Yes
        printable = Yes
        printer = ascii
        oplocks = No
        share modes = No

[lp2]
        comment = stcolor-a4-auto-mono-360
        path = /tmp
        guest account = peer
        writeable = Yes
        create mask = 0700
        guest ok = Yes
        printable = Yes
        printer = lp2
        oplocks = No
        share modes = No

[stcolor-a4-raw]
        comment = stcolor a4 raw
        path = /tmp
        guest account = peer
        writeable = Yes
        create mask = 0700
        guest ok = Yes
        printable = Yes
        printer = stcolor-a4-raw
        oplocks = No
        share modes = No



--------------printcap------------------------

### BEGIN apsfilter: ### stcolor a4 mono 360 ###
#   Warning: Configured for apsfilter, do not edit the labels!
#            apsfilter setup Wed Oct 25 09:54:28 MEST 2000
#
ascii|lp1|stcolor-a4-ascii-mono-360|stcolor a4 ascii mono 360:\
        :lp=/dev/lp0:\
        :sd=/var/spool/lpd/stcolor-a4-ascii-mono-360:\
        :lf=/var/spool/lpd/stcolor-a4-ascii-mono-360/log:\
        :af=/var/spool/lpd/stcolor-a4-ascii-mono-360/acct:\
        :if=/var/lib/apsfilter/bin/stcolor-a4-ascii-mono-360:\
        :la@:mx#0:\
        :tr=:cl:sh:sf:
#
lp|lp2|stcolor-a4-auto-mono-360|stcolor a4 auto mono 360:\
        :lp=/dev/lp0:\
        :sd=/var/spool/lpd/stcolor-a4-auto-mono-360:\
        :lf=/var/spool/lpd/stcolor-a4-auto-mono-360/log:\
        :af=/var/spool/lpd/stcolor-a4-auto-mono-360/acct:\
        :if=/var/lib/apsfilter/bin/stcolor-a4-auto-mono-360:\
        :la@:mx#0:\
        :tr=:cl:sh:sf:
#
raw|lp3|stcolor-a4-raw|stcolor a4 raw:\
        :lp=/dev/lp0:\
        :sd=/var/spool/lpd/stcolor-a4-raw:\
        :lf=/var/spool/lpd/stcolor-a4-raw/log:\
        :af=/var/spool/lpd/stcolor-a4-raw/acct:\
        :if=/var/lib/apsfilter/bin/stcolor-a4-raw:\
        :la@:mx#0:\
        :tr=:cl:sh:sf:
#
### END   apsfilter: ### stcolor a4 mono 360 ###



raw|lp3|stcolor-a4-raw|stcolor a4 raw:\
        :lp=/dev/lp0:\
        :sd=/var/spool/lpd/stcolor-a4-raw:\
        :lf=/var/spool/lpd/stcolor-a4-raw/log:\
        :af=/var/spool/lpd/stcolor-a4-raw/acct:\
        :if=/var/lib/apsfilter/bin/stcolor-a4-raw:\
        :la@:mx#0:\
        :tr=:cl:sh:sf:
#
### END   apsfilter: ### stcolor a4 mono 360 ###








More information about the samba mailing list