LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-10-2008, 08:48 AM   #1
herbie643
Member
 
Registered: Jul 2008
Posts: 32
Blog Entries: 1

Rep: Reputation: 15
HP OfficeJet on another computer (across table) cannot be accessed.


My wife and I are running Hardy Heron. The printer is connected to her computer. Now I've been at this for hours and for the life of me I cannot get to it.
I've tried Cups-Manager, Internet and the normal way as well thru the System Menu option (Printing).
Ive used HPJet Direct, IPP and nothing. Now if I go to the Browser and do it, via http://192.168.1.100:631/ and it works, BUT NOT from my computer.
Anyone have any ideas. Im totally at a loss and I think I'm reasonably astute since Ive done tech support for over 20yrs.
Marshall Neill
 
Old 08-10-2008, 09:03 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Now if I go to the Browser and do it, via http://192.168.1.100:631/ and it works, BUT NOT from my computer.
"the Browser"? Whose browser, yours or wife's?
"Do it"? Do what?
"and it works"? What works? The browser works, or the printer works?
What is at http://192.168.1.100:631/ ?

Some pointers:

/etc/cups/cupsd.conf on her computer needs to be set up to share the printer over your LAN. The file is well-commented. Then cups needs a restart.

You then need to add the printer to your PCs configuration:
Printers - Admin mode - Add printer

The URI of the printer will be something like ipp://wife:631/printers/HPJetDirect, but IIRC you can get the cups wizard to scan your LAN looking for printers to connect to. You want the one that is at wife's IP address.

Do not configure a printer driver on your PC (all this is handled by wife's PC) - just set the Printer type as RAW.

Then you should be done.
 
Old 08-10-2008, 09:08 AM   #3
herbie643
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Blog Entries: 1

Rep: Reputation: 15
HP OfficeJet issue

OK,. perhaps i wasnt quite clear.. I bring up my browser and go to http://192.168.1.100:631/ which brings up Cups manager. If I Print Test Page it works. If I try it from my computer via Printing from the System Menu item, it doesnt, says, Printer is not accessible.
 
Old 08-10-2008, 09:39 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
I'm taking it that 192.168.1.100 is wife's computer.

The (?)ubuntus do not use http://localhost:631 to configure the printer(s).

You need to go to System - Printers - Admin mode - Add printer as I put in my last post. So please re-read that post.
 
Old 08-10-2008, 09:55 AM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Um, the 192.168 address group is one of the three address families which are not permitted to cross a network switch. So, if you're trying to access your wife's computer through a network switch (a "router" of some kind), the connection will not be made. In that case, you should not be too surprised if you can't access the printer connected to her system.
 
Old 08-10-2008, 11:02 AM   #6
herbie643
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Blog Entries: 1

Rep: Reputation: 15
HP OfficeJet on another computer (across table) cannot be accessed.

Gentlemen;
I used the IP address as a last resort.
As an aside; this used to work, just stopped. I know it sounds idiotic, but, thats what happened.
I went to System, Printing, Add printer
I used ipp, jet direct, you name it. it will not work. the printer is not accessible is the message.
Both computers in the SERVERS section of Printing have everything checked.
When it did work, there was a
Remote Printers section
and thats where the printer im trying to add showed up before. Now when I add a printer it only shows up in the Local Printers section.
Ill admit this should be a no brainer, but it appears that either my brain is non-functioning or the computer is nuts.
Help
Marshall Neill
 
Old 08-10-2008, 11:27 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
I went to System, Printing, Add printer
This is how to do it:
Check that the printer is plugged into Wife, Wife has cups running, Wife is prepared to share the printer (see Wife:/etc/cups/cupsd.conf)
Mouse to System, PrintingSystem
Click the button for Administrator Mode (And supply your password).
Add... Printer/Calss
Wizard starts
Next
"Backend Selection"
Select[*] Remote cups server
Next
"User Identification"
Anonymous
Next
"Remote IPP Server"
Host: Wife (or LAN IP address of Wife)
Port: 631
Next
"Remote IPP Printer Selection"
Choose your printer by clicking it.
Next
"Printer Model Selection"
Just click[*] Raw printer (No driver needed)

Next
Next
No Banner
Next
No Quota
Next
"Users Access Settings"
make no changes (leave blank)
Next
"General information"
Name the printer
Next
Finish

Right Click the printer now it is on your list.
Set As Default
Shut the "Printers System Settings" Window.

You are done

The above is for KDE, I expect gnome will be very similar.
 
Old 08-10-2008, 02:18 PM   #8
herbie643
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Blog Entries: 1

Rep: Reputation: 15
HP OfficeJet on another computer (across table) cannot be accessed.

Tredegar,
Ive given up for the day. I installed KDE and the printer setup is identically the same..
When I clicked on New Class and pressed Forward, only PDF was there.
I installed KDE and the same thing.
I was gonna Install KDE4 but the Internet is a bit slow (Cable) so ill do it tomorrow.
Thanks for all your help and i do hope that tomorrow everything works out. Its just frustrating that one day the printer works the next its gone. No rhyme or reason.
Marshall Neill
 
Old 08-10-2008, 03:24 PM   #9
herbie643
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Blog Entries: 1

Rep: Reputation: 15
HP OfficeJet on another computer (across table) cannot be accessed.

Tredegar,
Well I got it working. Seems that my wifes computer had SSH running on it. I disabled it and rebooted her computer. I did:
ps -ef |grep ssh
there were 2 lines, so i killed the SSH one that was a seahorse-agent and wham, her computer logged off. I logged on and no SSH.
All of a sudden on my computer the printer shows up and its working.
That was accomplished thru ipp.
So i may be somewhat of a dufus, but i got it working.
Thanks again for all your help.
Marshall Neill
 
  


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
Invalid partition table on one computer, not on another dcroxton Linux - Hardware 6 06-24-2007 06:35 AM
Get IP addresses that accessed my site thisObject Linux - Software 13 11-14-2006 12:08 AM
ftp cannot be accessed johnp12 Linux - Software 2 03-03-2006 07:45 AM
MySQL non-realtime table-by-table mirroring Passive Linux - Software 1 01-20-2004 12:11 PM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:43 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