I'm sure you've seen that subject line before.... I can't get Samba (via Swat) to see my CUPS printers at all. I've tried everything I can think of...the single network-connected printer is listed in CUPS and I've added it on the command-line (via printconf-tui). I can send a test page to it from the CUPS web-interface and also through the printconf-tui interface. I can "cat foo | lpr", so I am absolutely sure the printer is connected, usable and available. In smb.conf: printcap name = cups Also, I added these during the fight to get this working just in case...(all the paths exist and contain files that work). I've noticed that when I set up 'printers' it chooses "browseable = No" even when I choose 'Yes' - not sure how or why. [printers] path = /tmp guest account = lp printer admin = @ftp guest ok = Yes printable = Yes browseable = No [printers$] comment = printer_drivers path = /usr/share/postscript/ppd/en guest ok = Yes [print$] path = /data/print_drivers guest ok = Yes Please help...I really need to get this up and running ASAP. Thanks, GregW -------------- next part -------------- HTML attachment scrubbed and removed
-----[ GWEBSTER@ahbl.ca wrote on 05/30/02 11:36:54 AM -0700 ]----- --> I can't get Samba (via Swat) to see my CUPS printers at all. Have you restarted Samba after creating the printers in CUPS? I was expecting to find my new printers showing up as I added them through CUPS, but had to re-start SAMBA before they were showing up in the share list. I am also not sure about having [printers$] and [printers]. I only have [printers] and [print$]. The [print$] share works for the driver uploading and autoinstall on my clients. The [printers] share is for the "global" printer configuration ( eg: guest ok = no, etc. etc. ). --Ben-- ----------------------- Ben Griffith bgriffit@email.unc.edu -----------------------
-----[ GWEBSTER@ahbl.ca wrote on 5/30/2002 1:39 PM -0700 ]----- --> Would you mind sending me the applicable sections of your smb.conf? --> Also...do you have a file called printers.def somewhere on your system? I do not have a printers.def file. If I recall correctly, this was how older versions of samba tracked the printers/drivers. I am running 2.2.1a.>From the global section:------------------------------------- printcap name = lpstat load printers = yes printing = cups printer admin = @cas print command = lpr -r -P%p -J'%J' %s lpq command = lpstat -o %p lprm command = cancel %p-%j lppause command = lp -i %p-%j -H hold lpresume command = lp -i %p-%j -H resume queuepause command = /usr/bin/disable %p queueresume command = /usr/bin/enable %p ------------------------------------------ Other sections as follows: [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writeable = no printable = yes [print$] path = /etc/samba/drivers guest ok = no browseable = yes read only = yes write list = tech,root I am using domain security and I don't want un-authenticated users printing, hence all of the guest ok = no stuff. Maybe allow guests at first until it is working. Another thing to consider: are you running a firewall? Samba needs ports 137-139 for proper function. Also, what are the hosts allow/deny settings? Are you accidentally blocking yourself there? What does smbclient -L localhost get you? Maybe try just a simple share first. [test] path = /tmp guest ok = yes browseable = yes writeable = yes And see if you can see this listed in the smbclient output. --Ben-- ---------------------------- Ben Griffith bgriffit@email.unc.edu ----------------------------
Possibly Parallel Threads
- I will pay you $10US (via Paypal) out of my own pocket if you can solve this CUPS & Samba problem.
- WINS querying (Advanced)
- Problem uploading printer drivers
- I will pay you $10US (via Paypal) out of my own pocke t if you can solve this CUPS & Samba problem.
- FreeBSD 4.5, Samba 2.2.4_1, W2K client "printer prope rties cannot be displayed"