[Samba] printing fails

Stefan Schilling mail.suse at gmx.de
Sat May 11 04:26:03 GMT 2002


Hello!

I´ve got trouble to print via Samba. But read to the end to
understand:
My printer (a Canon BJC 620) is connected to a Win98 box. Its
network name is canon. The /etc/printcap entry is:

---/etc/printcap---

lp|smb|canon:\
        :cm=unser Drucker:\
        :sd=/var/spool/lpd/smb:\
        :af=/var/spool/lpd/smb/acct:\
        :if=/usr/local/samba/bin/smbprint:\
        :mx=0:\
        :lp=/dev/null:
        
---/etc/printcap---

I´m using the standard /etc/smb.conf printer settings as the
follow:

---/etc/smb.conf---
[global]
        printing = BSD
        printcap name = /etc/printcap
        load printers = yes
        workgroup = WOHER
        interfaces = eth*
        map to guest = Bad User
        keepalive = 30
        logon script = %U.bat
        domain logons = Yes
        os level = 2
        domain master = True
        kernel oplocks = No

[printers]
        path = /tmp
        comment = All Printers
        printable = yes
        create mask = 0700
---/etc/smb.conf---

Now I can print text files from the Linuxbox to win98. This works
fine BUT that´s not, what I want to archieve. I´ve got a 2nd
Win98 box that is supposed to use this printer via Samba (the
Win98 boxes work on different times). So Samba´s job is to spool
the printing job.
I can see the printer in the "Neighbourhood", I can install it
and it also starts to print the first 2 lines, but no more. It
just stopps. Do you have any idea, what can be changed to make it
usable. The orig. Printertool cannot be used, it´s looking for a
second share "wps", but copying the files doesnt work. Also
printer drivers without this tool dont help.

Thanks for any idea.

Bye. Stefan





More information about the samba mailing list