1821052 Members
2227 Online
109631 Solutions
New Discussion юеВ

hppi and lpadmin

 
SOLVED
Go to solution
derek b smith_1
Regular Advisor

hppi and lpadmin

All, I have a remote printer that was added using lpadmin $qname -orm$qname -orp$qname -mrmodel -v/dev/null -orc -ob3 -ocmrcmodel -osmrsmodel.

yet when I go into hppi option 1, option 3 it states "does not exist"
Why is this and how do I fix it?

thank you
derek
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: hppi and lpadmin

Because hppi maintains Network printers (in HP-UX speak) as opposed to Remote printers. Network printers use HP's JetDirect (port 910x) protocol; Remote printers use the LPR/LPD (port 515) protocol.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: hppi and lpadmin

Oh, and on account of it ain't broke, you can't fix fix but you can use the normal lpadmin commands to maintain Remote (again, in HP-UX speak) printers.
If it ain't broke, I can fix that.
derek b smith_1
Regular Advisor

Re: hppi and lpadmin

so if i re-add it as a network printer using lpadmin hppi will see it?

ok thank you
derek b smith_1
Regular Advisor

Re: hppi and lpadmin

but the remote printer is printing to port 9100???
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: hppi and lpadmin

Ok, if I understand your question, you have a printer (possibly a non-HP printer) that does use the HP JetDirect protocol (probably, in addition to the LPD protocol). That's certainly possible. In that case, you can remove the existing Remote printer using lpadmin -xprintername and then use hppi (or addqueue) to install it as a Network printer. The "gotcha" will be that (assuming this is a non-HP printer) there is no existing model script and almost certainly when hppi queries the printer to determine its type, data will be returned that is not recognized by hppi as a known printer. You will have to manually choose a model script that comes closest to the actual printer model that this printer is trying to emulate.

It may take you several attempts (and in the end, you may have to adapt an existing model script) but generally this can be made to work.
If it ain't broke, I can fix that.