You have a default printing section, which uses lprng-style printers
(defined under global)

but the share islaser is a cups-style.  I've never seen printers shared
explicitly in smb.conf, rather they're defined in printcap.

While it can print, I don't use this server for printing at all. Here
are some selected lines from my config...

[global]
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   invalid users = root
   security = domain
   workgroup = AGHS
   password server = avonside
   netbios name = suspenders
   guest account = nobody
   guest ok = yes
   public = yes
   writeable = yes
   browseable = yes
   wide links = yes
   log level = 0
   getwd cache = yes
   max xmit = 65535
   bind interfaces only = yes
   interfaces = 192.168.1.12 127.0.0.1

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700



/etc/printcap is lprng bog-standard defaults...

##LPRNGTOOL## DIRECT lj4dith 600x600 a4 {} LaserJet4dither Default 1
m110laser
:sd=/var/spool/lpd/m110laser
:ml=0
:mx=0
:af=/var/spool/lpd/m110laser/acct
:lf=/var/spool/lpd/m110laser/log
:cd=/var/spool/lpd/m110laser
:lp=/dev/null
:if=/usr/share/lprngtool/master-filter
:



On Fri, 2002-06-21 at 11:59, Jeremy Bertenshaw wrote:
> Yep, everything else works fine, never had issues with
> samba until i tried to get printing going ;-).
> 
> It appears to be a common problem, but wading thru all
> the junk on the net about the problem is not proving to
> be working too well.
> 
> jeremyb.
> 
> smb.conf:
> 
> # Samba config file created using SWAT
> # from web-scanner.agriquality.co.nz (127.0.0.1)
> # Date: 2002/06/21 12:44:45
> 
> # Global parameters
> [global]
>       workgroup = MQM
>       netbios name = WEB-SCANNER
>       server string = Linux Server
>       encrypt passwords = Yes
>       obey pam restrictions = Yes
>       pam password change = Yes
>       passwd program = /usr/bin/passwd %u
>       passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
>*passwd:*all*authentication*tokens*updated*successfully*
>       unix password sync = Yes
>       log file = /var/log/samba/%m.log
>       max log size = 0
>       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>       dns proxy = No
>       printing = lprng
> 
> [homes]
>       comment = Home Directories
>       valid users = %S
>       read only = No
>       create mask = 0664
>       directory mask = 0775
>       browseable = No
> 
> [printers]
>       comment = All Printers
>       path = /var/spool/samba
>       printable = Yes
>       browseable = No
> 
> [www]
>       path = /var/www
>       read only = No
> 
> [islaser]
>       comment = IS Laser 1
>       path = /var/spool/samba
>       read only = No
>       guest ok = Yes
>       printable = Yes
>       printing = cups
>       printer name = islaser
>       oplocks = No
> 

Reply via email to