[Samba] Unable to see print queue from Windows

Joel Hammer Joel at HammersHome.com
Fri Apr 19 19:24:02 GMT 2002

Well, nobody has answered so I'll put in my two cents.
This problem sound familar. You might search the archives. Likely, someone
will give you a specific answer, something like use local drivers or some
such. However, while you are waiting for the truth, here are some thoughts:
By unable to open, I assume you mean when you click on the icon nothing
happens, that is, no print queue shows up. You might want to add more of the
commands that lprng uses, with their full path names, ie.
        lpq command = /usr/bin/lpq -Pps
        lprm command = /usr/bin/lprm -Pps %j
        lppause command = /usr/sbin/lpc hold z53 %j
        lpresume command = /usr/sbin/lpc release z53 %j              
It is assumed that your lpq command is really where you think it is, etc.
(which lpq and so on.)
But, I doubt that is the problem.
You might try easing up on your security, by using guest = ok as a test.
I find it useful to read the logs in this situation. You may have to
increase the log level.
You may find some hints in WinNT.txt and Printing.txt in

On Fri, Apr 19, 2002 at 10:19:35AM -0500, Dan Finch wrote:
> Using Samba 2.2.3a on a Linux Redhat 7.2 server.  I have configured a couple
> printers with LPRng.  I am able to fully use the printers from Linux.  When
> I browse the server from windows I can see all the printer shares I have
> setup.  I am able to open them and setup a print driver for them.  But if I
> try to open the printer after that I get Access denied, unable to connect
> accross the top of the printer box.  The interesting thing is I can print to
> the printer.
> I have checked the lpd.perms.  I just have DEFAULT ACCEPT in there atm.
> Listing below part of my smb.conf that has the printing information.
>    printcap name = /etc/printcap
>    load printers = yes
>    printing = lprng
> [printers]
>    comment = All Printers
>    path = /var/spool/samba
>    browseable = yes
>    guest ok = no
>    writable = no
>    printable = yes
>    print command = lpr -P%p -h -r %s
>    lpq command = lpq -P%p
>    lprm command = lprm -P%p %j
> Anyone have any ideas what I missed?
> Thanks for any input
> -- 
> 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