[Samba] Win7 Printing Issue

Ray Manny raymanny at yahoo.com
Mon Sep 2 08:07:45 MDT 2013



I have a Fedora 17 Linux box and a HP Laser Jet Professional P1102 
attached via USB cable. I can send print job to this printer from the Linux box and it works fine. I use CUPS system for printing. I have another computer 
laptop that has Windows 7 as the operating system and I like to share 
files and printer that is attached to this Linux box. Therefore, I 
decided to install Samba version 3.6.12-1 and set the file and printer 
sharing as it is recommended by the following site:

https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html

When I go to my PC I can see the hp laser jet printer Icon in the Network window. I set this hp laser jet as my default printer. I tried to print a file from Microsoft Words but nothing comes out of the server printer.

In the following I have the section of the Samba and smb.conf

 ====== Global Settings =======

 workgroup = workgroup
 server string = Samba Server Version %v
 hosts allow = 127. 192.168.1.
printcap name = cups
printing = cups

===== Standalone Server Options====
security = share

==== Printing Options===
cups options = raw

===Share Definitions===

[homes]
        comment = Home Directories
        browseable = no
        writable = yes
        valid users = %S

[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = no
        guest ok = yes
        writable = no
        use client driver = yes
        printable = yes

[allusers]
        comment = All Users
        path = /home/shares/allusers
        valid users = Rayman
        force group = users
        create mask = 0600
        directory mask = 0771
        writable = yes
;       browseable = yes


The result of     testparm is:

Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
    server string = Samba Server Version %v
    security = SHARE
    log file = /var/log/samba/log.%m
    max log size = 50
    printcap name = cups
    idmap config * : backend = tdb
    hosts allow = 127., 192.168.1.
    cups options = raw

[homes]
    comment = Home Directories
    valid users = %S
    read only = No
    browseable = No

[printers]
    comment = All Printers
    path = /var/spool/samba
    guest ok = Yes
    printable = Yes
    print ok = Yes
    use client driver = Yes
    browseable = No

[allusers]
    comment = All Users
    path = /home/shares/allusers
    valid users = Rayman
    force group = users
    read only = No
    create mask = 0600
    directory mask = 0771




Please let me know what I am missing that nothing gets printed.

 
sincerely,
Ray


More information about the samba mailing list