Operating System - HP-UX
1821061 Members
2488 Online
109631 Solutions
New Discussion

The new printer would not print from UNIX

 
Vinod Tandon
Occasional Advisor

The new printer would not print from UNIX

Guys, i need your help on a printing issue.
--
There was an old printer replaced by a new one.
The previous printer was located at the same IP as the new one but on port 2.

The new printer has an internal jet direct and is configured to same IP

The printer prints fine over network from windows but does not print from UNIX. It does not print with lp command and i can see the print requests pending.

Could there be any port assignment on UNIX side that needs to be removed.

Also please let me know other diagnostic steps that i can use.

Thanks in advance for your time and expertise.
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor

Re: The new printer would not print from UNIX

First, have you confirmed that your new printer will work with HP-UX? Many of the newer HP printers require smarts from the host computer so that they are Windows only. Did you simply set the IP address to match the old printer or did you remove the queue and add it back. That would be my first thing to try. The "port" comes into play if you are using an external JetDirect. There is a -p argument hpnpf which defaults to 9100. If the old printer was using 9101 oe 9102 then that would cause you problems.

Cancel all outstanding print jobs.
Next, kill any hpnpf processes that are trying to send to that printer.

Now make sure that the printer is online and connected and:
ls -l /usr | /opt/hpnpl/bin/hpnpf -n -x IP_ADDRESS_OF_PRINTER_OR_HOSTNAME.

If this works then your problem is in lp rather than in the printer.

Man hpnpf for details.
If it ain't broke, I can fix that.