[Samba] Cann't get Windows XP system to find Samba printers

David Rankin drankin at cox-internet.com
Mon Nov 29 02:40:56 GMT 2004



Jeff,

    I have my laserjet working well. I have pasted bits and pieces of my 
config for comparison below:

>I have a Brothre HL-1440 laser on my Linux system I wish to share. But, I 
>can not get the Windows system to "see" it. I already have disk shares That 
>the windows system can access, so something is working Here is my entries 
>in smb.conf
>   load printers = yes
>   printcap name = cups
>   printing = cups
>   security = share
> [printers]
>   comment = All Printers
>   browseable = yes
>   printable = yes
>   public = yes
>   create mode = 0700
>   guest only = yes
>   use client driver = yes
>   guest account = smbprint
>   path = /home/smbprint
>

Try
[printers]

            comment = The Printers

            path = /var/spool/samba

            guest ok = Yes

            public = Yes

            writeable = no

            printable = Yes

            browseable = no


> in cups.conf
> <Location /printers>
> #
> # You may wish to limit access to printers and classes, either with Allow
> # and Deny lines, or by requiring a username and password.
> #
> AuthType None
> Order Deny,Allow
> Deny From None
> Allow From All
> </Location>
>
> mine.convs
> application/octet-stream        application/vnd.cups-raw        0       -
>
> mime.types
> application/octet-stream
>
> But, when I try to add a network printer on the XP system it lists the 
> network and the name of the Linux system. But, no printers under the Linux 
> system.
>
> Running cups adminisration shows the printer named 1440 and ready for 
> jobs.
>
> What else do I need to do?
>
> tj
>

Mine works like this:

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From @LOCAL
</Location>

#<Location /printers>
#
# You may wish to limit access to printers and classes (I don't use this at 
all)
#
#</Location>




Make sure cups has created the printers.conf for your printer (example):

# Printer configuration file for CUPS v1.1.19

# Written by cupsd on Mon 17 May 2004 06:57:09 PM CDT

<DefaultPrinter HP_LJ4>

Info HP Laserjet 4

Location

DeviceURI parallel:/dev/lp0

State Idle

Accepting Yes

JobSheets none none

QuotaPeriod 0

PageLimit 0

KLimit 0

</Printer>



Also, are you able to access cups via http://localhost:631
>
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba 



More information about the samba mailing list