[cups] "no printers found" - printer isn't recognized by CUPS over network
Hi! I've been at this mess pardon my french for a few hours and i'm still going nowhere, original thread posted over at archlinux forums: http://bbs.archlinux.org/viewtopic.php?id=74188
http://img.photobucket.com/albums/v3...o-printers.png CUPS webinterface on the server Printer: Samsung ML-1630 Series (Samsung ML-1630 Series) Client ip: 192.168.1.100 Server ip: 192.168.1.104 Printer hooked up to client (dmesg) Works: yes Code:
usb 2-1: new high speed USB device using ehci_hcd and address 4 Works: unknown (not detected by cups over the network) Code:
usb 2-1: new high speed USB device using ehci_hcd and address 4 Code:
# Code:
# http://pastebin.com/m57ac4766 (error_log) CUPS on the server logs: http://pastebin.com/ma23b916 (error_log) EDIT: this is the output from my server: Code:
lpinfo -v Since my printer isn't visible on my server (works just fine on my client) I tried to manually add various URI (tried em all) and I went from "printer location not found, waiting for jobs, to printer isnt running". In my opinion it should be working but it's not, i've read the linux printer database/various linux forums/#cups on freenode (idled for 2 days no response)/gentoo wiki/forums and the old tool "google" but most of the "hacks" I tried didn't work. There's a lot of google links with issues similars to my own and alas they are all unresolved, is this a typical problem with unix/CUPS over servers/network? Why is it so difficult for CUPS to detect my printer over my server? Anyone have any ideas? Thank You |
You have posted so many links and logs, it is difficult to see the forest for the trees.
I understand your frustration, but although you have already given us "too much information", you also haven't given us the "right" information: What distro is your "server" running ? What distro is your "client" running ? What versions of cups are you running on each ? To condense your problem (correctly, I hope): - Printer plugged into "client" - works. ( But what, exactly, is "client"? ). - Printer plugged into "Server" doesn't. ( But what, exactly, is "server"? ). These are the steps I think you need to go through: 1] Plug your printer into the PC you want to be your print server - let's call it Pserver 2] Configure cups on Pserver so you can print from Pserver to the local printer. 3] Configure /etc/cups/cupsd.conf on Pserver so that it will broadcast the printer to your LAN and accept print requests from your range of LAN IPs. The cupsd.conf file is well commented, so this is not too difficult. 4] Restart cups on Pserver so the changes to the cupsd.conf file are noticed. For my distro (kubuntu) the command is Code:
sudo /etc/init.d/cupsys restart Then... 5] Fire up cups on the "client". Add a printer. Tell it to search for printers on your LAN subnet. You may have to adjust the default LAN subnet addresses it searches (Eg from 192.168.x.y to 10.x.y.z or whatever you LAN IP network addresses are). 6] Select your printer ( It should be found at something like ipp://Pserver:631/printers/PrinterName ) If you haven't set up the file /etc/hosts on both machines, you'll need to refer to the printer as ipp://LAN.IP.ADDR.ESS:631/printers/PrinterName. Better to set up /etc/hosts before you even start on this printer business. If it is still not found, then you haven't set up cupsd.conf correctly on your Pserver. Go back to step [3] and try again. Don't forget to restart cups after you have made changes to cupsd.conf 7] Set it as a "Raw printer" (no driver needs to be selected, as this is handled by the driver on Pserver) 6] Print a test page. Then you should be set to go. If you have problems, please search for cups howto then come back here. If you get it working, it would be polite to tell us exactly what your problem and resolution were. |
If your printer is a host based printer, and the Server is a windows box, then you may have to jump through a lot of hoops to get it working. You'll want to check out http://openprinting.org
And download all the drivers (footmatic, and ppd files) for your printer. Without the ppd file from the windows driver you will not be able to print, as the print job will have to be sent w/ the firmware for the printer. (i.e. cups needs the firmware for your printer to print to it remotely...local cups will work because it handles that. RAW should work if you are going cups to cups.) |
Quote:
As of now i'm gonna hook up the printer to my laptop (inconvience) and accept the fact this printer (samsung m1630) won't be working on my current linux build, time is probably a better word. Thank you tredegar for taking your time giving me a few headlines on how to debug my CUPS error, much appreciated sir! @ntrcessor No sir, only linux here no windows no samba! Thanks a lot guys, if I somehow would find a solution I will update this thread Regards Frank |
All times are GMT -5. The time now is 03:07 PM. |