Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-29-2010, 12:43 PM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 6
Rep:
|
Cups Error With LaserJet 1012
Hello All!
I've been switching out computers to the Ubuntu distro and so far it's been very successful until this recent snag! As I am trying to have a printer plugged in through USB on one computer and shared on the other! I have the USB on the second computer and it found the printer just fine, no problems and nothing else I had to install! I then went to the first computer and tried to add the printer through the CUPS website using all the proper addresses and queue names and I receive CUPS "client-error-not-possible". I have read other threads on this very same problem but to be honest they just make no sense whatsoever to me! I was thinking of just giving up and using a print server but I know that I will run into the same snag as even then I still need CUPS! So any help is immensely appreciated and I hope to have this problem resolved!
|
|
|
01-29-2010, 01:09 PM
|
#2
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
On the PC which the printer is plugged into (called the printserver) you need to connfigure cups so the printer is able to be shared across your LAN.
This is done in the file /etc/cups/cupsd.conf
See man cupsd.conf or search on cups network printer
After making changes to this file, restart cups: sudo /etc/init.d/cups restart
Then go to the other PC (the client), start cups there. Add Printer..Networked Printer..
When you eventually find your printer do NOT choose a "Printer Driver" for it. Set it as a "Raw Printer" [Because the "printer driver" is running on the printserver PC].
If it helps my ancient HP-laser is seen at ipp://server:631/printers/HPlaserjet6P
You might need to find it by the server's IP address Eg ipp://192.168.0.3:631/printers/HPlaserjet6P if you haven't set up your /etc/hosts file
Welcome to LQ!
Last edited by tredegar; 01-29-2010 at 01:23 PM.
Reason: stupid typo
|
|
|
01-29-2010, 01:20 PM
|
#3
|
LQ Newbie
Registered: Jan 2010
Posts: 6
Original Poster
Rep:
|
Thanks a bunch man! From the sounds of it this should solve the printer problem as I'd really love to get this going!
Thanks again!
|
|
|
01-29-2010, 01:46 PM
|
#4
|
LQ Newbie
Registered: Jan 2010
Posts: 6
Original Poster
Rep:
|
Although I just remembered that I have the printer shared by default but that doesn't share it across the LAN?
|
|
|
01-29-2010, 02:03 PM
|
#5
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
I just remembered, there's a cups HOWTO right here
Try that.
If you encounter problems (you should not) come back here with exactly what went wrong and what you have done to try to diagnose the error.
Not just "it didn't work " [Which tends to annoy us ]
|
|
|
01-29-2010, 02:31 PM
|
#6
|
LQ Newbie
Registered: Jan 2010
Posts: 6
Original Poster
Rep:
|
Cool thanks! I will try that and thanks for your help!
|
|
|
01-29-2010, 04:29 PM
|
#7
|
LQ Newbie
Registered: Jan 2010
Posts: 6
Original Poster
Rep:
|
I followed that how to guide and it is still coming back with the same error! I went into the administration console for Cups and it does list the printer as being on there and I did manually edit the Cups file and if it is okay to post the entire thing here I will! I know there is something that I am missing as on the second computer it is online, enabled and shared and I did put in my local LAN address in it as well! It is looking for the local broadcast at 127.0.0.1 and the printer is located on 192.168.1.100!
Last edited by mrfixit35; 01-29-2010 at 04:31 PM.
|
|
|
01-29-2010, 05:19 PM
|
#8
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
Quote:
I went into the administration console for Cups and it does list the printer as being on there
|
On which PC did you do this?
Quote:
I know there is something that I am missing as on the second computer
|
I did give you a hint in my post at #2: printserver or client? We have no idea which you refer to as "first computer" or "second computer". "First" that is closest to you (how are we to know that?) or "First I bought" (how are we to know that?), or "First I thought of" (same)? Which is it?
Please try to understand why we need you to explain.
You are asking for help, we are happy to help, but please help us help you.
Quote:
the second computer it is online, enabled and shared and I did put in my local LAN address in it as well!
|
Well, what do you mean by this? What was the LAN address you used?
Quote:
It is looking for the local broadcast at 127.0.0.1 and the printer is located on 192.168.1.100!
|
What is "It"?
|
|
|
01-29-2010, 05:23 PM
|
#9
|
LQ Newbie
Registered: Jan 2010
Posts: 6
Original Poster
Rep:
|
Sorry my bad! Both PC's see the HP printer online and the print server is the second computer with the address 192.168.1.100. The client is 192.168.1.105. What I actually meant to say is the print server is online and does have the printer connected to it and the local LAN address I used was my gateway which is 192.168.1.1 and CUPS is looking on the LAN for other printers
|
|
|
01-30-2010, 07:09 AM
|
#10
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
OK.
On the client, configure cups to use the printer at
ipp://192.168.1.100/printers/NameOfYourPrinter
As I said before, set it as "Printer Type" = "Raw"
Set it as your default printer. That's it.
|
|
|
All times are GMT -5. The time now is 05:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|