Try this .....

[printers]
    printing = cups
    comment = All Printers
    path = /var/spool/samba
    create mask = 0700
    guest ok = Yes
    print ok = Yes
    browseable = No

[HP4L]
    comment = HP Laserjet 4L
    path = /var/spool/samba
    read only = No
    create mask = 0700
    guest ok = Yes
    print ok = Yes
    oplocks = True
    use client driver = yes


Regards Phill

Net Connection Pty Ltd
http://www.netconnection.com.au
Ph: 0405 133 829

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 15, 2003 5:56 PM
Subject: Can't print


> Dear All
>
> I've a mental block here, can someone help?
>
> I have samba 2.2.5-UL (United Linux) running on Suse Enterprise 8.
>
> I am using CUPS to print. I can logon to the linux server via my linux
> username and print successfully to the printer.
> eg. lp -dhp5000sw /etc/hosts
>
> I have gone to the directory /var/spool/cups as my linux user and can
> create /delete files in there.
>
> I can logon to Cups Admin and print a test page.
>
> If in install the printer via network neighbourhood i get told "unable to
> connect - access is denied"
>
> I use the Webmin tool and view my samba connections and can see that "I"
am
> attached to the server on the IPC$ share.
>
> here are my conf files:
>
> smb.conf:
>
> # Samba config file created using SWAT
> # from 0.0.0.0 (0.0.0.0)
> # Date: 2003/07/08 11:51:07
>
> # Global parameters
> [global]
>      unix extensions = Yes
>      netbios name = NEWTON6
>      socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
>      path = /var/spool/cups/
>      workgroup = NTG-X
>      os level = 2
>      time server = Yes
>      encrypt passwords = Yes
>      syslog = 0
>      veto files = /*.eml/*.nws/riched20.dll/*.{*}/
>      log level = 1
>
>      load printers = yes
>      printing = cups
>      printcap name = cups
>
> [homes]
>      comment = Home Directories
>      valid users = %S
>      read only = No
>      create mask = 0640
>      directory mask = 0750
>      browseable = No
>
> [printers]
>      comment = All Printers
>      create mask = 0600
>      browseable = no
>      public = yes
>      guest ok = yes
>      writable = no
>      printable = yes
>      path = /var/spool/cups
>      printer admin = root
>
> [print$]
>      comment = Printer Drivers
>      path = /var/lib/samba/drivers
>      write list =  root
>      create mask = 0664
>      directory mask = 0775
>      guest ok = no
>      read only = yes
>
>
> [5000sw]
>      printer = hp5000sw
>      printable = yes
>      guest ok = yes
>
>
> log.smbd
> ========
>
>
>


Reply via email to