LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 11-18-2010, 09:33 PM   #1
fedoralinuxjunkie
Member
 
Registered: Jun 2008
Location: North Carolina
Distribution: Gentoo, Debian 7 RC 1, Mageia 3 RC 1, Kubuntu 13.04, Arch Linux
Posts: 138

Rep: Reputation: 16
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: 331Reputation: 331Reputation: 331Reputation: 331
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: North Carolina
Distribution: Gentoo, Debian 7 RC 1, Mageia 3 RC 1, Kubuntu 13.04, Arch Linux
Posts: 138

Original Poster
Rep: Reputation: 16
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: 331Reputation: 331Reputation: 331Reputation: 331
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: North Carolina
Distribution: Gentoo, Debian 7 RC 1, Mageia 3 RC 1, Kubuntu 13.04, Arch Linux
Posts: 138

Original Poster
Rep: Reputation: 16
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,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
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: North Carolina
Distribution: Gentoo, Debian 7 RC 1, Mageia 3 RC 1, Kubuntu 13.04, Arch Linux
Posts: 138

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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/Novell 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


All times are GMT -5. The time now is 10:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration