[Samba] printer drivers

Alex Meaden alex at meaden.net
Mon Jun 10 16:11:03 GMT 2002


----- Original Message -----
From: "mark" <mark at mebrosius.com>
To: "Alex Meaden" <alex at meaden.net>; <samba at lists.samba.org>
Sent: Tuesday, June 11, 2002 12:02 AM
Subject: Re: [Samba] printer drivers


> Alex,
> Thank for your help but I still can't print.   Here is my smb.conf file.
>  My file sharing works but not my printer.  Can you see what I'm doing
> wrong?

I'm not that you should have a "[Printer]" share in your smb.conf. If you
open \\mark from a Windows PC, and then double-click the Printers folder,
what if anything is listed?

Alex.

> [global]
>         workgroup = K9PC
>         netbios name = MARK
>         server string = Samba Server %v
>         encrypt passwords = Yes
>         log file = /var/log/samba/log.%m
>         max log size = 50
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         printcap name = lpstat
>         dns proxy = No
>         wins support = Yes
>         hosts allow = 127.0.0. 192.168.1.
>         printing = cups
>
> [homes]
>         comment = Home Directories
>         read only = No
>         browseable = No
>
> [printers]
>         comment = All Printers
>         path = /var/spool/samba
>         create mask = 0700
>         guest ok = Yes
>         printable = Yes
>         print command = lpr-cups -P %p -o raw %s -r   # using client
> side printer drivers.
>         lpq command = lpstat -o %p
>         lprm command = cancel %p-%j
>         browseable = No
>
> [elaine]
>         path = /home/elaine
>
> [Printer]
>         path = /tmp
>         guest ok = Yes
>         printable = Yes





More information about the samba mailing list