LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2010, 09:33 PM   #1
fedoralinuxjunkie
Member
 
Registered: Jun 2008
Location: NC
Distribution: Slackware64 15.0
Posts: 154

Rep: Reputation: 21
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:

WinStars Networking USB LPR Print Server

What is the correct way to set up a print server like this so I can print to it? Thanks .
 
Old 11-18-2010, 09:43 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
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.
 
Old 11-18-2010, 09:47 PM   #3
fedoralinuxjunkie
Member
 
Registered: Jun 2008
Location: NC
Distribution: Slackware64 15.0
Posts: 154

Original Poster
Rep: Reputation: 21
Just looked through the web interface and manual for the print server... unfortunately it keeps no logs
 
Old 11-18-2010, 10:01 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
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.
 
Old 11-18-2010, 10:37 PM   #5
fedoralinuxjunkie
Member
 
Registered: Jun 2008
Location: NC
Distribution: Slackware64 15.0
Posts: 154

Original Poster
Rep: Reputation: 21
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:

Code:
174	53.147391	192.168.1.103	192.168.1.100	TCP	[TCP Dup ACK 140#6] printer > 1023 [PSH, ACK] Seq=5 Ack=7473 Win=1460 Len=0
And that keeps happening until I reset the printer...
 
Old 11-19-2010, 02:59 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi fedoralinuxjunkie,

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.

Markus
 
Old 11-21-2010, 09:23 PM   #7
fedoralinuxjunkie
Member
 
Registered: Jun 2008
Location: NC
Distribution: Slackware64 15.0
Posts: 154

Original Poster
Rep: Reputation: 21
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 .
 
Old 07-08-2014, 08:37 PM   #8
miguelmello
LQ Newbie
 
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
Right URI for USB LPR Network Print Server

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.
 
Old 07-15-2014, 01:44 AM   #9
jasonelve
LQ Newbie
 
Registered: Jul 2014
Location: New York, NY, United States Of America
Posts: 5

Rep: Reputation: Disabled
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.

Last edited by jasonelve; 07-19-2014 at 03:47 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS will not print LPR jobs from certain devices sheppie68 Linux - Server 1 02-03-2009 12:42 PM
can't print using lpr, but can using cups/ooffice/evince hedpe Linux - Hardware 1 07-11-2007 02:58 PM
LXer: Debian Linux file and print server: NFS, CUPS, LPR LXer Syndicated Linux News 0 02-13-2007 09:31 PM
cups daemon/lpr won't print rzavarella SUSE / openSUSE 12 04-05-2005 04:33 PM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration