Operating System - HP-UX
1833861 Members
2001 Online
110063 Solutions
New Discussion

Re: Convert Printer - Remote to Network

 
brian_31
Super Advisor

Convert Printer - Remote to Network

I need to convert this printer from remote to network..what would be the steps? can i use SAM?

P177 - name
IP: 10.62.200.30
Model: HPLJ5SI

Also how would i identify if it is set up as a network or remote printer now? would SAM help that too? we have hppi installed.

Thanks

Brian
5 REPLIES 5
Tim Nelson
Honored Contributor

Re: Convert Printer - Remote to Network

Never use SAM here.....

Make sure the HP Jet Direct printer installer is installed. You can find this on HP's website.

remove printer
lpshut
lpadmin -xP177

add new printer as network based.
lpadmin -pP177 -mlaserjet -v/dev/null
accept P177
enable P177
cp /etc/lp/interface/P177 to /etc/lp/interface/model.orig/P177
cp /opt/hpnpl/sh/hpnp.model /etc/lp/interface/P177
edit /etc/lp/interface/P177 and change line where PERIFH="" to PERIFH=hostname/IP
also mod PORT="" to PORT="9100 or 9101 or 9102" for multiport jetdirect leave blank if only a single port.

lpsched
lp -dP177 /etc/copyright
to test.



Tim Nelson
Honored Contributor

Re: Convert Printer - Remote to Network

brian_31
Super Advisor

Re: Convert Printer - Remote to Network

Thanks. What command would show that it is a remote printer now and i can use the same command to verify that it is a network printer later?

Thanks

Brian
A. Clay Stephenson
Acclaimed Contributor

Re: Convert Printer - Remote to Network

To identify remote printers, execute "lpstat -vmyprinter" or simply "lpstat -v". Remote printers will include the line "remote to: xxxx on aaa.bbb.ccc.ddd"; network printers will not have that line.

If it ain't broke, I can fix that.
Tim Nelson
Honored Contributor

Re: Convert Printer - Remote to Network

Network type of printers always have their device as /dev/null ( as will printers hung from a terminal server unless the terminal server supports lpd, then it will show as a remote if configured properly )

remotes will state as mentioned above "remote ..... "

physically connected printers to an actual lp port or serial port with have a hard device name i.e. /dev/lpX or /dev/xyz.