Operating System - HP-UX
1825340 Members
4048 Online
109679 Solutions
New Discussion юеВ

Panasonic DP 1820 as network printer using hpnp

 
Shibin_2
Honored Contributor

Panasonic DP 1820 as network printer using hpnp

Hi,

I have configured some of the Panasonic DP network printer using hpnp. So far everything is working fine. But only one printer, Panasonic DP 1820, is not printing from the unix system.

Ping response is available. But the test printing is still waiting on the queue. Anybody can help me?

Here is some information, which may be helpful.

*********************************************

(root)> uname -r
B.11.23
(root)> grep -i periph= /etc/lp/interface/V312
PERIPH=10.240.15.203
PERIPH=$MODEL
(root)> ping 10.240.15.203
PING 10.240.15.203: 64 byte packets
64 bytes from 10.240.15.203: icmp_seq=0. time=34. ms
64 bytes from 10.240.15.203: icmp_seq=1. time=36. ms

----10.240.15.203 PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 34/35/36
(root)> lpstat -oV312
V312-465 root priority 0 Feb 6 20:15 on V312
copyright 1152 bytes
V312-9632 sp1adm priority 0 Feb 7 16:06
006zAygb.SP1 368 bytes
(root)> lpstat -pV312
printer V312 now printing V312-465. enabled since Feb 11 11:27
fence priority : 0
Regards
Shibin
7 REPLIES 7
Steve Steel
Honored Contributor

Re: Panasonic DP 1820 as network printer using hpnp

Hi

1)lpshut
#lpsched -v

Wait a while and look for extra messages in /var/spool/lp/log

Then
#lpshut
#lpsched

2)Try
#disable V312

Turn printer off - Turn printer on

#enable V312

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

Re: Panasonic DP 1820 as network printer using hpnp

The same I tried... Waiting for the end user reply to turn off the printer and on.
Regards
Shibin
Bill Hassell
Honored Contributor

Re: Panasonic DP 1820 as network printer using hpnp

Since HPPI software is proprietary to HP, it is very unusual for any non-HP printer to work at all. A few big Canon printers understand hpnpf protocol (aka, JetDirect) and apparently, some models of Panasonic printers. You can see the failure mode by using hpnpf in trace mode. Bypass the spooler like this:

hpnpf -x 12.34.56.78 -l /tmp/hpnpf.log -N /etc/profile

The logfile will show what happened.


Bill Hassell, sysadmin
Shibin_2
Honored Contributor

Re: Panasonic DP 1820 as network printer using hpnp

Hi Bill,

Using that option, I received the following on log file.

13:56:48 hpnpf[12716]
OpenLog: logging started (/tmp/hpnpf.log)
13:56:51 hpnpf[12716] Process: entered
13:56:51 hpnpf[12716] OpenSocket: entered
13:56:51 hpnpf[12716] OpenSocket: using 16K send buffer
13:56:51 hpnpf[12716] MakeConnection: 10.240.15.203, port 9100
13:56:51 hpnpf[12716] Error (connect): Connection refused
13:56:53 hpnpf[12716] OpenSocket: entered
13:56:53 hpnpf[12716] OpenSocket: using 16K send buffer
13:56:53 hpnpf[12716] MakeConnection: 10.240.15.203, port 9100
13:56:53 hpnpf[12716] Error (connect): Connection refused
Regards
Shibin
Bill Hassell
Honored Contributor

Re: Panasonic DP 1820 as network printer using hpnp

This printer does not understand HP's JetDirect protocol. You can verify this with the hpnpadmon command:

hpnpadmin -v 10.240.15.203

You'll have to delete the rpinter and add it back as a remote printer. You'll need to specify the remote printer's name which is hardcoded in the LAN card. You'll have to ask Panasonic about this name.


Bill Hassell, sysadmin
Shibin_2
Honored Contributor

Re: Panasonic DP 1820 as network printer using hpnp

Earlier it was configured as remote printer. The same problem, it was not working. Later changed to network printer. There was one more printer had the same problem, when configured as remote printer. But, when I changed to network printer, the other one started functioning. I guess, it must be printer side problem. Let me confirm with end user.
Regards
Shibin
Shibin_2
Honored Contributor

Re: Panasonic DP 1820 as network printer using hpnp

I have rectified the issue.. with the same options..
Regards
Shibin