[SOLVED] How to connect CUPS to a USB LPR network print server?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to connect CUPS to a USB LPR network print server?
Hey all. I just recently bought a WinStar USB LPR Network Print Server so that I could connect my printer to my network so all the machines on my network could print, and everything would be OS independent. The problem I'm having is that I can't get CUPS to connect to the printer. It either never prints anything, saying that the printer is not connected, or saying that LPR is spooling the job, but it never completes. I've been configuring it as a network printer in CUPS, and trying all the different configuration options to no avail. The print server is located on http://192.168.1.103 and is pingable. The print server I have is this one:
Look on the print server for error messages via its web interface. You may see things like authentication errors or incorrect printer driver messages. That would give you a starting point.
You could try using Wireshark to the Linux machine. The network exchange may have enough ASCII content to tell you what is going wrong. Hopefully your distribution has Wireshark in its software package repository. Otherwise you will have to compile it, unfortunately. http://www.wireshark.org/
Wireshark is excellent once you get used to it.
Last edited by stress_junkie; 11-18-2010 at 10:03 PM.
Alright, so I installed and ran Wireshark and tried to print again. The printer was connected to, but when I tried to print, I get a steady string of something similar to this the whole time LPR is trying to spool the job:
could you please post your cups-configuration?
Be aware that there is a difference between a networkprinter, (i.e. a printer with it's own NIC) and a printer which is connected to another computer/printserver.
Actually after looking more closely at the logs and at the error logs for CUPS, I found out that this printer is just not supported by this print server. This USB print server requires that all processing is done by the printer, and no helper applications are used to process the print job (the bossman where I work at told me this when I bought it, but I did not know my printer was not supported). So it is not the fault of CUPS in this case. I do appreciate all the help though .
I was able to print from Fedora 20 by setting the following URI in CUPS:
lpd://192.168.1.148/queue
Even my printer (OKI MB260) not officially supported by the Win-Star WS-NU72P11 Print Server, I was able to get cups print though the Print Server with no futher problems.
Look at print server for mistake information via its web interface. You may see things like verification mistakes or wrong printer driver information. That would give you a kick start.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.