No option in CUPS to print via SMB, smbclient *is* installed
I hope I'm posting this in the right forum. Basically, I'm running Xubuntu and have smbclient installed and (presumably) working from the command line, although I haven't tried doing more than running it without any arguments. The trouble is that in the CUPS web inteface and in the printer administration app I don't see the option which I'm told should be there to add a shared printer via SMB. I see only these options:
Local Printers: CUPS-PDF (Virtual PDF Printer) Discovered Network Printers: Other Network Printers: Internet Printing Protocol (http) LPD/LPR Host or Printer Internet Printing Protocol (ipp) Any help would be much appreciated! |
We need more information:
As far as I know (and that's just enough to get my own printer working), if it's a printer on a windows machine, you will need to install the Linux driver or ppd file locally to your CUPS and point it at the printer. Linux can use the Windows printer, but not the Windows driver. When you run smbclient, is the printer visible? |
My problem is not the fact that the printer is missing, it's the fact that the option to add a windows shared printer is missing, so I can't browse for the printer and enter its URI. What I'm trying to connect to is a printer queue for a bunch of HP LaserJet 400s. The instructions I have give me a smb:\\ URI, but I don't have any place to enter it. I've looked at tutorials online, and there is apparently supposed to be an option in Add Printer that allows me to select a windows shared printer, but there is not.
|
Did you go through the process of adding a printer using the CUPS interface on your browser: http://localhost:631
After you may need add the ppd file for the printer if it's not listed. |
Which version of CUPS? I'm running Kubuntu on this box, and CUPS 1.4.3. If I go to the "Administration" tab and click the "Add Printer" button, I have "Windows Printer via SAMBA". Perhaps you don't have the samba packages installed?
HTH Forrest |
I'm also running 1.4.3. Here's a shot of my "Add Printer" page:
http://i.imgur.com/wVcTq.png |
You didn't answer if you have the samba packages installed. If you don't, that may be what is keeping that option off of your list. Here is what I have installed for samba:
Code:
# dpkg --list | grep samba HTH Forrest |
All of those packages were installed, but I reinstalled them anyway. Still no change.
I feel like I must be missing something pretty basic here, but I can't figure out what it is. I noticed that in the repository there are also a bunch of packages called samba4, whereas the ones I have installed are version 3.4.7. Could this make a difference? EDIT: This might also be worth mentioning, not sure if it's common, but when I click "Add Printer" in the web interface, the thing takes about ten seconds to load. |
Have you stepped through CUPS process to add a printer?
Depending on the printer, it may or may not be discovered automatically. My printer is connected directly to my network, so I could not recreate the process exactly, but it's something like this: 1. Click "Add Printer." (new screen) 2. Select "Windows Printer via Samba." (new screen) 3. Enter path to printer (smb://[whatever smbclient indicated was the path]. (new screen) 4. Enter the naming information. (new screen) 5. Select the make and model from the dialog or, if the make and model are not in the dialog, install the ppd file. 6. Print a test page. When I clicked "Add printer," it took a few seconds to load and it asked for my root password. The first time I installed a windows printer via Samba to a Linux box, I poked at it for quite a while. It was discovering smbclient, which told me what to enter in Step 3, that turned the tide for me. Also, in case this was not a typo, the Samba URl will be smb://, not smb:\\. Linux does not use backslashes in paths. |
OK, well here is a list of my cups packages:
Code:
dpkg --list | grep cups Forrest |
Quote:
If you'd read my posts, you would know that the problem I am having is that this option does not exist, as you can see in the screenshot I took of my CUPS admin panel. > Forrest, my package list looks much the same. I didn't have hal-cups-utils, so I tried installing it, but that didn't have any effect. I also tried uninstalling cups-pdf, but that didn't fix the problem either. This is getting stranger and stranger! |
Quote:
If you move forward, does it take you to a screen that allows you to enter the path and, if so, can you enter an smb:// path? |
All times are GMT -5. The time now is 04:50 AM. |