LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-29-2010, 12:43 PM   #1
mrfixit35
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Rep: Reputation: 0
Question 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!
 
Old 01-29-2010, 01:09 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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
 
Old 01-29-2010, 01:20 PM   #3
mrfixit35
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Original Poster
Rep: Reputation: 0
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!
 
Old 01-29-2010, 01:46 PM   #4
mrfixit35
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Although I just remembered that I have the printer shared by default but that doesn't share it across the LAN?
 
Old 01-29-2010, 02:03 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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 ]
 
Old 01-29-2010, 02:31 PM   #6
mrfixit35
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Cool thanks! I will try that and thanks for your help!
 
Old 01-29-2010, 04:29 PM   #7
mrfixit35
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 01-29-2010, 05:19 PM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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"?
 
Old 01-29-2010, 05:23 PM   #9
mrfixit35
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 01-30-2010, 07:09 AM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153

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


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unsupported Personality: PCL, HP LaserJet 1012, and the story of it's impending doom kersten78 Slackware 14 12-19-2018 09:49 AM
HP Laserjet 4 Display Messages with CUPS anhume Linux - Hardware 2 03-05-2008 12:18 PM
CUPS printing to LaserJet 4 Plus, ipp error? bee2643 Linux - Hardware 2 07-04-2007 04:36 PM
Laserjet 3p + cups problems LBS Linux - Hardware 0 09-01-2005 01:06 PM
CUPS not printing (HP LaserJet 5P) killerbob Slackware 6 06-04-2005 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 AM.

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