Operating System - HP-UX
1835278 Members
2466 Online
110078 Solutions
New Discussion

Configure printer pool with specific port

 
Rene Mendez_4
Super Advisor

Configure printer pool with specific port

Hello
HPUX 11.11
Printer Kyocera

I configure printer pool but the problem
is: The printer listen for specific port
Ej: port 9100, 9200,

How to configure ports in the spool printer.

Regars
rene
1 REPLY 1
Bill Hassell
Honored Contributor

Re: Configure printer pool with specific port

Since the LAN interface is not an HP card, the answer is only a guess. If the printer listens on port 9100, then it may emulate the HP JetDirect card in which case you would use hpnpadmin to query the printer and addqueue to add the printer. Assuming the printer's IP address is 12.34.56.78 then

cd /opt/hpnpl/bin
./hpnpadmin -v 12.34.56.78

Check the first lines of output to see that hpnpadmin has identified the printer as a "network printer". If so, you can then add the printer with:

./addqueue -h 12.34.56.78 -q myprinter

Now addqueue will probably not find a printer script for the Kyocera, so you'll need to list the available scripts with ./addqueue -l and then use the dumbprinter script by number (see the man page for addqueue). Since many Kyocera printers understand PCL and PJL, you might try specifying an HP LaserJet that seems to have similar features. That way, you'll get some -o features (almost none when using the dumb printer script).

On the other hand, if hpnpadmin does not recognize the interface card as a network printer, you'll have to add the printer using SAM as a "remote printer". You will need to ask Kyocera what the internal printer name is inside the LAN card to add the remote printer. As a remote printer, you'll have no -o options.


Bill Hassell, sysadmin