Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I have an HP Officejet connected via USB to my Ubuntu 7.04 server (192.168.2.10). Network is up and running and sharing folders with Samba works. The printer also prints ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    5

    Samba network printing not working


    Hi,

    I have an HP Officejet connected via USB to my Ubuntu 7.04 server (192.168.2.10). Network is up and running and sharing folders with Samba works. The printer also prints fine when I print something from the server.

    Now I would like to share this printer with other Linux and Win computers on the network. My smb.conf is at the end of this post.

    My problem:
    When I 'add printer' on a Win client, it finds the network printer, but then says: "The server for the printer does not have the correct printer driver installed." I can then select an appropriate driver from the list (HP Officejet) and the printer gets added to the list of printers, however the status shows
    "Access denied, unable to access" and it won't even print a test page.
    Thanks for your help!
    hmhmhm

    smb.conf:

    [global]
    netbios name = server1
    server string = server1
    workgroup = workgroup
    security = user
    encrypt passwords = yes
    smb passwd file = /etc/samba/smbpasswd
    log file = /var/log/samba/%m.log
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    wins support = yes
    ; hostname lookups = yes
    ; hosts equiv = /etc/hosts
    hosts allow = 192.168.2.0/255.255.255.0 localhost
    hosts deny = All
    interfaces = eth0 eth1 lo bond0
    bind interfaces only = yes
    guest ok = yes
    browse list = yes
    printcap name = cups
    printing = cups
    load printers = yes

    [public]
    path = /home/public
    comment = Shared folders
    guest ok = yes
    create mode = 0766
    browseable = yes
    public = yes
    read only = no

    [home_dir]
    comment = User's home directory
    path = /home/%U
    read only = no
    valid users = %U root

    [printers]
    comment = All Printers
    path = /var/spool/samba
    create mask = 0700
    printable = Yes
    browseable = Yes

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    guest ok = yes
    browseable = yes
    read only = yes

  2. #2
    Linux Newbie jnike's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    120

    Post

    hmhmhm,

    I have had a quick look at your smb.conf, try changing the following entry;

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    guest ok = yes
    browseable = yes
    read only = yes

    to

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    guest ok = yes
    browseable = yes
    read only = no

    I hope you have this helpful...


    Jnike

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Posts
    5
    thanks for that, but didn't make a difference ;-(

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie jnike's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    120

    Post

    Hi hmhmhm,

    I have had another throught, try changing the permissions on the following;


    [printers]
    comment = All Printers
    path = /var/spool/samba
    create mask = 0700
    printable = Yes
    browseable = Yes

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    guest ok = yes
    browseable = yes
    read only = yes

    to


    [printers]
    comment = All Printers
    path = /var/spool/samba
    create mask = 0766
    printable = Yes
    browseable = Yes

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    create mask = 0766
    guest ok = yes
    browseable = yes
    read only = no

    I hope this help's.

    Jnike

  6. #5
    Just Joined!
    Join Date
    Sep 2007
    Posts
    5
    Hi,
    I managed to resolve it by using this link:
    Gentoo Forums :: View topic - HOWTO - Samba & CUPS 6.0 Windows Postscript Drivers

    Thanks for your help!
    hmhmhm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •