LinuxQuestions.org
Register a domain and help support LQ
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 06-08-2008, 04:31 PM   #1
tomva
Member
 
Registered: May 2006
Distribution: Fedora
Posts: 45

Rep: Reputation: 15
Getting HP 6840 to print with Fedora 8?


Hello all-

I recently installed Fedora 8. Very nice distro!

However, I have been unable to get my printer working (HP Deskjet 6840). It was working before with F7, but I forgot to remember the settings.

Based on a number of searches, it appeared that I should use the HP JetDirect drivers, and specify the printer location using socket://hostnameort. However, the printer isn't responding to any print requests. So I suspect a different configuration is required, but I'm not sure what that is.

Here is what I attempted:
- Connected to local cups at http://localhost:631
- Clicked "Add Printer"
- Selected AppSocket/HP JetDirect driver
- Specified "socket://hp6840:9100" as the URI

(hp6840 is the local hostname for the printer and ping hp6840 works fine).

If I try printing to the printer (test page, or a page from another app), the print job just hangs in processing.

Is there another configuration I should be using for this printer?

Thanks!

-Thomas
 
Old 06-08-2008, 10:02 PM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
http://www.openprinting.org/show_pri...P-DeskJet_6840

So do you have a host or DNS entry for hp6840 so that cups will be able to resolve that name to an IP address ?

did you try socket://ip.addy.of.printer:9100 as the URI ?
 
Old 06-09-2008, 10:43 AM   #3
tomva
Member
 
Registered: May 2006
Distribution: Fedora
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks for the reply! The openprinting link is handy, although it also does not describe the details of configuring the printer under CUPS, which I think is where things are breaking down.

I do have a DNS entry for hp6840:

Code:
tomva@localhost$ ping hp6840
PING hp6840.intranet.wavepacket.net (192.168.0.40): 56 data bytes
64 bytes from 192.168.0.40: icmp_seq=0 ttl=255 time=2.764 ms
64 bytes from 192.168.0.40: icmp_seq=1 ttl=255 time=2.592 ms
I tried using the raw IP address as well, but that resulted in the same behavior (printer not printing anything).

What device should I use when setting up the printer in CUPS? I go to http://localhost:631/, and click "Add Printer". It asks for a Device, and I choose "AppSocket/HP JetDirect". Is that the right device?

I had been using these settings

Code:
Device: AppSocket/HP JetDirect
Device URI: socket://hp6840:9100   (also tried socket://192.168.0.40:9100)
Just now, I tried setting up the printer by using

Code:
Device: HP Printer (HPLIP)
Device URI: socket://hp6840:9100
However, that also failed. I suspect I am doing something wrong when configuring the printer under CUPS.
 
Old 06-09-2008, 04:50 PM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
well Jetdirect Print servers should actually be able to accept jobs via: JetDirect, LPR, or IPP printing if I'm not mistaken.. so you could try configuring it with one of the other methods.. I typically just configure my Printers for LPR or IPP printing.

I was looking for a nice "CUPS Jetdirect how-to" and wasn't finding any, They all just said to use App/Socket with the URI in the format you were already doing..
 
Old 06-17-2008, 12:42 AM   #5
tomva
Member
 
Registered: May 2006
Distribution: Fedora
Posts: 45

Original Poster
Rep: Reputation: 15
Sigh... I found my problem! Of course, I remembered that the hp6840 (like most printers that can print over the network) has its own http server. So I visited my local http://hp6840/, and saw that the printer claimed the cover was open!

The printer has apparently gotten flaky lately (weather?) and believes the cover is open when it isn't. So long as I press down on the cover, it will happily print.

At least I know I didn't misconfigure it. Fedora 8 was happy, but my printer wasn't.
 
Old 06-17-2008, 08:21 AM   #6
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Thanks for reporting back
 
  


Reply

Tags
cups, printer


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
HP 6840 Gutenprint drivers? Enlightenment Sought thacket Linux - Hardware 2 12-19-2007 10:17 PM
Fedora 7 print errors - %!PS-Adobe-3.0 tarheel92x Linux - Networking 1 09-10-2007 12:50 PM
Unable to print after upgrade from Fedora Core 5 to 6 nonfatalexec Fedora 7 01-05-2007 05:32 PM
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 05:15 PM
Can't print or scan with Fedora 1 jdtiede Linux - Software 2 03-06-2004 08:57 PM


All times are GMT -5. The time now is 10:12 PM.

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