There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash drive driver drivers error ethernet excel freeze games gaming hard drive hardware hdmi internet java laptop malware memory monitor motherboard music network obp printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
HP LaserJet in RedHat 7.2

Reply  
Thread Tools
cavp's Avatar
Member with 233 posts.
 
Join Date: Aug 2001
Location: Outer Space
09-May-2002, 07:28 PM #1
HP LaserJet in RedHat 7.2
Three days ago I didn't know anything about Linux, now I'm trying to configure a HP LaserJet 4000 with a JetDirect card. I folllowed the supposed procedure: printconf, choose name, jetdirect printer, private ip assigned (10.10.10.100: my printer address) port by default (9100), printer driver (tried with HP LaserJet 4000 and with Postscript); and the only thing I get after restarting the lpd service and sending a test is a message saying "There was an error trying to print the test page". This box has two NICS (it'a a proxy server). I need someone who can tell me (please, remember, I'm new at Linux) how to install this printer... TIA
__________________
Knowledge is power, Knowledge is free...
cavp's Avatar
Member with 233 posts.
 
Join Date: Aug 2001
Location: Outer Space
13-May-2002, 01:23 PM #2
Anyone...HELP!!!!!!!!1
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
13-May-2002, 05:41 PM #3
OK -- I'm not a RedHat guy, but I can think of a few things to check out:

(1) try pinging the IP address of the printer; if you can't reach it, there's at least some of the problem.
(2) use the following command to verify that port 9100 is open and is being listened on: netstat -an | more If port 9100 is open and being listened on, you will see a line similar to:

tcp 0 0 0.0.0.0:9100 0.0.0.0:* LISTEN

If you don't see something close to this, the printer may not be listening on port 9100 for print requests. The netstat -an command will show you all open ports on your machine; you can also use netstat -a | more to display the services associated with each port, if these are defined.
(3) you may need to add a route to the printer if your NICs are on different networks.
(4) as root, type lpc at the command line. At the prompt, type status and see what the spooling system thinks is happening with the printer. You can use q or quit to get out.

Post back with your results if you have a chance to try any of these, and we'll go from there.

Hope this helps.
__________________
The slowest component still sits at the keyboard.
cavp's Avatar
Member with 233 posts.
 
Join Date: Aug 2001
Location: Outer Space
13-May-2002, 06:40 PM #4
I GOT IT!!!..... The f***ing host file didn't have a "localhost" entry. I realized 'cause the lpd was giving an error at shutdown, and starting it manually I got "Get_local_host ip address not valid"; thanks to the eternal Google I resolve it. Thanks anyway, code.
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
14-May-2002, 02:13 AM #5
Nice work! Glad to hear things are working properly.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:24 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.