APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

hp jet direct will not print


© December 2004 (various authors)
From: Jeff Liebermann <jeffl@comix.santa-cruz.ca.us>
Subject: Re: hpnp and ipfilter issue?
Date: Sun, 12 Jan 2003 10:36:26 -0800
References: <c12f3009.0301110947.5df9aa3e@posting.google.com> 

On 11 Jan 2003 09:47:27 -0800, carl.sopchak@cegis123.com (Carl
Sopchak) wrote:

>I have a client that's using hpnp to print to a JetDirect box.



Which model?  Different models have different bugs.

>When I first installed ipfilter, I had an issue
>with hpnp printing.  I fixed that problem, but, stupidly, didn't write
>down exactly what I did.

The JetDirect box is a print "server".  It wants to talk to your OSR5
server.  Port 9100, 9101, 9102 are the common IP ports for HPNP.
Also, OSR5 needs status information from the print server using SNMP
on port 160.  There's a list port numbers that need to be open at the
bottom of:
   https://www.cruzio.com/~jeffl/sco/lp/printservers.htm
However, almost all these ports involve connections that are outgoing
from the OSR5 server.  IPFilter allows all out going ports, so that
should not be a problem here.  It's not IPFilter.

>I *thought* I changed the spec file that I
>created for ipfilter's use on reboot to allow what's necessary
>through.

Assumption, the mother of all screwups.
Check thy assumptions.

>Yesterday, after over a month of trouble-free operation, the client
>had a power outage.  When the SCO OSR 5.0.5 box came back up, hpnp
>wouldn't print.



The default configuration of the unspecified HP JetDirect box is to
get its IP address via DHCP.  Some of the early models also use bootp
if that's unavailable.  Punch the test button on your unspecified
print server and see if the test print shows that it has an IP
address.  If not, telnet or use a web browser to set the IP address to
whatever is specified in /etc/hosts for the printer.  You should NOT
be using DHCP or bootp to assign IP addresses of fixed devices
(printers, routers, gateways, etc).  If the IP address changes every
time you have a power failure, you'll have a repetition of this
exercise.

>Trying to ping the printer's ip gives 'Host is down'.  We power cycled
>the JetDirect box, but that didn't help.  The activity light on the
>JetDirect flashes when the ping is running.  (I'm not sure if that
>means much...)

Punch the test button.  I'm guessing it's a 170x or 300x.  You should
get a test page.  No IP address, no talk.

>I tried using arp -s to map the IP to the MAC, but ping then just
>seemed to hang (no output).  arp -an shows 192.168.0.3 at
>"(incomplete)"...  Also, I can't ping 192.168.0.3 from any of the
>machines on the LAN.

If other machines can't ping the unspecified jetdirect box, then it's
either at a different address, fried, misconfigured, or disconnected.
I spent an hour fighting something similar.  When I finally power
cycled the switch (or hub) that was in between the servers and the
JetDirect box, everything magically recovered.  Like I said, check thy
assumptions.


-- 
Jeff Liebermann  150 Felker St #D  Santa Cruz CA 95060
(831)421-6491 pgr  (831)336-2558 home
https://www.LearnByDestroying.com   WB6SSY
jeffl@comix.santa-cruz.ca.us   jeffl@cruzio.com
 

Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> hp jet direct will not print


Inexpensive and informative Apple related e-books:

Take Control of Numbers

Take Control of High Sierra

Digital Sharing Crash Course

Take Control of IOS 11

Take Control of Preview





Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





The history of the world teaches us that succession is dangerous and that the strong take what they want. It's not likely to be any different with Linux. (Tony Lawrence)




Linux posts

Troubleshooting posts


This post tagged:

Printing

SCO_OSR5



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com