LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cups Error With LaserJet 1012 (https://www.linuxquestions.org/questions/linux-newbie-8/cups-error-with-laserjet-1012-a-785636/)

mrfixit35 01-29-2010 12:43 PM

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!

tredegar 01-29-2010 01:09 PM

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!

mrfixit35 01-29-2010 01:20 PM

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!

mrfixit35 01-29-2010 01:46 PM

Although I just remembered that I have the printer shared by default but that doesn't share it across the LAN?

tredegar 01-29-2010 02:03 PM

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 ;) ]

mrfixit35 01-29-2010 02:31 PM

Cool thanks! I will try that and thanks for your help!

mrfixit35 01-29-2010 04:29 PM

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!

tredegar 01-29-2010 05:19 PM

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"?

mrfixit35 01-29-2010 05:23 PM

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

tredegar 01-30-2010 07:09 AM

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 02:50 PM.