Operating System - HP-UX
1845948 Members
2238 Online
110250 Solutions
New Discussion

Re: Jetadmin printer configuration problem

 

Jetadmin printer configuration problem

Hi,


I am trying to configure a 3 port external Jetdirect , on HP UX11i. Printer is a line printer from HP.

I configured the printer and when i issues LP command , it goes to que and just disappears. I tried different ports in the jetdirect still same problem, tried restarting the lpscheduler. Initialy i was having jetadmin software 10.18, i reinstalled it with 10.34 still same case. the model i selected is dumpplot_printer, i tried different models also.

The same software installed on another server having 11.00 and it prints fine. From the server first i tried, i configured as remote printer of the 11.00 server and it prints fine. What i need to check inorder to print form the first server. Any patches needed ??

Thanks,

Ajay
5 REPLIES 5
Bill Hassell
Honored Contributor

Re: Jetadmin printer configuration problem

I assume that you are running the command: hppi and not: jetadmin. The jetadmin software was obsoleted more than 5 years ago and should not be used. Start by testing the printer for accessability using the hppi tools. To make things easier, set your current PATH temporarily like this:

PATH=$PATH:/usr/hpnpl/bin

Then test the printer:

hpnpadmin -v -C 2 11.22.33.44

(where 11.22.33.44 is the IP address and -C 2 refers to port 2 on the EX box) It should report that the printer is a network printer, and that your computer is allowed access to this printer. Change the -C option to match the port you're using.

If you get lots of stats and details, you're ready to delete the old printer and add it back again. If you get SNMP or other access errors, the printer is on another network and you'll have to ask the network admins to allow JetDirect access (port 9100,9101,9102 plus SNMP access to the printer).

Once hpnpadmin works, save yourself a lot of time and use the lpadmin and addqueue commands:

lpshut
lpadmin -xoldprinterqueue
addqueue -h 12.34.56.78 -p 2 -q localname -b off

For the addqueue command, -h has the IP address, -p is the port number on the EX box, -q is the name of the printer on your local system, and -b turns the banner page on or off.


Bill Hassell, sysadmin
morganelan
Trusted Contributor

Re: Jetadmin printer configuration problem

Hi Ajay,

Try remove it and recreate it again, when you are ceating it, you must look carefully with step by step installation such as:
1.configure printer, add printer to spooler
2.Create printer configuration in BOOTP/TFTP database
3.Entry such as lan hardware address,network printer name, ip,subnet,gateway with correctly
4.Then configure it, see the messages:
Completed creating BOOTP/TFTP configuration database for your_printer.
Please wait...
(testing, please wait) ...
Testing BOOTP with 070007000000...:
RESULT: Passed BOOTP test 1 with 070007000000.
5.Add printer to local spooler
6.Choose dumplot printer model for dot matrix printer
7.Test printing
Kamal Mirdad
Rajesh R_2
Frequent Advisor

Re: Jetadmin printer configuration problem

Hi,

Ajay for 11i you have to install HP JetDirect Printer Installer for Unix (E.10.34)(J4189-11001C). Then run /opt/hpnpl/bin/hppi and follow the steps given by morganelan.

Best of luck.

Regards
Rajesh
Mahesh Kumar Malik
Honored Contributor

Re: Jetadmin printer configuration problem

Hi Ajay

1. Do you have any other printer already working with system?

2. Uninstall and reinstall the printer using latest hp Network Printer installer (10.34). Use "dumb" as model script.


Good luck
Regards
Mahesh
Steve Steel
Honored Contributor

Re: Jetadmin printer configuration problem

Hi


This is probably the permissions/ownerships on /etc/lp/interface/model.orig.



Permissions should be:

# ll -d /etc/lp/interface/model.orig/
drwxr-xr-x 2 lp bin 96 Nov 6 16:01 model.orig/


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)