[Samba] Setting up a cups printer

Kurt Pfeifle kpfeifle at danka.de
Sat Jun 21 13:22:39 GMT 2003


> Message: 24
> Date: Sat, 21 Jun 2003 12:59:57 +0100
> From: Darrell Blake <darrell at dunmanifestin.co.uk>
> Subject: [Samba] Setting up a cups printer
> To: samba at lists.samba.org
> Message-ID: <200306211259.57095.darrell at dunmanifestin.co.uk>
> Content-Type: text/plain;  charset="us-ascii"
> 
> I'm trying to set up a cups printer but I don't know much about printing in 
> linux and am a bit confused.

Here is the document you are looking for:

    http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/

(PDF and HTML).

> I've installed a printer in cups using the web 
> interface and it works fine. All the tutorials I've read though refer to 
> /var/spool/lpd/lp

You've read the wrong tutorials for your case....  ;-)

> but on my system this doesn't exist. I'm guessing this is 
> because I'm not using lpd, I'm using cups. There are a few files in 
> /var/spool/cups but they're c00001 to c00005. Can someone shed some light on 
> my problem? My [printer] section on smb.conf currently looks like this...
> 
> [printer]
>         browseable = yes
>         path = /var/spool/lpd/lp

Don't use the same spool dir for Samba as you use for the printing
daemon! (since CUPS uses /var/spool/cups/ yours is OK, but I'd suggest
to use "telling" names....)

>         read only = yes
>         printable = yes
>         guest ok = yes
> 
> Please help,
> 

Probably all that is missing is the "load printers = yes" (in the
[global] section. Then your printer should at least be "visible".
Installing a driver for the Win clients then is the next step...
(See link above).

> Darrell

Cheers,
Kurt




More information about the samba mailing list