[Samba] Samba/CUPS new printer not showing up, must restart

Bradley W. Langhorst brad at langhorst.com
Thu Dec 12 19:15:02 GMT 2002


On Thu, 2002-12-12 at 14:01, Jason Jeremias wrote:
> Someone please say it isn't so.  I'm running Samba 2.2.7 on Linux, 
> compiled from source.  I use CUPS for my printing needs and I have samba 
> setup to load printers.  
> 
> I'm having 2 problems:
> 
> 1) if I add a new printer to CUPS (which in turn adds it to 
> /etc/printcap) it doesn't show up in Samba.  I've tried to -HUP the smbd 
> process to get the printer to show up and that didn't work.
> 
> Here are my relevent settings in smb.conf
> 
>     printcap name = lpstat
try
printcap name = /etc/printcap.cups

instead
> 
> 2) Even thought I have samba setup to print using this command:
> 
> print command = /usr/bin/lpr -P %p -o raw %s -J'%J' -r
> 
> It doesn't seem to be removing the jobs out of my /var/spool/samba 
> directory when they are complete, any Ideas why?
If i remember correctly, when you use cups the print command is ignored
- instead the files are sent to cups directly.

you might try setting printing to bsd if you want to use lpr to submit
jobs.

brad

> 
> Bradley W. Langhorst <brad at langhorst.com>




More information about the samba mailing list